473,396 Members | 1,784 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Web framework

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

Jul 18 '05 #1
24 1598
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

Jul 18 '05 #2
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

Jul 18 '05 #3
"Gianluca Sartori" <g.*******@gmail.com> 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/
Jul 18 '05 #4
"Gianluca Sartori" <g.*******@gmail.com> writes:
What web framework do you suggest to develop with?


I tend to use mod_python.

Phil
Jul 18 '05 #5
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

Jul 18 '05 #6
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
Jul 18 '05 #7
On 10 Mar 2005 03:30:28 -0800, Gianluca Sartori <g.*******@gmail.com> 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: ca********@gmail.com
mail: ca********@yahoo.com
Jul 18 '05 #8
In article <11*********************@o13g2000cwo.googlegroups. com>,
do*********@gmail.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?
Jul 18 '05 #9
Chris <se***@yahoo.com> 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.
Jul 18 '05 #10
Well, my concern here was mostly about SSL support. It seems it's not
supported natively. Anyway, I'm looking at all those frameworks by a
'pre-evaluation' point of you. so I'm fully trusting what I can read on
their websites...

Jul 18 '05 #11

Gianluca Sartori wrote:
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


Jul 18 '05 #12
You should definitely have a look at Zope 3. There is good
documentation available and it can do a lot of good stuff.

Jul 18 '05 #13
I'd say Nevow! For apache setup, you might be interested in my wsgi [1]
implementation.

[1]
http://twistedmatrix.com/pipermail/t...ch/001293.html

Jul 18 '05 #14
Joe
On 13 Mar 2005 01:13:00 -0800, an***********@gmail.com wrote:
You should definitely have a look at Zope 3. There is good
documentation available and it can do a lot of good stuff.


But then, the thing I hate about Zope, is that source code is not
accessible with normal development tools since it's stuck in the ZODB.

Joe.
Jul 18 '05 #15
Joe wrote:
On 13 Mar 2005 01:13:00 -0800, an***********@gmail.com wrote:
You should definitely have a look at Zope 3. There is good
documentation available and it can do a lot of good stuff.


But then, the thing I hate about Zope, is that source code is not
accessible with normal development tools since it's stuck in the ZODB.


Plain wrong. You can access them via FTP and WEBDAV. In kde under linux, all
file-io can be done through these protocols, so you can operate on them as
if they were local files.
--
Regards,

Diez B. Roggisch
Jul 18 '05 #16
Joe
On Sun, 13 Mar 2005 19:20:34 +0100, "Diez B. Roggisch"
<de*********@web.de> wrote:
Plain wrong. You can access them via FTP and WEBDAV.


Not wrong. I am aware of this, but it's not like that many development
tools can work through FTP or WebDav... Besides, how to have the
source code under source control if it's stuck in the ZODB?

Joe.
Jul 18 '05 #17
Hi Joe,
Not wrong. I am aware of this, but it's not like that many development
tools can work through FTP or WebDav... Besides, how to have the
source code under source control if it's stuck in the ZODB?

I guess you are reffering to "Python Scripts" and "ZClasses", which
indeed are stuck in the ZODB. But in fact you can write external python
products for zope, which reside on your file system. What is stuck in
the ZODB would be the instances of those products.

Regards,
Josef
Jul 18 '05 #18
> Not wrong. I am aware of this, but it's not like that many development
tools can work through FTP or WebDav ..
If your tools can't, then you can still use ftp clients to push the files to
the server. Actually lots of web-development is done by working locally on
the files, then publishing these to the server. Think of the horror to
create apache modules with certain lib dependencies (e.g. oracle) under
windows. Some people I know even abuse CVS for uploading their files to the
server - which renders CVS pretty useless.

And quite a few tools _are_ capable of directly using ftp as storage
backend. (x)emacs for example.
Besides, how to have the
source code under source control if it's stuck in the ZODB?


You can still fetch it using webdav and ftp and stick it into CVS/SVN.
--
Regards,

Diez B. Roggisch
Jul 18 '05 #19
Joe
On Mon, 14 Mar 2005 11:18:10 +0100, Josef Meile <jm****@hotmail.com>
wrote:
I guess you are reffering to "Python Scripts" and "ZClasses", which
indeed are stuck in the ZODB. But in fact you can write external python
products for zope, which reside on your file system. What is stuck in
the ZODB would be the instances of those products.


Right, but it's still a pain. Incidently, this is the reason for
Zope-inspired frameworks like CherryPy, ie. Zope with ol' fashioned
dev tools.

Joe.
Jul 18 '05 #20
On 2005-03-14, Joe <ju*******@if.you.want.to.contact.me> wrote:
On Sun, 13 Mar 2005 19:20:34 +0100, "Diez B. Roggisch"
<de*********@web.de> wrote:
Plain wrong. You can access them via FTP and WEBDAV.


Not wrong. I am aware of this, but it's not like that many development
tools can work through FTP or WebDav... Besides, how to have the
source code under source control if it's stuck in the ZODB?

All of the KDE tools can use ftp or webdav natively.

I actually use kate mostly and access my zope content
through webdavs (webdav over ssl).

It is true that some content is less amenable to
storage in source control, but if you create on-disk
products instead of zclasses it is less of a problem.

That said, how about a ZODB storage class that sits
on top of an svn store? That might be killer!
Jul 18 '05 #21
On Mon, 14 Mar 2005 21:36:36 GMT, Lee Harr <le*@example.com> wrote:
That said, how about a ZODB storage class that sits
on top of an svn store? That might be killer!


I don't know very much about the ZODB, having using it very little.
What you say seems to be possible -- implement the ZODB 'protocol'
over a SVN backend... not sure about how things such as the
authentication system would be mapped though. But it's an intriguing
idea.

--
Carlos Ribeiro
Consultoria em Projetos
blog: http://rascunhosrotos.blogspot.com
blog: http://pythonnotes.blogspot.com
mail: ca********@gmail.com
mail: ca********@yahoo.com
Jul 18 '05 #22
Joe wrote:
On 13 Mar 2005 01:13:00 -0800, an***********@gmail.com wrote:
You should definitely have a look at Zope 3. There is good
documentation available and it can do a lot of good stuff.

But then, the thing I hate about Zope, is that source code is not
accessible with normal development tools since it's stuck in the ZODB.


That's not entirely true of Zope 2, and not true at all for Zope 3. All
code for Zope 3 is loaded from the file system. I've been happily
hacking away on Z3 for months using Vim, Subversion, grep, etc. Some
have even been know to use Emacs, the horror! :)

Zope 3 was designed from the ground-up to be friendlier to Python
programmers that don't have a great deal of Zope 2 experience. Being a
long-time Python programmer, I've *really* enjoyed Zope 3.

There is a slide show introduction at
http://www.zope.org/DevHome/Wikis/De...rammerTutorial
(http://tinyurl.com/68qwj).

There are two Zope 3 books out. A draft of one is available at
http://www.zope.org/DevHome/Wikis/De...Page/Zope3Book
(http://tinyurl.com/5nj66).

Also note that Z3 comes with many doctests that help developers
understand the various parts of the system.
--
Benji York
Jul 18 '05 #23
Joe
On Tue, 15 Mar 2005 00:07:34 -0500, Benji York <be***@benjiyork.com>
wrote:
That's not entirely true of Zope 2, and not true at all for Zope 3. All
code for Zope 3 is loaded from the file system.


Great news :-) I'll go check it out.

Joe.
Jul 18 '05 #24
On Sun, 13 Mar 2005 13:21:27 -0800, Venkat B <ve******@yahoo.com> wrote:
I'd say Nevow! For apache setup, you might be interested in my wsgi [1]
implementation.


Hi Sridhar,

Are you aware of Nevow's "integrability" with the webservers (CGIHTTPServer
in particular) that come packaged with Python itself ?


Nevow functions as its own web server. You don't need CGIHTTPServer,
you just run twisted.web instead.

Stpehen.
Jul 18 '05 #25

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

Similar topics

0
by: Ravindra | last post by:
Well I installed the framework provided by microsoft , the problem is I am able to activate the smart tag in the doc file but when I Click on the Show Detils option in the information bridge the...
3
by: CMan | last post by:
Hi, We are currently trying to install .Net Framework v.1.1 on a server which already has v1.0. We are receiving the following error. Error 1704.An installation for Microsoft .NET Framework...
18
by: Cameron Laird | last post by:
QOTW: "... So I started profiling the code and the slowdown was actually taking place at places where I didn't expect it." -- Guyon Mor?e (and about twenty-three thousand others) " suggestion...
6
by: Joseph Geretz | last post by:
I recently upgraded my server to Windows 2003. The first thing I noticed is that my sample WebService pages no longer worked. The Invoke test button is missing. This is addresed by the following KB...
9
by: Tim D | last post by:
Hi, I originally posted this as a reply to a rather old thread in dotnet.framework.general and didn't get any response. I thought it might be more relevant here; anyone got any ideas? My...
1
by: Harry Simpson | last post by:
I know I drilled down into the Windows folder\Microsoft.net\Framework\v1.1.4322 folder and looked at the version of Mscorcfg.dll to get the SP level from the version number: Mine shows...
3
by: Shadow Lynx | last post by:
At the bottom of the default Error page that appears when Unhandled Exceptions occur, what exactly is the difference between the "Microsoft ..Net Framework Version" and the "ASP.NET Version"? I...
3
dmjpro
by: dmjpro | last post by:
plz send me a good link which can clearify me how the J2EE framework works i want the details information .... plz help thanx
13
by: dancer | last post by:
I have made a new post because when I try to respond to another, I get the error, "Article Rejected -- Ill-formed message id" This is in response to the advice of Juan Libre to install Net...
8
by: Blasting Cap | last post by:
I'm using VS 2005, and have a dll in some code (system.core.dll) that was included in something someone sent me to run on my system. I have production on a server using Framework 2.0 that I want...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.