Re: [Web-SIG] Pure Python HTML?

2005-04-13 Thread Martijn Faassen
Bill Janssen wrote: I don't know about you, but generating HTML with pure Python code can be messy--ONE reason why we introduce templateing languages in the first place. Often (not always) the best way to end up with XHTML is to start with a valid or almost-valid XML document and then infuse the

Re: [Web-SIG] Pure Python HTML?

2005-04-13 Thread Bill Janssen
This works for small scale projects where only a few developers are expected to know the codebase. Sure. It was a small scale example. For larger projects you'd use more abstraction layers, accessing (for example) template strings via method calls which would provide the ability to do things

Re: [Web-SIG] Pure Python HTML?

2005-04-12 Thread Bill Janssen
I don't know about you, but generating HTML with pure Python code can be messy--ONE reason why we introduce templateing languages in the first place. Often (not always) the best way to end up with XHTML is to start with a valid or almost-valid XML document and then infuse the dynamic content.