Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Synchonizing exported html code changes with dhe
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

JazzcatCB
Practical

46 Posts

Posted - 03 Sep 2005 :  08:31:29  Show Profile  Visit JazzcatCB's Homepage  Reply with Quote
One thing I really like about Dynamic HTML Editor is how it compartmentalizes your custom code from Dynamic HTML Editor code. But I'm now discovering that this is a weakness as well.

After I've exported my html and uploaded it to my server, I often need to either debug my code or modify it. It is so much easier to debug and modify on the server rather than go through the process of changing it in Dynamic HTML Editor, exporting it, and uploading it for every little change. The problem is that my code on the server becomes out of sync with my code on Dynamic HTML Editor. So my question to other Dynamic HTML Editor users is how do you manage this? How do you keep your server code and your Dynamic HTML Editor code in sync?

s.dav
Site Admin

Italy
3364 Posts

Posted - 03 Sep 2005 :  14:22:38  Show Profile  Visit s.dav's Homepage  Reply with Quote
When I need to create server pages I use HTML objects and I put in this objects only server include istructions for example:

<!-- #INCLUDE FILE="myFile.asp" -->

Then I can export the code only a time and modify the external included .asp/.php/.jsp file (myFile.asp).

Regards, Davide
Go to Top of Page

JazzcatCB
Practical

46 Posts

Posted - 06 Sep 2005 :  05:33:46  Show Profile  Visit JazzcatCB's Homepage  Reply with Quote
quote:
Originally posted by s.dav

When I need to create server pages I use HTML objects and I put in this objects only server include istructions for example:

<!-- #INCLUDE FILE="myFile.asp" -->

Then I can export the code only a time and modify the external included .asp/.php/.jsp file (myFile.asp).



That's fine if it's an external server page, but I have a lot of server code inside my web pages (in <head>, <body>, etc). This is where the synchronization gets tricky. So far, I am using a code merge utility to compare my latest Dynamic HTML Editor exported code with my latest server code, and merging the relevant changes, and manually copying the latest server code into my Dynamic HTML Editor code. This is time consuming, and I would like to find a quicker, less labor intensive method.
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 06 Sep 2005 :  18:48:22  Show Profile  Visit s.dav's Homepage  Reply with Quote
This is a very hard feature, I'll think for a good solution

Regards, Davide
Go to Top of Page

JazzcatCB
Practical

46 Posts

Posted - 07 Sep 2005 :  06:22:17  Show Profile  Visit JazzcatCB's Homepage  Reply with Quote
Davide, it seems to me that a good solution to this problem would be to allow the importation of exported Dynamic HTML Editor code back into Dynamic HTML Editor. In order to continue compartmentalizing the developers code from Dynamic HTML Editor's code, you could create a set of Dynamic HTML Editor specific tags, such as <!-- [Dynamic HTML Editor="Top Page"] --> ...user code...<!-- [DHEEND] --> ... Dynamic HTML Editor code ... <!-- [Dynamic HTML Editor="Head"] --> ...user code...<!-- [DHEEND] --> ... Dynamic HTML Editor code ... <!-- [Dynamic HTML Editor="Top Body"] --> ...user code... <!-- [DHEEND] -->" etc. This way, you could import the original Dynamic HTML Editor code in the exact same format you exported it, and you could keep the user's code seperate in the exact same format it was exported in. Any changes made by the user external to Dynamic HTML Editor would have to remain inside the [Dynamic HTML Editor="user code"]/[DHEEND] tags. Using this method, you could import the user's code changes back into Dynamic HTML Editor.

Edited by - JazzcatCB on 07 Sep 2005 16:27:05
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000