Re: [clutch.py] Split into data and presentation?

2011-10-26 Thread Mohammad Nour El-Din
Hi... On Mon, Oct 24, 2011 at 6:20 PM, Mohammad Nour El-Din nour.moham...@gmail.com wrote: Hi...   I would suggest using some templates for each required format of output. At work, in which we are using Python on daily bases :), we are using Cheetah [1]. But I also found [2] in which they

Re: [clutch.py] Split into data and presentation?

2011-10-24 Thread Mohammad Nour El-Din
Hi... I would suggest using some templates for each required format of output. At work, in which we are using Python on daily bases :), we are using Cheetah [1]. But I also found [2] in which they claim they are lighter than [1]. Sebb... I already showed interest joining enhancing and

Re: [clutch.py] Split into data and presentation?

2011-10-19 Thread sebb
On 19 October 2011 01:18, David Crossley cross...@apache.org wrote: sebb wrote: At present, clutch.py generates the output HTML directly. To clarify for others (i know that sebb knows): It generates the whole xml into site-author, using some fragments of html that are hard-coded in the

Re: [clutch.py] Split into data and presentation?

2011-10-19 Thread Shane Curcuru
Three cheers for sebb, David, and Christian - and others - for really making amazing improvements in the incubator website! - Shane - To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org For additional commands,

[clutch.py] Split into data and presentation?

2011-10-18 Thread sebb
At present, clutch.py generates the output HTML directly. This means embedding HTML in the python code, which is awkward to read, and a bit more difficult to update. Would it be worth changing this so the python code only creates the raw data as several XML/HTML entities (like

Re: [clutch.py] Split into data and presentation?

2011-10-18 Thread David Crossley
sebb wrote: At present, clutch.py generates the output HTML directly. To clarify for others (i know that sebb knows): It generates the whole xml into site-author, using some fragments of html that are hard-coded in the clutch.py code. Anakia then generates the html page as normal. This means