python web programming / CMS

flupke flupke at nonexistingdomain.com
Thu Apr 22 10:11:03 EDT 2004


"Arcane" <arcane at deepfort.com> schreef in bericht
news:mailman.910.1082637637.20120.python-list at python.org...
> news.telenet.be wrote:
>
> >Hi,
> >
> >i'm looking at python to do programming for the new intranet
> >here at the company. I'm looking at plone/zope also.
> >Before, I've used jsp for webprogramming but i'm considering
> >python for this.
> >One thing that isn't clear to me is if it's possible to include python
> >code in a html page like you would do with jsp and then have zope
> >"translate" that to html. With jsp, one could use an apache/tomcat
> >combo to accomplish this.
> >If one can't include python in html, is Zope the only alternative and
> >how does code look like then?
> >
> >Thanks
> >
> >
> >
> >
> There are various ways to implement a "PSP (Python Server Pages)"-type
> setup.
>
> I don't know how well regarded it is amongst other python users - in
> fact, I'd be interested to know, but I use the
> very lightweight Spyce : http://spyce.sourceforge.net.
>
> I use Spyce-flavoured apache, in combination with python cgi stuff to
> great effect on our intranet.
>
> Hope this helps.

(saw name was misconfigured as news.telenet.be)

This seems to be doing what i want. However i have some more
questions :)

1. Am i correct in thinking i would have to add for instance FastCGI to
the Spyce install in order to get it working?

2. In jsp, i often used my own java objects in the code. Can you also do
this with Spyce? For instance, if i would have to get data from a db, i
would
make an object that implements code to do this and then create an instance
of that object in a PSP. Is this doable?

3. What databases can be accessed from Python?

Flupke






More information about the Python-list mailing list