![]() |
Sergey Kornilov admin 6/11/2012 |
You have mentioned two different processes here. Let me explain the difference. |
R
|
rstackhouse author 6/11/2012 |
You have mentioned two different processes here. Let me explain the difference. 'Database sync' option in PHPRunner synchronizes changes in database structure with project itself. If you change database structure outside of PHPRunner do database sync so PHPRunner can pick new fields and drop old ones. You can also proceed to Project->Settings and choose to synchronize project and database automatically on each project load. Synchronization of local and remote databases is a different story. This needs to be done outside of PHPRunner. Many database management programs can do that. More info: http://stackoverflow.com/questions/876731/how-to-compare-mysql-database-schemas |
R
|
rstackhouse author 6/11/2012 |
Ok.. thanks.. so sync is really to bring PHPRunner up to date.. and its not required for when you modify the table inside PHPrunner in the first place. Understood. |
P
|
procheck 6/13/2012 |
Ok.. thanks.. so sync is really to bring PHPRunner up to date.. and its not required for when you modify the table inside PHPrunner in the first place. Understood. Now.. at output... I assume some file contains the host, password and port etc... If I "build" for my local machine.. and then ftp the results to the server.. Did I have to change the database? Does that mean that the change of database now makes my local env try to read the remote/live database? The output panel holds some confusion for me.. Since you can select your build target (which I do local) and database, which I keep at local.. then ftp the files up to the live server.. Its unclear to me and a little ambiguous to me if I have to change the database, build then ftp or leave it, etc.. Therefore right now I build more often An added issue is if I build All and/or ftp all files. When there's confusion.. Its better to do more than less file copying.. and I'm trying to understand the finesse of phprunner.
|
R
|
rstackhouse author 6/13/2012 |
good discussion.. |
P
|
procheck 6/13/2012 |
You're only generating the code that you've created with PHPRunner which includes your custom changes. The only thing which requires testing is what is affected by your changes. Now a table change can potentially touch many screens but I would think that is more of a design issue. PHPRunner will only do incremental changes if that's what you require. I think the best thing for you to do play with a test application locally & remotely and make small changes to see how it works. |