
13 Feb
2007
13 Feb
'07
8:57 p.m.
keepbal:
The code and template are separated in the PHP example,so designers can design with out too much PHP knowledge.This is actually what I want to solve.
I'd use one of the Html/XML pretty printing libraries then, xhtml: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/xhtml-3000.0.1 haxml: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/HaXml-1.13.2 hxt: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/hxt-7.1 All available on hackage.haskell.org. There's few others too, here, http://www.haskell.org/haskellwiki/Libraries_and_tools/Web_programming It should be perfectly possible to write clean code, with the presentation separated from the content. -- Don