Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Web framework

Reply
Thread Tools

Web framework

 
 
Gianluca Sartori
Guest
Posts: n/a
 
      03-09-2005
Hi guys,

What web framework do you suggest to develop with? I had a look both at
Nevow and Quixote. These seemes to be the most appreciated by the
community. Anyway, I had no luck looking for a complete and coherent
documentation.

Thanks for any suggestion,
Gianluca

 
Reply With Quote
 
 
 
 
dowskimania@gmail.com
Guest
Posts: n/a
 
      03-09-2005
Gianluca Sartori wrote:
> Hi guys,
>
> What web framework do you suggest to develop with?


I really like CherryPy. It has a very intuitive design. A "directory"
is an object and the "files" in it are methods. URL variables are
passed as arguments to the methods. The CherryPy site has a good
tutorial and some examples that should get you up and running fairly
quickly.

http://www.cherrypy.org

> Thanks for any suggestion,
> Gianluca


Hope this helps.

Christian

 
Reply With Quote
 
 
 
 
Jeff Reavis
Guest
Posts: n/a
 
      03-09-2005
You may also want to look at Spyce. It is similar to JSP,PHP, or ASP.
There are some good docs and examples at the site.

http://spyce.sourceforge.net/

-jjr

 
Reply With Quote
 
Fred Pacquier
Guest
Posts: n/a
 
      03-09-2005
"Gianluca Sartori" <> said :

> Hi guys,
> What web framework do you suggest to develop with? I had a look both at
> Nevow and Quixote. These seemes to be the most appreciated by the
> community. Anyway, I had no luck looking for a complete and coherent
> documentation.


Snakelets is nice, clean, simple to get started, and well documented.
Karrigell is about in the same league. CherryPy is a step above (all IMO of
course).

--
YAFAP : http://www.multimania.com/fredp/
 
Reply With Quote
 
Phil Jackson
Guest
Posts: n/a
 
      03-09-2005
"Gianluca Sartori" <> writes:

> What web framework do you suggest to develop with?


I tend to use mod_python.

Phil
 
Reply With Quote
 
Gianluca Sartori
Guest
Posts: n/a
 
      03-10-2005
Hi Christian, thanks for your replay. I gave a quick look at cherryPy
too, but I had the impression it wasn't enought to be used in a real
world contest. What about performances? Can I safely consider it to
develop an Intranet/Extranet? My main concern is with scalability. What
will happend if my user-base will grow? What if I had to add web
services interface (say XML-RPC or SOAP) to my application? Can I do it
in a second time without spending too much time/money?

Thanks,
Gianluca

 
Reply With Quote
 
Tim Jarman
Guest
Posts: n/a
 
      03-10-2005
Gianluca Sartori wrote:

> Hi Christian, thanks for your replay. I gave a quick look at cherryPy
> too, but I had the impression it wasn't enought to be used in a real
> world contest. What about performances? Can I safely consider it to
> develop an Intranet/Extranet? My main concern is with scalability. What
> will happend if my user-base will grow? What if I had to add web
> services interface (say XML-RPC or SOAP) to my application? Can I do it
> in a second time without spending too much time/money?
>
> Thanks,
> Gianluca


Hi Gianluca,
In what respects do you think CherryPy falls short? There are some nice
performance stats on the CherryPy wiki (look under the FAQ) and in any case
you can run it behind Apache. It handles XML-RPC out of the box - not sure
about SOAP, but the design is sufficiently modular to add that in if
required. There are real-world sites using it in production; again, check
out the wiki.

HTH,
Tim

--
Website: www DOT jarmania FULLSTOP com
 
Reply With Quote
 
Carlos Ribeiro
Guest
Posts: n/a
 
      03-10-2005
On 10 Mar 2005 03:30:28 -0800, Gianluca Sartori <> wrote:
> Hi Christian, thanks for your replay. I gave a quick look at cherryPy
> too, but I had the impression it wasn't enought to be used in a real
> world contest. What about performances? Can I safely consider it to
> develop an Intranet/Extranet? My main concern is with scalability. What
> will happend if my user-base will grow? What if I had to add web
> services interface (say XML-RPC or SOAP) to my application? Can I do it
> in a second time without spending too much time/money?


Far from true A few data points (taken from
http://www.cherrypy.org/wiki/CherryPySpeed):

- In 99% of the cases, the answer is "this depends on your actual
application code, not on CherryPy itself".

- CherryPy averages 429 requests/second, in threaded mode (which
includes the penalty for thread-switching), in a Pentium 1.6 Ghz, 1GB
RAM, under Windows XP 2. The test was run using ab, the load testing
tool from the apache project.

- In practice, we found it easier to exceed available bandwidth than
to exceed CherryPy's limits. With something as low as 200 requests/s
one can get a few MB/s of throughput (that's measurable, but I don't
have the numbers for this test; but to the math yourself, for a 10Kb
page...). Of course, Intranet sites do not suffer from this problem,
but the userbase is usually limited.

- The worst case scenario is when one have lots of small objects to
serve. This usually means static content (icons & small gif files),
and can be greatly accelerated by running CherryPy under a caching
frontend - either Apache, or even squid in web acceleration mode work
just fine.

While you are at it, check also this page:

http://www.cherrypy.org/wiki/CherryPyProductionSetup

--
Carlos Ribeiro
Consultoria em Projetos
blog: http://rascunhosrotos.blogspot.com
blog: http://pythonnotes.blogspot.com
mail:
mail:
 
Reply With Quote
 
Chris
Guest
Posts: n/a
 
      03-10-2005
In article <. com>,
says...
> Gianluca Sartori wrote:
> > Hi guys,
> >
> > What web framework do you suggest to develop with?

>
> I really like CherryPy. It has a very intuitive design. A "directory"
> is an object and the "files" in it are methods. URL variables are
> passed as arguments to the methods. The CherryPy site has a good
> tutorial and some examples that should get you up and running fairly
> quickly.
>
> http://www.cherrypy.org
>
> > Thanks for any suggestion,
> > Gianluca

>
> Hope this helps.
>
> Christian
>
>

Does CherryPy require a python installation on the client side?
 
Reply With Quote
 
Lutz Horn
Guest
Posts: n/a
 
      03-10-2005
Chris <> wrote:
> Does CherryPy require a python installation on the client side?


No, it only sends HTML-pages and other media to the client's browser.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
delete .NET FRAMEWORK 1.1 before installing .NET FRAMEWORK 2 ???? moi ASP .Net 3 09-26-2008 02:19 PM
Installing 1.1 Framework and 2.0 Framework on the same web server Mark ASP .Net 4 11-17-2005 03:30 PM
spring framework versus struts framework jrefactors@hotmail.com Java 2 09-11-2005 09:54 PM
microsoft.public.dotnet.faqs,microsoft.public.dotnet.framework,microsoft.public.dotnet.framework.windowsforms,microsoft.public.dotnet.general,microsoft.public.dotnet.languages.vb Charles A. Lackman ASP .Net 1 12-08-2004 07:08 PM
COMInterop does not work in Framework 1.1 without Framework 1.0 Anatoly Volodko ASP .Net 1 08-14-2003 08:11 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57