close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Maintaining old pages?

Thread began 11/10/2014 12:35 am by info4753 | Last modified 12/05/2014 9:49 am by Jason Byrnes | 1918 views | 8 replies |

info4753

Maintaining old pages?

When I start using MySQLi what's happening with the current pages when I maintain them? Will there be new code being generated automaticly? If I install Mysql, can I decide wich code has to be generated by the extension?

Sign in to reply to this post

Jolter

End user experience

I'm sure WA staff will answer this - but this is my experience as an end user.

Once you have installed the MYSQLi extension you will the be able to create MQSQLi connections, recordsets etc as shown in the tutorials.
Existing pages will not be 'converted' - but - you are able to move forward.

For example: if you have an old page using an existing (non MYSQLi) connection to a database, you can build a new page but this time specifying a MYSLQi conection to the same database.
You can then populate the new page with MYSQLi recordsets and behaviours and when it is working correctly, replace the old page.
I have done this a page at a time on an existing web site,

Of course all of the old (non MYLSQLi) extensions will still be there to use if you wish.

Sign in to reply to this post

info4753

Thanks Jolter.

What if I have to change something on the "non MYSQLi" page? For example adding a new recordset. Will that one be generated with MYSQLi code? What if I only want to have "non MYSQLi" code on an "non MYSQLi" page? Do I have to run two DW version in parallel?

What if I have an older version of php on my server. Will this new MYSQLi code work?

Sign in to reply to this post

Jason ByrnesWebAssist

You will still have the old MySQL server behaviors available to you to use for older pages.

If you use the standard server behaviors access points, it will generate MySQL code, if you use the access points for the MySQLi server behaviors, it will generate MySQLi code.

The system requirements for the mySQLi server behaviors requires php 5.2 or newer. so if you have a php version older than 5.2, no the mySQLi behaviors will not work.

Sign in to reply to this post

info4753

So if I have MySQLi installed and create a new recordset on my page MySQLi code will be generated "by default"?

If I use DA for a form, MySQL will be generated.

If the new version of DA is out, MySQLi code will be generated "by default"? Means, if I maintain an old page, I will have to recreate it, when the new version/extensions are installed?

Sign in to reply to this post

Jason ByrnesWebAssist

Originally Said By: info4753
  So if I have MySQLi installed and create a new recordset on my page MySQLi code will be generated "by default"?  


No, MySQLi code will only be generated if you use the MySQLi recordset access point.

On the server behaviors panel, click the plus button.

IF - you select Recordset - This will generate MySQL code (it is the standard DW Recordset behavior).

IF - you select web assist -> MySQLi -> Recordset - MySQLi code will be generated (this is the MySQLi recordset behavior).

Originally Said By: info4753
  If I use DA for a form, MySQL will be generated.  



Yes, this is correct

Originally Said By: info4753
  If the new version of DA is out, MySQLi code will be generated "by default"?  



No, MySQLi code will be generated if the connection you select is a MySQLi connection. If you use a MySQL connection, it will generate MySQL code.

there is no default. It is dependent on you and the selections you make. Select to use the standard MySQL connection or standard Access points, it will use standard MySQL code.

Select to use a MySQLi connection or the MySQLi access points under WebAssist -> MySQLi, it will use MySQLi code.


Originally Said By: info4753
  Means, if I maintain an old page, I will have to recreate it, when the new version/extensions are installed?  



Yes, this is correct.

Sign in to reply to this post

info4753

Thank you very much for explaining me this in detail.

Sign in to reply to this post

davegw

This was most useful - however it would be nice to put the migration process from MySQL to MySQLi in a tutorial, like the one you have on 'Getting started with MySQLi Server Behaviors'.

Sign in to reply to this post

Jason ByrnesWebAssist

Please post your tutorial suggestions to the Webinar and Tutorial Topics section of the product suggestion page here:
http://www.webassist.com/community/feedback/dashboard.php

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...