I am doing some research for a Python framework to build web applications.
I have discarted Zope because from what I've read, the learning curve is
too steep, and it takes more time to build applications in general with
Zope.
I have kept the following:
- PyWork - http://pywork.sourceforge.net (Not sure if it's mature)
- Django - http://www.djangoproject.com (Looks interesting)
- CherryPy - http://www.cherrypy.org (Unsure)
I have also found a more comprehensive list here: http://wiki.python.org/moin/WebProgramming
But I'd like to know your opinion on what you think is best. The Python
framework I'll use will be to build an e-commerce application looking like
Amazon.com
I favor speed of development, intensive OO development, performance under
heavy load, short learning curve, good documentation and community.
--
Thanks,
Admin.
Want to buy me a book? http://tinyurl.com/78xzb :) 28 4651
Admin enlightened us with: But I'd like to know your opinion on what you think is best. The Python framework I'll use will be to build an e-commerce application looking like Amazon.com
I'm greatly in favour of Cheetah. Also see http://www.unrealtower.org/mycheetah. I need to put up way more
documentation & examples, but the basics are there.
Let me know what you think!
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Frank Zappa
On Sun, 17 Jul 2005 19:15:49 -0300, Sybren Stuvel
<sy*******@YOURthirdtower.com.imagination> wrote: http://www.unrealtower.org/mycheetah
"Error 404 while looking up your page AND when looking for a suitable 404
page. Sorry!
No such file /var/www/www.unrealtower.org/compiled/error404.py"
I can't express myself on Cheetah, sorry!!
--
Thanks,
Admin.
Want to buy me a book? http://tinyurl.com/78xzb :)
I really like Karrigell ( http://karrigell.sourceforge.net ).
It is, IMHO, the most pythonic framework because all you need to know
is the python language.
You don't need to learn any template or special language, you only use
plain and regular python.
It also gives you a lot of freedom when choosing a programming style:
you can code python inside html (just like in PHP or ASP) or you can
code html within python.
It also lets you map databases to objects and you can use the included
database Gadfly or any other that has a python api.
The downside: it currectly works with its built-in server, and although
you can use it alongside Apache or Xitami, there's still no way to do
it with mod_python, and as far as I know, there's no hosting providers
with Karrigell instaled.
It is being used mainly by people who run their websites from their own
computers. http://cheetahtemplate.org/
Admin wrote: On Sun, 17 Jul 2005 19:15:49 -0300, Sybren Stuvel <sy*******@YOURthirdtower.com.imagination> wrote:
http://www.unrealtower.org/mycheetah
"Error 404 while looking up your page AND when looking for a suitable 404 page. Sorry! No such file /var/www/www.unrealtower.org/compiled/error404.py"
I can't express myself on Cheetah, sorry!!
Admin enlightened us with: "Error 404 while looking up your page AND when looking for a suitable 404 page. Sorry! No such file /var/www/www.unrealtower.org/compiled/error404.py"
You must have caught me editing some stuff, try again ;-)
I really need to create another virtual host for when I want to
experiment with my scripts and stuff :D
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Frank Zappa
Admin: I have kept the following:
- PyWork - http://pywork.sourceforge.net (Not sure if it's mature) - Django - http://www.djangoproject.com (Looks interesting) - CherryPy - http://www.cherrypy.org (Unsure)
I have also found a more comprehensive list here: http://wiki.python.org/moin/WebProgramming But I'd like to know your opinion on what you think is best.
..
..
..I favor speed of development, intensive OO development, performance under heavy load, short learning curve, good documentation and community.
I settled on CherryPy:
Performance under load -- can't say one way or the other. I do know
it's lightweight -- 40kb download, I recall.
Good documentation -- yeah, if you are using the "mainstream" features.
It's pretty extensible, too, so there are some "secondary" functions
and features that are not as well documented. I know that the
documentation is a major concern of the oommunity, and that they are
pretty quick to respond when the docs are unclear.
I give CherryPy very high marks for: speed of development, intensive OO
development, short learning curve (if you already know Python), and
community. And, as I said, for extensibility.
I found I had working apps running on my machine with CherryPy in less
time than I needed to read the installation docs on some other
frameworks. It's just like writing Python, but with one extra object
(cpg (2.0) or cherrypy (2.1) and one extra setting ("exposed = True").
That's it. I'd say give it a try -- you can have it running apps and go
through the tutorials in a morning, so why not get first-hand with it?
Dnia 18 Jul 2005 04:24:12 -0700, paron napisa³(a): I favor speed of development, intensive OO development, performance under heavy load, short learning curve, good documentation and community.
I settled on CherryPy:
Performance under load -- can't say one way or the other. I do know it's lightweight -- 40kb download, I recall.
I do not know how new CherryPy 2.1 (which now can use wsgi) is fast and
stable but earler versions were quite unstable under heavy loads. Its
paradigm "creating web site like standalone appl" (inherited from Cherry1)
is not good suited to more complicated internet applications.
Much more stable and much faster is e.g. Mygty ( http://myghty.org) It is
about 2x faster then CherryPy. Also faster than CherryPy is Webware and
SkunkWeb. I did not check how fast is Django... It is fresh framework for
open source community.
--
JZ
On 18 Jul 2005, at 10:29, Cyril Bazin wrote: Hello,
I never used a web framework using Python modules, but I think cheetah, Karrigel and CherryPy are not good since they allow user to play with the HTML code. IMO, it's not pythonic but phpythonic.
Well, pretty much anything would allow that, it is more a matter of
how much they encourage it ;)
I find the cherrypy + HTML Template combination pretty resistant to
excessive HTML in the Python, or Python in the HTML.
One day when I get some time I'll have a look at Django, though I
must say the templating language looked less nice than the rest of it
on first glance, it says you don't have to use it though...
Michael
On Mon, 18 Jul 2005 08:45:22 -0300, JZ <us****@zabiello.com> wrote: Much more stable and much faster is e.g. Mygty (http://myghty.org) It is about 2x faster then CherryPy. Also faster than CherryPy is Webware and SkunkWeb. I did not check how fast is Django... It is fresh framework for open source community.
Mmmh... I really don't know which one is better :(
--
Thanks,
Admin.
Want to buy me a book? http://tinyurl.com/78xzb :)
Dnia Mon, 18 Jul 2005 09:26:10 -0300, Admin napisa³(a): On Mon, 18 Jul 2005 08:45:22 -0300, JZ <us****@zabiello.com> wrote:
Much more stable and much faster is e.g. Mygty (http://myghty.org) It is about 2x faster then CherryPy. Also faster than CherryPy is Webware and SkunkWeb. I did not check how fast is Django... It is fresh framework for open source community.
Mmmh... I really don't know which one is better :(
Django has similar aproach to Rails or Subway. Myghty is similar to
Perl::Mason. I think those two are the most matured and powerfull. (I do
not mean Zope and Plone which is specific to its own category)
--
JZ
JZ wrote: I think Django is more mature than Subway or CherryPy and can quickly become the black horse in area of pythonic frameworks.
I'm not familiar with this expression. What do you mean by "black horse"?
On Mon, 18 Jul 2005 10:06:21 -0300, Peter Hansen <pe***@engcorp.com> wrote: I'm not familiar with this expression. What do you mean by "black horse"?
That will help me too :)
--
Thanks,
Admin.
Want to buy me a book? http://tinyurl.com/78xzb :)
On Mon, Jul 18, 2005 at 09:06:21AM -0400, Peter Hansen wrote: JZ wrote: I think Django is more mature than Subway or CherryPy and can quickly become the black horse in area of pythonic frameworks. I'm not familiar with this expression. What do you mean by "black horse"?
Maybe "the Ferrari of pythonic frameworks" (black horse on yellow
background being the symbol of Ferrari).
That's what I thought of first when I tried to parse the sentence ;-)
-- Gerhard
--
Gerhard Häring - gh@ghaering.de - Python, web & database development
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFC2633dIO4ozGCH14RAmnqAJ4qCMBjzt0IkHU92yevtT XrxJbg5ACfYB/R
7zggzVTEC00QlpUn1pnwJ0c=
=Z6x0
-----END PGP SIGNATURE-----
Dnia Mon, 18 Jul 2005 09:06:21 -0400, Peter Hansen napisa³(a): I think Django is more mature than Subway or CherryPy and can quickly become the black horse in area of pythonic frameworks.
I'm not familiar with this expression. What do you mean by "black horse"?
I meant "dark horse". Sorry for confusion. :)
--
JZ
Gerhard Haering wrote: On Mon, Jul 18, 2005 at 09:06:21AM -0400, Peter Hansen wrote:I'm not familiar with this expression. What do you mean by "black horse"?
Maybe "the Ferrari of pythonic frameworks" (black horse on yellow background being the symbol of Ferrari).
I know there are "black sheep" in some families, and "dark horse
candidates". Also yellow-bellied sapsuckers. There's a "black horse"
fish in the Mississippi valley (also, quite coincidentally, of the
sucker family). Not entirely sure that was the intended connotation. :-)
-Peter
Peter Hansen wrote: Gerhard Haering wrote: On Mon, Jul 18, 2005 at 09:06:21AM -0400, Peter Hansen wrote:I'm not familiar with this expression. What do you mean by "black horse"?
Maybe "the Ferrari of pythonic frameworks" (black horse on yellow background being the symbol of Ferrari).
I know there are "black sheep" in some families, and "dark horse candidates". Also yellow-bellied sapsuckers. There's a "black horse" fish in the Mississippi valley (also, quite coincidentally, of the sucker family). Not entirely sure that was the intended connotation. :-)
-Peter
I'm used to make those mistakes too...
This mailing list taught me more English than Python for sure.
I read the expression "Dark horse contender" many times, and i guess it
has some reminiscence from medieval times and the cavalry stories.
It meaning is something like the "unknown that could be the new champ",
someone intriguing and mysterious who doesn't unveil its skills untill
showtime. Am I right?
Cheers,
Luis
Luis M. Gonzalez wrote: Peter Hansen wrote:
Gerhard Haering wrote:
On Mon, Jul 18, 2005 at 09:06:21AM -0400, Peter Hansen wrote:
I'm not familiar with this expression. What do you mean by "black horse"?
Maybe "the Ferrari of pythonic frameworks" (black horse on yellow background being the symbol of Ferrari).
I know there are "black sheep" in some families, and "dark horse candidates". Also yellow-bellied sapsuckers. There's a "black horse" fish in the Mississippi valley (also, quite coincidentally, of the sucker family). Not entirely sure that was the intended connotation. :-)
-Peter
I'm used to make those mistakes too... This mailing list taught me more English than Python for sure. I read the expression "Dark horse contender" many times, and i guess it has some reminiscence from medieval times and the cavalry stories. It meaning is something like the "unknown that could be the new champ", someone intriguing and mysterious who doesn't unveil its skills untill showtime. Am I right?
Cheers, Luis
You're right on!.
Colin W.
Zope 3, far and away. There's great documentation, quite a few load
handling options (different types of caching and ZEO to distribute ZODB
caches to multiple machines). Zope 3 aggressively favors small
cooperating objects (Zope 2 was inheritance heavy, making
customization, extension, etc, a big chore). There are two books in
print already and it's quite mature already.
Don't discard Zope 3 becaue of what you've heard about Zope 2. Zope 3
is a very different animal.
On Mon, 18 Jul 2005 16:21:37 -0300, Jeff Shell <eu*********@gmail.com>
wrote: Don't discard Zope 3 becaue of what you've heard about Zope 2. Zope 3 is a very different animal.
Are Zope 3's learning curve + speed of development a lot faster than
previous versions?
--
Thanks,
Admin.
Want to buy me a book? http://tinyurl.com/78xzb :)
Luis M. Gonzalez wrote: I read the expression "Dark horse contender" many times, and i guess it has some reminiscence from medieval times and the cavalry stories. It meaning is something like the "unknown that could be the new champ", someone intriguing and mysterious who doesn't unveil its skills untill showtime. Am I right?
My understanding is that it is a horse-racing phrase. Some unprincipled
racers would dye a horse to disguise him and get better odds. Obviously
this only works to make a horse darker. A "dark horse" is an unknown
quantity -- the phrase is usually only applied to horses that show well
without the normal track record preceding that success.
--Scott David Daniels Sc***********@Acm.Org
Admin wrote: I am doing some research for a Python framework to build web applications. I have discarted Zope because from what I've read, the learning curve is too steep, and it takes more time to build applications in general with Zope.
I've heard many good things about Zope 3, although nightmares of Zope 2
still haunt me.... :)
I have kept the following:
- PyWork - http://pywork.sourceforge.net (Not sure if it's mature) - Django - http://www.djangoproject.com (Looks interesting)
Some thoughts on Django that I agree with: http://griddlenoise.blogspot.com/200...off-rails.html
But I'd like to know your opinion on what you think is best. The Python framework I'll use will be to build an e-commerce application looking like Amazon.com
Amazon.com is built on HTML::Mason, maybe a Python version of it is in
order? Mason has been ported to Python and is called Myghty. It's had
several significant additions as well allowing for a clear MVC
development style with more advanced URL resolving abilities. This
framework runs our company's site (www.parachute.com), and has been
operating under heavy load for quite a few months now without an issue.
I favor speed of development, intensive OO development, performance under heavy load, short learning curve, good documentation and community.
No Python framework has a "huge" community except for Zope. All the
Python frameworks that are under active development typically have very
responsive and helpful support from my experience.
For ease of development and maximum re-use of code, I'd suggest Myghty
coupled with a database ORM like SQLObject (my favorite) and some other
libraries to help you quickly deal with common tasks like form
validation (formencode).
CherryPy is also a very capable framework, so I'd keep it on your list
as well, and maybe check out Subway which utilizes CherryPy, SQLObject,
and Cheetah.
Cheers,
Ben
On 2005-07-17, Admin <me@privacy.net> wrote: I favor speed of development, intensive OO development, performance under heavy load, short learning curve, good documentation and community.
I like the design of nevow (nevow.com), but I don't have any practical
experiences with other frameworks. The documentation is not very good, but
folks on IRC have been helpful.
Dave Cook
Hi,
I have also been looking around to start web development.
Almost everybody says - "Zope ooooh steep learning curve", so looking
at alternatives. But to people have got past that curve. Is Zope worth
it.
My applications would be data entry heavy. Think inventory and accounting apps.
Would going past the learning curve allow me to write applications like that.
--
Dark Cowherd
Dark Cowherd wrote: My applications would be data entry heavy. Think inventory and accounting apps.
Would going past the [Zope] learning curve allow me to write applications like that.
You might want to look at Zope 3, there are several niceties for
automatically (or semi-automatically if you prefer) generating input
forms, validating them, applying the results to an object, etc.
--
Benji York This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Stephen C. Waterbury |
last post by:
This seems like it ought to work, according to the
description of reduce(), but it doesn't. Is this
a bug, or am I missing something?
Python...
|
by: ketulp_baroda |
last post by:
i am developing a web application and i am really confused on what should i use.
should i use just python and use the cgi module availabe.
Or...
|
by: mike |
last post by:
hi all -
i'm fairly new to python, coming from a java servlet / velocity template
background. i'm looking for a good python web development...
|
by: Reed L. O'Brien |
last post by:
I see rotor was removed for 2.4 and the docs say use an AES module
provided separately... Is there a standard module that works alike or
an AES...
|
by: UhihaJax |
last post by:
I've never had time to catagorically go through them all so I'm just interested in finding out what namespaces people think are cool and why.
My...
|
by: emrahayanoglu |
last post by:
Hello Everyone,
Now, I'm working on a new web framework. I tried many test on the other
programming languages. Then i decided to use python on my...
|
by: Anastasios Hatzis |
last post by:
Hello,
I'm working on the light-weight MDA tool pyswarm,
http://pyswarm.sourceforge.net/ (it is about a code-generator for...
|
by: pbmods |
last post by:
A somewhat obscure hack has emerged recently that is an offshoot of the now-infamous XSS.
It is known as Cross-Site Request Forgery, or XSRF for...
|
by: xahlee |
last post by:
Here's a little tutorial that lets you write emacs commands for
processing the current text selection in emacs in your favorite lang.
Elisp...
|
by: Kemmylinns12 |
last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
|
by: jalbright99669 |
last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
|
by: antdb |
last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine
In the overall architecture, a new "hyper-convergence" concept was...
|
by: Matthew3360 |
last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function.
Here is my code.
...
|
by: AndyPSV |
last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
|
by: Arjunsri |
last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
|
by: WisdomUfot |
last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
|
by: BLUEPANDA |
last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...
|
by: Rahul1995seven |
last post by:
Introduction:
In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python...
| |