Home Login Create account Contact Help
Close

Login to your account

Other Options

Anthony Briggs's BeContrary Profile


Recent arguments by Anthony Briggs

" XHTML templates are clearer than text-based ones. " - in XML or Text for Python Templates?

" (X)HTML based templates allow you to split work between web designers and programmers. " - in XML or Text for Python Templates?

Recent comments by Anthony Briggs

" Hmm, seems pretty obvious to me, but the main reason is the amount of extra punctuation that text-based templates seem to need, combined with dropping in and out of python/HTML. In the above example (and it's deliberately a simple example), you've [...] " - in XML or Text for Python Templates?

" According to the front page of Genshi-*, it's quite capable of generating HTML 4.01, so I don't think it's such a big deal. In the worst case, you can generate xhtml, and serve it up as html-transitional : * - "Independence from a specific [...] " - in XML or Text for Python Templates?

" I'm not so sure that's such a big deal. I've found that most SQL can be dealt with using Python's normal %s interpolation - using a templating library may be overkill unless you have really massive SQL commands. " - in XML or Text for Python Templates?

" I'd disagree here, mainly on the "templates need to contain a significant amount of Python code" part. If you've got a lot of code in your template, you're doing it wrong! Also, XML and HTML are semantically fairly similar, so I'm not sure that side [...] " - in XML or Text for Python Templates?