472,965 Members | 2,306 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,965 software developers and data experts.

Choosing the right framework

Oh how often this subject may come up...

The thing is, I've come to the decision of abandoning PHP as much as
possible (old projects still remain...), and use Python for all purposes.
Reason: One language to fit it all (instead of having one language for
webprogramming, one for batches, etc...)

I stand now at the point where I must choose a framework for my web
application development. I've skimmed a few: mod_python, pso and Zope.
However, I cannot decide on which to choose.

I've read descriptions and comments on
http://www.python.org/cgi-bin/moinmoin/WebProgramming to get other's
opinions. The user comments are sparse though, so I've decided to ask here.

I like the ideas behind Zope. For instance the "long running process"
feature that improve performance and retain scripts between requests, among
other things. I do not, however, like the design of the management
interface, it would not appeal to my customers. I'm not yet knowledgable
enough about Zope, to know if this can be changed. Anyone who can elaborate?
(MaxM don't answer "Plone"... ;-)

mod_python seems the choice, if I want the feature of retaining scripts in
memory between requests and want to write my own managemen interface. I
don't know, if it allows for application variables (variables shared
globally between sessions).

pso looks like the framework that is easiest to deploy. If run under
mod_python, it also retains scripts in memory, but does it allow for the
aforementioned application variables? And does the performance match up
compared to mod_python and Zope?

It'll probably be run behind an Apache httpd server, so I guess Twisted is
out of the question.

What is your preferred framework? And why?

To those who would ask "What do you want to do with it", the answer is:
General purpose web application development. Porting (enhancing) of my
existing CMS (built in PHP - it's badly in need of a rewrite, so the time is
right for changing to Python).

I am to start on a new web project in the beginning of next week, and I
would like to use this opportunity to make the switch from PHP to Python.
Which is why I ask and don't just spend 2+ more weeks to dig further into
the above mentioned frameworks before making the decision.

- Carsten
Jul 18 '05 #1
9 2017
Carsten Gehling wrote:
Oh how often this subject may come up...

The thing is, I've come to the decision of abandoning PHP as much as
possible (old projects still remain...), and use Python for all purposes.
Reason: One language to fit it all (instead of having one language for
webprogramming, one for batches, etc...)


Where do you want to store your data? [relational database, text files,
ZODB, Berkley DB, pickles, ...]

If you don't need ZODB (object database), I would not use Zope.

I would use quixote.

thomas
Jul 18 '05 #2
Thomas Güttler wrote:

Carsten Gehling wrote:
Oh how often this subject may come up...

The thing is, I've come to the decision of abandoning PHP as much as
possible (old projects still remain...), and use Python for all purposes.
Reason: One language to fit it all (instead of having one language for
webprogramming, one for batches, etc...)


Where do you want to store your data? [relational database, text files,
ZODB, Berkley DB, pickles, ...]

If you don't need ZODB (object database), I would not use Zope.


Even if you want ZODB, you can always use the standalone one, and still
skip Zope, if that's what you want.
Jul 18 '05 #3
On Wed, 16 Jul 2003 14:54:16 +0200, Carsten Gehling paused, took a deep
breath, then came out with:
Oh how often this subject may come up...

The thing is, I've come to the decision of abandoning PHP as much as
possible (old projects still remain...), and use Python for all purposes.
Reason: One language to fit it all (instead of having one language for
webprogramming, one for batches, etc...)

I stand now at the point where I must choose a framework for my web
application development. I've skimmed a few: mod_python, pso and Zope.
However, I cannot decide on which to choose.


I've been working on an HTML generation framework called 'pyWeb'. Just
posted to this ng yesterday, calling for testers.

You might like to visit http://www.freenet.org.nz/python/pyweb and have a
look.

Cheers
David

Jul 18 '05 #4
David McNab wrote:

I've been working on an HTML generation framework called 'pyWeb'. Just
posted to this ng yesterday, calling for testers.

You might like to visit http://www.freenet.org.nz/python/pyweb and have a
look.

David, I had to post instead of reply, since you of course have
hidden your email address. I hope you get this.

You are using the refuse.com domain for your fake address. This
is very inappropriate, as that is a real domain for a real company.

Please switch to the proper approach: append ".invalid" to your
address. This is the *defined* way to form a domain name which
is guaranteed to be invalid.

-Peter
Jul 18 '05 #5
Carsten Gehling wrote:

