This tends to be most useful as if you do put anything other than a few variables an html in templates designers tend to break it/not understannd it/mash it with a graphical html editor. with html I think there are 2 real life approaches
1. You give them(designers) very basic templates to add their graphics and html to.
2. They give you a design and you plug it in (more work for programmer but less chance of having to fix things)
Generally if you mix code and html it's a lot harder for the designer than if you give them a template.
As for XML and XSLT thats probably the way forward but I ain't tried it yet. In general I don't think designers should be able to see any of the presentation logic or affect any html that the appliocation is dependent on. This is especially dependent on the knowledge of the designer and mainly true if designers don't understand javascript or html forms. Interesting how many diff ways to do this kind of thing seem to emerge.2006-06-21 Retitled by holli, as per Monastery guidelines
Original title: 'Separation'
In reply to Separation of Presentation and Application/Business Logic
by hakkr
in thread the trend of the presentation layer driving application logic
by princepawn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |