cherrypy/cheetah vs twisted/nevow

Carlos Ribeiro carribeiro at gmail.com
Wed Nov 3 08:45:07 EST 2004


On Wed, 03 Nov 2004 00:39:59 +0100, bruno modulix <onurb at xiludom.gro> wrote:
> Carlos Ribeiro a écrit :
> (snip)
> > I'm yet to study nevow, but I'm getting more and more interested. I
> > have my own approach to separation; I use to think about a third
> > entity, "structure", as being independent from code & ui. The
> > structure is the common part; it's the "glue" between ui and code; and
> > it's the first part to be designed.
> 
> Err... I may have missed something obvious, but doesn't this smells like
> a good old MVC ?-)

In a way, you're right. The problem is that none of the templating
models that I know of completely separates the 'M' from the 'V'.
Simple templates (PSP, for example) tend to bundle view & parts of the
model together. There is no easy way to take them apart. The
'structure', as I call it, is not exactly a 'model' (imho the model
includes other information that belongs in the DB design, but I may be
wrong here), but it allows for a better separation.

-- 
Carlos Ribeiro
Consultoria em Projetos
blog: http://rascunhosrotos.blogspot.com
blog: http://pythonnotes.blogspot.com
mail: carribeiro at gmail.com
mail: carribeiro at yahoo.com



More information about the Python-list mailing list