I like the ideas behind Zope. For instance the "long running process"
feature that improve performance and retain scripts between requests, among
other things. I do not, however, like the design of the management
interface, it would not appeal to my customers. I'm not yet knowledgable
enough about Zope, to know if this can be changed. Anyone who can elaborate?
(MaxM don't answer "Plone"... ;-)

Have you thought about running Python under .asp ?? I have made a few
medium sized projects that way, and after aligning my methods to using
Python in combination with .asp it was quite good.

Another thing. If you find Plone to be too specific, you could just
plain cmf.

But it is quite easy to rewrite the interface of a Zope product.

Even though Zope and especially Plone are hard to get into they buy you
a lot of leverage. And you are competing with people who do know Zope/Plone.
regards Max M

Jul 18 '05 #6
On Wed, 16 Jul 2003 19:35:00 -0400, Peter Hansen paused, took a deep
breath, then came out with:
You are using the refuse.com domain for your fake address. This
is very inappropriate, as that is a real domain for a real company.


OK - thx for pointing this out to me.

I've changed my posted email address to something I consider far more
appropriate.

Cheers

Jul 18 '05 #7
On Wed, 16 Jul 2003 14:54:16 +0200, Carsten Gehling paused, took a deep
breath, then came out with:
Oh how often this subject may come up...

The thing is, I've come to the decision of abandoning PHP as much as
possible (old projects still remain...), and use Python for all purposes.
Reason: One language to fit it all (instead of having one language for
webprogramming, one for batches, etc...)

I stand now at the point where I must choose a framework for my web
application development. I've skimmed a few: mod_python, pso and Zope.
However, I cannot decide on which to choose.
I've been working on an HTML generation framework called 'pyWeb'. Just
posted to this ng yesterday, calling for testers.

You might like to visit http://www.freenet.org.nz/python/pyweb and have a
look.

Cheers
David

I've read descriptions and comments on
http://www.python.org/cgi-bin/moinmoin/WebProgramming to get other's
opinions. The user comments are sparse though, so I've decided to ask here.

I like the ideas behind Zope. For instance the "long running process"
feature that improve performance and retain scripts between requests, among
other things. I do not, however, like the design of the management
interface, it would not appeal to my customers. I'm not yet knowledgable
enough about Zope, to know if this can be changed. Anyone who can elaborate?
(MaxM don't answer "Plone"... ;-)

mod_python seems the choice, if I want the feature of retaining scripts in
memory between requests and want to write my own managemen interface. I
don't know, if it allows for application variables (variables shared
globally between sessions).

pso looks like the framework that is easiest to deploy. If run under
mod_python, it also retains scripts in memory, but does it allow for the
aforementioned application variables? And does the performance match up
compared to mod_python and Zope?

It'll probably be run behind an Apache httpd server, so I guess Twisted is
out of the question.

What is your preferred framework? And why?

To those who would ask "What do you want to do with it", the answer is:
General purpose web application development. Porting (enhancing) of my
existing CMS (built in PHP - it's badly in need of a rewrite, so the time is
right for changing to Python).

I am to start on a new web project in the beginning of next week, and I
would like to use this opportunity to make the switch from PHP to Python.
Which is why I ask and don't just spend 2+ more weeks to dig further into
the above mentioned frameworks before making the decision.

- Carsten


Jul 18 '05 #8
David McNab schrieb:
I've been working on an HTML generation framework called 'pyWeb'. Just
posted to this ng yesterday, calling for testers.


looks good. But the online documentation links are broken.

Mit freundlichen Gruessen,

Peter Maas

--
-------------------------------------------------------------------
Peter Maas, M+R Infosysteme, D-52070 Aachen, Hubert-Wienen-Str. 24
Tel +49-241-93878-0 Fax +49-241-93878-20 eMail pe********@mplusr.de
-------------------------------------------------------------------

Jul 18 '05 #9
David McNab <pl****************@riaa.org> writes:
I've changed my posted email address to something I consider far more
appropriate.


I don't think riaa has a user 'plenty_of_messages'... Why not try
something like we*******@riaa.org or sa***@sco.com?

--
Ville Vainio http://www.students.tut.fi/~vainio24
Jul 18 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Carsten Gehling | last post by:
> -----Oprindelig meddelelse----- > Fra: python-list-admin@python.org > På vegne af David McNab > Sendt: 17. juli 2003 01:32 > Til: python-list@python.org > Emne: Re: Choosing the right...
11
by: Jean de Largentaye | last post by:
Hi, I need to parse a subset of C (a header file), and generate some unit tests for the functions listed in it. I thus need to parse the code, then rewrite function calls with wrong parameters....
13
by: nospam | last post by:
DEAR MICROSOFT: WOULD YOU PLEASE put up a web page showing the price list of EXPECTED COSTS for MOM & POP when choosing between MySql/PHP and .NET. FIRST: Show INITIAL COSTS for like a 5-10...
0
by: John | last post by:
Anyone know the web.config setting for choosing what version of the framework to use in an application (1.0 or 1.1)? John
2
by: shesh | last post by:
Hi All, I need your advice, since I'm a programmer of windows forms for some times, but never had any real experience in web applications. I need to design a new system for web purposes, but I...
2
by: asnowfall | last post by:
I am new to web technologies. Pls clarify these basic doubts. When there are mutliple ASP version installed on the same machine there will be corresponding directories under...
4
by: Madi | last post by:
Dear all, Im in a confusion about choosing a job offer.Right now im working in ..Net 3.0 components(Workflows,WCF),asp.net 2.0 webparts and all.Im having a good exposure here but with a very...
19
by: hansBKK | last post by:
Upfront disclaimer - I am a relative newbie, just starting out learning about PHP, mostly by researching, installing and playing with different scripts. I am looking for a host that will provide...
3
by: Stefano | last post by:
Hello, I would like to learn a PHP5 framework: I found many but I'm a little confused: which could be "the right one"? I need a good community and an easy to use solution to implement medium...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.