Web tool kit : pro - cons ?

Ian Bicking ianb at colorstudy.com
Sun Jul 27 15:05:02 EDT 2003


On Sun, 2003-07-27 at 05:58, vincent_delft wrote:
> >> - My pages will be defined with "boxes".  I would like to have a tool
> >> that can manage easely such "object".
> > 
> > You mean a WYSIWYG web development IDE for Python? I don't think there's
> > such a thing.
> > 
> No.  Each part of the web page will be "boxes".  I would like to be very
> flexible and display "dynamically" some selected boxes.
> For example the same page (url) will not display the same boxes if you are
> administrator, maintener or simple viewer.
> An another example will be to have possibility to re-use existing boxes.  If
> I have a boxes displaying the last 5 news from Slashdot, I don't want to
> re-write it each time I need a new bacground color (for example). My Idea
> is to use those "boxes" like we use classes : if you need some modification
> you subclass it on the rest remains the same.

You might want to look at Cheetah, where templates are mapped to Python
classes.  This allows subclassing of templates, defining methods (e.g.,
a header method), and of course nesting templates.

  Ian







More information about the Python-list mailing list