CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Syncing CCS project and live website files

Print topic Send  topic

Author Message
lurch99

Posts: 47
Posted: 05/08/2013, 2:57 AM

Hi Folks,

I've got the following dilemma: a client likes to edit their live website files directly from an FTP client, so Code Charge Studio will simply clobber their changes when I want to update the website with CCS.

Can anyone recommend any good tools that I could use to compare the project folders (the live site, CCS project folder), then identify which files are newer, and then synchronize them in an orderly fashion?

Many thanks,

Lurch

View profile  Send private message
Lucius

Posts: 220
Posted: 05/08/2013, 10:12 AM

It's a very very bad idea to edit CCS files directly on the server, even if they are HTML template files.

It is very easy to break whole page if you remove or mangle CCS generated code/tags.

I cannot recommend any software you asked for, but I would recommend to create for this customer a separate CMS-like application, so he can edit the things he wishes. This content would be stored in the DB and displayed on the webpage.
View profile  Send private message
DataDoIT
Posted: 05/08/2013, 12:24 PM

Lucius spits the truth. You'll find that sometimes as a contractor a
client will come up with a very bad idea and try to force your square
into their round hole. In situations like that you can either walk away
or price yourself out of the situation. If they want to break it, fine.
Your fix-it rate is this. But if you try it my way, then your fix-it
rate is such-n-such.

If they want to break it (and there is a 100% chance they will), you
could use WinMerge (http://winmerge.org) as your tool for comparing
differences. You should have this application in your development tool
chest anyways.
lurch99

Posts: 47
Posted: 05/10/2013, 1:06 AM

Of course I know it's a bad idea to edit the files via FTP. And indeed it is a pain in the arse for me, too, but it's a fact of life.

The clients pay the bill.

So thanks for suggesting WinMerge, it looks promising.
View profile  Send private message
Oper


Posts: 1195
Posted: 05/10/2013, 1:39 AM

The way CCS handle HTML (template)

what you want to do is not going to happend.
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
View profile  Send private message
Lucius

Posts: 220
Posted: 05/10/2013, 5:57 AM

I don't think he realizes the issue here...

lurch99, imagine situation when your client does some change in one of the templates, he breaks something. It's subtle and it doesn't show immediately on live page (it might be for example in some hidden by default panel or control).

Now you notice that changes were done in your files and do a sync of a whole project. Now also your project files, the ones you work on, are broken !

You might open the broken edited page - then you will see that something is wrong if you try to publish. CCS will throw some error message. You might not open this page and work on another - this is worse, as you will not even know your project is broken.

Also you need to know that CCS is not very helpful when your HTML template is broken, it throws you an error which often doesn't tell you exactly what is wrong. In worst case scenario, even subtle error can mess up the page so much you will have to re-do it from scratch.

If you have some backup system, then it's little less awful, but you will have to rollback your project files and you will lose the changes done over FTP anyway and you will have to re-do your work, from the time the rollback was done.


So be warned, the choice is yours ;-)
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.