Re: Zope vs Php

2005-11-18 Thread bruno at modulix
Mike Meyer wrote: > Jorge Godoy <[EMAIL PROTECTED]> writes: > >>Mike Meyer <[EMAIL PROTECTED]> writes: >> (snip) > > While I'm at it - how does KID do for things that aren't HTML? It doesn't. Kid is explicitely for XML/HTML templating. -- bruno desthuilliers python -c "print '@'.join(['.'.join

Re: Zope vs Php

2005-11-18 Thread bruno at modulix
Steve wrote: > I am going to go the mod_python route. > > as for why a person would go route one over route 2 > > is that the number of lines of html/output vs python code are usually > 10 to 1 and it's much easier to encapsulate the python code than to > quote and escape all the html/css/xml >

Re: Zope vs Php

2005-11-18 Thread Jorge Godoy
Mike Meyer <[EMAIL PROTECTED]> writes: > Unfortunately, my tools don't - which is another one of the things I > like about Cheetah: it doesn't interfere with my X/HTML tools. For > instance, I edit attributes by asking the editor to let me edit the > current tags attributes. It opens window with a

Re: Zope vs Php

2005-11-17 Thread Mike Meyer
Jorge Godoy <[EMAIL PROTECTED]> writes: >> While I'm at it - how does KID do for things that aren't HTML? >> Cheetah integrates with web servers, but can be used to generate >> nearly anything. I've found that using Cheetah scripts to build >> Makefiles that run Cheetah scripts to build a dynamical

Re: Zope vs Php

2005-11-17 Thread [EMAIL PROTECTED]
Jorge Godoy wrote: > Kid is for XML output. It won't work with non-HTML output... > I believe someone patches it to output plain text, thus it is possible to do "makefile" like things. I don't have such a need so don't know the detail. It can output XML as well as HTML which I believe you already

Re: Zope vs Php

2005-11-17 Thread Jorge Godoy
Mike Meyer <[EMAIL PROTECTED]> writes: > Jorge Godoy <[EMAIL PROTECTED]> writes: > > Mike Meyer <[EMAIL PROTECTED]> writes: > >> That said, I have to confess that lately I've been using Cheetah > >> templates, because the syntax for inserting values is simpler, and the > >> way Cheetah templates w

Re: Zope vs Php

2005-11-17 Thread Lars Kellogg-Stedman
> While I'm at it - how does KID do for things that aren't HTML? I've taken a brief look over the Kid documentation. It looks like Kid is in the same class of solutions as Zope's TAL (or Perl's Petal). In particular, a Kid template is always a valid XML document, so your designers can open a Kid

Re: Zope vs Php

2005-11-17 Thread Lars Kellogg-Stedman
> And finally - got a URL? This got me to the right place pretty quickly: http://www.google.com/search?q=python+kid+template -- Lars -- Lars Kellogg-Stedman <[EMAIL PROTECTED]> This email address will expire on 2005-11-23. -- http://mail.python.org/mailman/listinfo/python-list

Re: Zope vs Php

2005-11-17 Thread Mike Meyer
Jorge Godoy <[EMAIL PROTECTED]> writes: > Mike Meyer <[EMAIL PROTECTED]> writes: >> That said, I have to confess that lately I've been using Cheetah >> templates, because the syntax for inserting values is simpler, and the >> way Cheetah templates work naturally in the Python inheritance >> hierarc

Re: Zope vs Php

2005-11-17 Thread Fernando Lujan
Jorge Godoy wrote: >Mike Meyer <[EMAIL PROTECTED]> writes: > > >>That said, I have to confess that lately I've been using Cheetah >>templates, because the syntax for inserting values is simpler, and the >>way Cheetah templates work naturally in the Python inheritance >>hierarchy. >> In this arti

Re: Zope vs Php

2005-11-17 Thread Jorge Godoy
Mike Meyer <[EMAIL PROTECTED]> writes: > That said, I have to confess that lately I've been using Cheetah > templates, because the syntax for inserting values is simpler, and the > way Cheetah templates work naturally in the Python inheritance > hierarchy. KID is also nice and can be used as he w

Re: Zope vs Php

2005-11-17 Thread [EMAIL PROTECTED]
I believe Cheetah can do this kind of thing, Kid too. Personally, I like Kid more. And you can take a look at TurboGears which is a bag of tools (web server - cherrypy, template - Kid, ORM - SQLObject) glued together in a pretty nice way. Steve wrote: > We are building a web app and the our backen

Re: Zope vs Php

2005-11-17 Thread Mike Meyer
"Steve" <[EMAIL PROTECTED]> writes: > I am going to go the mod_python route. > > as for why a person would go route one over route 2 > > is that the number of lines of html/output vs python code are usually > 10 to 1 and it's much easier to encapsulate the python code than to > quote and escape al

Re: Zope vs Php

2005-11-17 Thread Steve
I am going to go the mod_python route. as for why a person would go route one over route 2 is that the number of lines of html/output vs python code are usually 10 to 1 and it's much easier to encapsulate the python code than to quote and escape all the html/css/xml Thanks for the help <% #pyth

Re: Zope vs Php

2005-11-17 Thread Bruno Desthuilliers
Steve a écrit : > We are building a web app and the our backend is currently using python > with php front end. We would like to do everything in python but php > for our front end is so easy to use. We would like to use zope on our > front end(no experience with it) can anyone provide any experi

Re: Zope vs Php

2005-11-17 Thread Peter Maas
Steve schrieb: >>From what I can tell you can't just do > <% > #python code > %> > some title > > this is what we would like to do with session support and things that > php provides? Google for "python web frame works". Most have session support, and some offer Python Code embedded in HTML (e.g

Re: Zope vs Php

2005-11-17 Thread Larry Bates
Zope doesn't really work like that. Zope page templates provide an environment that is something like you are accustomed to in php, but you can't just drop in python code. Zope is an entire application server that has a very extensive set of capabilities that are on the order of WebSphere or WebL

Zope vs Php

2005-11-17 Thread Steve
We are building a web app and the our backend is currently using python with php front end. We would like to do everything in python but php for our front end is so easy to use. We would like to use zope on our front end(no experience with it) can anyone provide any experience with this? >From w