This topic is locked

Incremental Project Development

3/19/2010 1:10:11 PM
PHPRunner General questions
R
rgfischerjr author

I have been pondering this for a while so I thought I'd seek some advice...
I have developed a robust database that will support several functions within the company. I have developed and published the first 'installment' on the website, which is the basic information internal to our operations. This first installment only utilizes about 15% of the tables in the database.
I now want to start expanding the site by adding functionality in 'installments'. Each additional installment will expand the utilization of the tables in the database, building on the pieces already in place. I thought the way to do this was using templates - create a template, merge it into the existing project. Seems the templates being merged want to add the tables to the database - but they already exist since they were created initially. I don't really want to rebuild the entire project each time and take a chance on something breaking - simply add the new pages and update the menu to reflect the new options.
Is there a 'best practice' for doing this?
Thanks!

R
rgfischerjr author 3/23/2010

Wow.. nobody has any thoughts on this?

Sergey Kornilov admin 3/23/2010

Sorry, don't understand what kind of issue you trying to solve. I don't see a problem rebuilding the whole project. If existing pages/files hasn't changed - you don't have to upload them anyway.

R
rgfischerjr author 3/23/2010



Sorry, don't understand what kind of issue you trying to solve. I don't see a problem rebuilding the whole project. If existing pages/files hasn't changed - you don't have to upload them anyway.


I may be over thinking this - but - I asked a question about only uploading menu files if the menu was changed and the response was that all files had to be uploaded - so I assumed this applied to all changes.
I would prefer to only upload changed files - and I see on the FTP upload screen there is an option to upload changed files only. What are the benchmarks for determining what has changed - are the files on the FTP site compared the current build? Is the comparison by file size (I notice the file sizes are slightly different after uploading for some reason) or is it byte to byte? Date? I guess the short question is how do I ensure that I am uploading all the changes - but only the changes?

Sergey Kornilov admin 3/23/2010

PHPRunner calculates a control sum of each file (CRC32) and stores it internally in the project file. Even if single byte changes CRC will be different and file will be uploaded (it assumes you always upload it to the same FTP location). No action is required on your side - simply choose this option and let it do the job.