|
Re: creating templates for page fragments?: msg#00018java.enhydra.xmlc
Hi David, there are serveral approaches to your problem, which we have too. 1. the one you are describing, combining the fragments at runtime (disadvantage is that you have to code that in your app for each wifget, and the fragements by themselves are more difficult to develop because to view the hole page you need to run the application) 2. use the Server side include functionality of XMLC, which I actually never used so I just can point you to the manual. 3. (my favorite) For static HTML the HTML designer have a mechanism in place to deal with these snippets already (some use ASP tags inside their snippets, and when they want to deploy the site, they generate every page). The thing I like about XMLC is that the HTML designer can work as if it was an static HTML. Many tools (for HTML designers) already have these kind of functionality, they can just use that. So they have a set of fragments and produce the whole site as if it was static, then XMLC compiles those pages. 4. (for compeletness) In actual projects it happens, that the HTML is redundantly maintained. :-( If someone else has a diferent method, please pitch in... Arno David Michaels wrote: It could be argued that (in some cases) XMLC requires more effort vs. writing classes to render commonly used UI elements. For instance, if the same exact list widget appears on a dozen pages, the XMLC approach would require the UI designer to mockup that same list on each page in which it will appear.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | suppress element on one table row only?, David Michaels |
|---|---|
| Next by Date: | Re: suppress element on one table row only?, Arno Schatz |
| Previous by Thread: | creating templates for page fragments?, David Michaels |
| Next by Thread: | Re: creating templates for page fragments?, Jacob Kjome |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |