Re: HTML Templates (Sitemesh/Tiles concept) in Python

2006-10-24 Thread metaperl
Suren wrote: > It seems error prone as well as bad design to scatter this logic in > each content page. Is there a template logic like Sitemesh or Tiles > concept that can decorate a desired page just before show time? > Suren, you are looking for push-style templating. I list a number of alter

Re: HTML Templates (Sitemesh/Tiles concept) in Python

2006-10-23 Thread grahamd
Suren wrote: > > Python with ? CGI ? FastCGI ? mod_python ? Other ? > > We are using mod_python and SSI. We are inheriting some legacy code > that we do not want to mess with at all. If you are already using SSI for basic page composition using 'include virtual', it may be of interest for you to k

Re: HTML Templates (Sitemesh/Tiles concept) in Python

2006-10-23 Thread bruno de chez modulix en face
Suren a écrit : > > Python with ? CGI ? FastCGI ? mod_python ? Other ? > > We are using mod_python and SSI. > > We are inheriting some legacy code > that we do not want to mess with at all. Ok. > > You shouldn't - unless this is an internal web-based application, not a > > public site. Since yo

Re: HTML Templates (Sitemesh/Tiles concept) in Python

2006-10-23 Thread Suren
> Python with ? CGI ? FastCGI ? mod_python ? Other ? We are using mod_python and SSI. We are inheriting some legacy code that we do not want to mess with at all. > You shouldn't - unless this is an internal web-based application, not a > public site. Since your dynamically generating the pages,

Re: HTML Templates (Sitemesh/Tiles concept) in Python

2006-10-23 Thread Bruno Desthuilliers
Suren wrote: > Hello, > > I am a newbie to python and web development. I am part of a fairly > simple project and we are trying to identify an efficient way to design > our html pages. The technologies at our disposal are javascript, html > and python for now. Python with ? CGI ? FastCGI ? mod_py