On Apr 19, 2007, at 4:00 PM, Shannon -jj Behrens wrote: > I'll throw out another +1 for Genshi! > > In my 7 years as a Web developer, I've come to strongly believe that > designers should give me HTML and CSS to show me how things should > look, and I should be in charge of HTML and CSS in the application > itself. Designers don't understand the don't repeat yourself > principle. Most of them don't really even understand CSS. If you > want to stay agile and be able to change your look and feel quickly, > you're better off taking an engineering approach to the templating. > Avoid repeating yourself, even in the HTML and CSS!
To add some oil to the fire... I'd also like to toss out the suggestion that maybe programmatically generating all HTML is a good approach. This was put forward multiple times at Web 2.0 Expo in various talks by Avi Bryant. The case is pretty simple: 1) The days of HTML being the sole factor for how an app looks is over with CSS 2) HTML should be very limited and mostly semantic in structure 3) All design should be done at the CSS level, with programmers only occasionally needing to change HTML for appropriate classes/ids 4) Thus HTML should be made by the programmer, in accordance with a layout the designer wants, while the designer focuses on CSS So if you're looking for programmatic generation and would like to try out this approach, I believe you'd want Breve or one of the Stan type templating languages. Dabbledb is built entirely with programmatic HTML generation, with the designers doing their part through CSS. I should stress something else Avi said, which is to not just have programmers tossing out chunks of HTML with the assumption that designers and CSS can do the rest. The 'normal' flow of design -> finished product should still be followed, ie: 1) Mock-up and/or design of the page and its parts 2) Graphics and HTML structure of the page decided Then, programmers make the code that throws out the HTML, while designers work with CSS. Will that work for everything? Probably not, but its definitely an approach that should be considered. Cheers, Ben --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
