Re: python web programming / CMS

From: Michael Hudson (mwh_at_python.net)
Date: 04/23/04


Date: Fri, 23 Apr 2004 11:29:12 GMT


"flupke" <flupke@nonexistingdomain.com> writes:

> "Michael Hudson" <mwh@python.net> schreef in bericht
> news:m3fzavnfy3.fsf@pc150.maths.bris.ac.uk...
>
> > You can certainly do dynamic content with Zope/Plone, using Page
> > Templates and TAL and Scripts (Python) and so on (indeed, quite a
> > large portion of Plone is a collection of Page Templates and Python
> > scripts). It's probably possible to use Plone and Spyce at the same
> > time, but I can't see why you'd want to.
>
> The reason why i would want to use Plone and Spyce is that Spyce
> provides an easy way to include/embed python code in a html file like
> one would do with a jsp page.
> I don't think that Plone supports something like that or at least not
> that nice but i could be wrong.

That's what Page Templates are! Ish. Well, Page Templates solve the
same problem, though you're encouraged to put significant logic in
Python scripts which you call from the template. I happen to agree
with the designers of Page Templates that this is a very good idea; I
guess others might differ.

Cheers,
mwh

-- 
  I have long since given up dealing with people who hold idiotic
  opinions as if they had arrived at them through thinking about
  them.                                 -- Erik Naggum, comp.lang.lisp


Relevant Pages

  • Re: python web programming / CMS
    ... > process pages with embedded Python through modpython or Spyce? ... large portion of Plone is a collection of Page Templates and Python ...
    (comp.lang.python)
  • Re: Why I love Python: More rambling...
    ... numerical work. ... The python runs faster! ... optimized, and tackles head-on the problem I was avoiding with the templates, ...
    (comp.lang.python)
  • best way to host a membership site
    ... I know this is potentially off-topic, but because python is the ... think of it as "member X owns item A,B,C and gave comments on A such ... recommendation system similar to Netflix's movie recommendations, ... I've used PLONE before, but back then I ...
    (comp.lang.python)
  • Re: Invoking Python from Python
    ... >>Once I had to maintain lisp code which stored its data in lisp code, ... Python can do a lot of things directly that other languages might ... templates are generally more maintainable than the raw python - even ... and python classes can inherit from them. ...
    (comp.lang.python)
  • Re: Invoking Python from Python
    ... >cheetah templating system works by creating Python programs from the ... >templates are generally more maintainable than the raw python - even ... >use inheritance - they can inherit from each other, ...
    (comp.lang.python)