473,419 Members | 1,922 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,419 software developers and data experts.

favorite python web development tool?

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 tool, and
hope to find some suggestions here.

given my background, webware+cheetah feels comfortingly familiar, and
i'm leaning toward it. before i dive in, though, i'm wondering what you
experienced users think about it, compared to the other tools that are
out there. eg, does the python environment have strengths that are
better exploited with something other than a servlet-like model?
thanks for your thoughts!
--
pssst: ".spamguard" isn't in my real e-mail address.
Jul 18 '05 #1
17 1956
mike wrote:
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 tool, and
hope to find some suggestions here.

given my background, webware+cheetah feels comfortingly familiar, and
i'm leaning toward it. before i dive in, though, i'm wondering what you
experienced users think about it, compared to the other tools that are
out there. eg, does the python environment have strengths that are
better exploited with something other than a servlet-like model?
thanks for your thoughts!


My favourite is Quixote. Although I haven't used Webware much one thing
I can say is that Quixote is easier to grasp than Webware. It has simple
and powerful concepts and as a Python programmer I found it quite
intuitive. I think Quixote PTL (Python Template Language) is also the
'right way' to do web templates. With PTL, you reuse a lot of Python
knowledge instead of having to learn yet another template language.

Links:
http://www.mems-exchange.org/software/quixote/
http://www.quixote.ca/

--
Shalabh

Jul 18 '05 #2
I use Twisted + Nevow. twistedmatrix.com, divmod.org, nevow.com

On Tue, Aug 17, 2004 at 03:43:22PM -0400, mike wrote:
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 tool, and
hope to find some suggestions here.

given my background, webware+cheetah feels comfortingly familiar, and
i'm leaning toward it. before i dive in, though, i'm wondering what you
experienced users think about it, compared to the other tools that are
out there. eg, does the python environment have strengths that are
better exploited with something other than a servlet-like model?
thanks for your thoughts!

Jul 18 '05 #3
mike wrote:
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 tool, and
hope to find some suggestions here.


I've found mod_python + ZopePageTemplates (standalone) to be superb
solution to web application development. ZPT feels like a very natural
and maintainable way to separate business logic from presentation. Since
I've started using these two technologies, I've found my productivity
greatly increased.

http://www.modpython.org
http://zpt.sourceforge.net/

Have fun and take care ;-)

--
Orlando Vazquez
Remove the obvious from my e-mail address to reply.
Jul 18 '05 #4
>> i'm fairly new to python, coming from a java servlet / velocity
template background. i'm looking for a good python web development
tool, and hope to find some suggestions here.

I've found mod_python + ZopePageTemplates (standalone) to be superb
solution to web application development. ZPT feels like a very natural
and maintainable way to separate business logic from presentation. Since
I've started using these two technologies, I've found my productivity
greatly increased.


I like using mod_python and XML-RPC. Develop the logic as a backend and
then use a frontend to talk to that backend and to do whatever
input/output processing needs to be done to make it all into a web app.
I like that the frontend can actually be written in other languages as
the situation requires and that in fact it doesn't even need to be a web
app at all. I've written MPXMLRPC backends with PHP web-based frontends
and wxPython frontends both. Pretty sweet.

--
Michael <mo*****@mlug.missouri.edu>
http://kavlon.org
Jul 18 '05 #5
mike wrote:
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 tool, and
hope to find some suggestions here.

given my background, webware+cheetah feels comfortingly familiar, and
i'm leaning toward it. before i dive in, though, i'm wondering what you
experienced users think about it, compared to the other tools that are
out there. eg, does the python environment have strengths that are
better exploited with something other than a servlet-like model?


Well, I'm currently writing my first app with Zope, and I find it a
wonderful (but alas very badly documented) tool, at least compared with
PHP. I wrote in 3 days what would have took me *at least* twice that
time with a PHP based solution.

I can't tell you much about other python-based solutions since I did not
try them.

Jul 18 '05 #6
mike <ng************@icewater.org> writes:


i'm fairly new to python, coming from a java servlet / velocity
template background. i'm looking for a good python web development
tool, and hope to find some suggestions here.

ZOPE

Klaus Schilling
Jul 18 '05 #7
mike:
i'm fairly new to python, coming from a java servlet / velocity template
background. i'm looking for a good python web development tool, and
hope to find some suggestions here.


Webware hasn't been mentioned yet :-)

--
René Pijlman
Jul 18 '05 #8
mike wrote:
[...]
i'm looking for a good python web development tool, and hope to find
some suggestions here.
[...]


I have used Albatross (
http://www.object-craft.com.au/projects/albatross ) to be a fast and
easy to learn, powerful, and flexible toolkit. Used on a LAPM (linux,
apache, python, mysql) box. MVC architecture is promoted and the
view-side tags are extremely simple, most are easy enough for a designer
to grok in one telling and run with later on. Which says a lot, IMHO.
Other than Albatross, I also looked at Quixote, and it seemed fairly
swell, too. ;)

Gabriel.
Jul 18 '05 #9
On 2004-08-17, mike <ng************@icewater.org> wrote:
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 tool, and
hope to find some suggestions here.

I'm using SkunkWeb (skunkweb,sourceforge.net).
realy simple framework and very very fast :)
--
Marcin Jurczuk, NIC-HDL: MJ1679-RIPE
Jul 18 '05 #10
Am Tue, 17 Aug 2004 15:43:22 -0400 schrieb mike:
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 tool, and
hope to find some suggestions here.

given my background, webware+cheetah feels comfortingly familiar, and
i'm leaning toward it. before i dive in, though, i'm wondering what you
experienced users think about it, compared to the other tools that are
out there. eg, does the python environment have strengths that are
better exploited with something other than a servlet-like model?


Hi,

I use quixote (without PTL and Form library) and ZODB.

Many don't like it, but I do:

def foo(self, request):
ret=[]
ret.append(self.header())
ret.append('<b>Hello World!</b>')
ret.append(self.footer())
return ''.join(ret)

100% Python

with the filter_output hook, every page
is checked with html-tidy during development.

Uncaught exceptions on the production
site get to me by email as soon as they occur.

A nightly unittest checks for errors.

HTH,
Thomas
Jul 18 '05 #11
mike wrote:
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 tool, and
hope to find some suggestions here.

given my background, webware+cheetah feels comfortingly familiar, and
i'm leaning toward it. before i dive in, though, i'm wondering what you
experienced users think about it, compared to the other tools that are
out there. eg, does the python environment have strengths that are
better exploited with something other than a servlet-like model?


For those coming from a PHP/ASP/JSP background, Spyce will be the
most readily familiar and it rocks for those who use this approach.

I've never had a use for a templating solution but Spyce
is also supposed to support Cheetah well.
Jul 18 '05 #12
i'm fairly new to python, coming from a java servlet / velocity
template background. i'm looking for a good python web development
tool, and hope to find some suggestions here.


You may find this url interesting:
http://www.colorstudy.com/docs/shootout.html

I use Quixote and for some projects also Quixote + HTMLTemplate
(http://freespace.virgin.net/hamish.s...ltemplate.html)

Jul 18 '05 #13
> given my background, webware+cheetah feels comfortingly familiar, and
i'm leaning toward it. before i dive in, though, i'm wondering what you
experienced users think about it, compared to the other tools that are
out there. eg, does the python environment have strengths that are
better exploited with something other than a servlet-like model?


Have a look at mod_python 3.1 - I've found performance very good. I
benchmarked it against a commercial oversized J2EE app server and for
non complex app found it faster. It includes session handling and a
basic template system. However, you can use whichever templating
language you like with it. Cheetah is nice

Also have a look at SQL Object and db_rows
http://www.sqlobject.org/

SQL object is worth checking out -SQLObject is an object-relational
mapper. It allows you to translate RDBMS table rows into Python
objects, and manipulate those objects to transparently manipulate the
database.
It allows you to use something like
p = animal.new(name="Giraffe", category="mammal") to create a new animal instead of db.execute(("INSERT into animals (name, category) values %s, %s),

"Giraffe", "mammal")

a simpler alternative - db_rows
http://opensource.theopalgroup.com/

(http://xminc.com/linux/db_rows.txt)

Anthony
http://xminc.com/linux/
Jul 18 '05 #14
At some point, Ksenia Marasanova <ks****@ksenia.nl> wrote:
i'm fairly new to python, coming from a java servlet / velocity
template background. i'm looking for a good python web development
tool, and hope to find some suggestions here.


You may find this url interesting:
http://www.colorstudy.com/docs/shootout.html

I use Quixote and for some projects also Quixote + HTMLTemplate
(http://freespace.virgin.net/hamish.s...ltemplate.html)


I'll second Quixote and HTMLTemplate. Quixote gives a nice framework
(handling requests, URL mapping, etc.), and HTMLTemplate does the
separation of presentation and content.

--
|>|\/|<
/--------------------------------------------------------------------------\
|David M. Cooke
|cookedm(at)physics(dot)mcmaster(dot)ca
Jul 18 '05 #15
mike <ng************@icewater.org> wrote in message news:<10*************@corp.supernews.com>...
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 tool, and
hope to find some suggestions here.
Well, <insert screaming advocacy here>. Alternatively, you could take
a look at the WebProgramming section [1] of the PythonInfo Wiki [2].
And if other respondents contributed their opinions to that resource,
we wouldn't necessarily have the situation where people regard that
resource as confusing whilst giving a parade of the frameworks every
time someone asks how to do CGI with Python.
given my background, webware+cheetah feels comfortingly familiar, and
i'm leaning toward it. before i dive in, though, i'm wondering what you
experienced users think about it, compared to the other tools that are
out there. eg, does the python environment have strengths that are
better exploited with something other than a servlet-like model?


I've heard that Webware plus Cheetah is a fairly equivalent
combination to Java Servlet API plus Velocity, at least in style. I
think it's widely accepted that if you're doing content management,
you might be better served with something like Zope or a derivative
such as Plone.

If you look at the OriginalWebProgrammingClassification [3] on the
Wiki, you'll get a better impression of what is available, in my
opinion. That classification, combined with the
PresentationTechnologies [4] page (now mysteriously delinked in some
"tidying up" activity), is more concise and doesn't try and blind you
with pseudo-science in the way that the main classification does:
"Variable Insertion-Replacement Templating Applications
(Pre-processors)" anyone?

Paul

[1] http://www.python.org/cgi-bin/moinmoin/WebProgramming
[2] http://www.python.org/moin/FrontPage
[3] http://www.python.org/cgi-bin/moinmo...Classification
[4] http://www.python.org/cgi-bin/moinmo...onTechnologies
Jul 18 '05 #16
Am Wed, 18 Aug 2004 10:22:43 -0700 schrieb Anthony_Barker:
given my background, webware+cheetah feels comfortingly familiar, and
i'm leaning toward it. before i dive in, though, i'm wondering what you
experienced users think about it, compared to the other tools that are
out there. eg, does the python environment have strengths that are
better exploited with something other than a servlet-like model?


Have a look at mod_python 3.1 - I've found performance very good. I
benchmarked it against a commercial oversized J2EE app server and for
non complex app found it faster. It includes session handling and a
basic template system. However, you can use whichever templating
language you like with it. Cheetah is nice


Hi Anthony,

Did you compare it to SCGI, too?
http://www.mems-exchange.org/software/scgi/

Thomas

Jul 18 '05 #17
> > Have a look at mod_python 3.1 - I've found performance very good. I
benchmarked it against a commercial oversized J2EE app server and for
non complex app found it faster. It includes session handling and a
basic template system. However, you can use whichever templating
language you like with it. Cheetah is nice


Hi Anthony,

Did you compare it to SCGI, too?
http://www.mems-exchange.org/software/scgi/

Thomas


No didn't test scgi. I mod_python found it slightly faster than
mod_php and hugely faster than zope and lotus domino. Didn't test
scgi.

Prefer to stick to the official apache project thinking that it will
be around longer. scgi does less than mod_python, so it may be quicker
- you should test it out.
Jul 18 '05 #18

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

Similar topics

699
by: mike420 | last post by:
I think everyone who used Python will agree that its syntax is the best thing going for it. It is very readable and easy for everyone to learn. But, Python does not a have very good macro...
38
by: kbass | last post by:
In different articles that I have read, persons have constantly eluded to the productivity gains of Python. One person stated that Python's productivity gain was 5 to 10 times over Java in some in...
53
by: john67 | last post by:
The company I work for is about to embark on developing a commercial application that will cost us tens-of-millions to develop. When all is said and done it will have thousands of business...
28
by: Admin | last post by:
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...
8
by: Joakim Persson | last post by:
Hello all. I am involved in a project where we have a desire to improve our software testing tools, and I'm in charge of looking for solutions regarding the logging of our software (originating...
23
by: gord | last post by:
As a complete novice in the study of Python, I am asking myself where this language is superior or better suited than others. For example, all I see in the tutorials are lots of examples of list...
122
by: Edward Diener No Spam | last post by:
The definition of a component model I use below is a class which allows properties, methods, and events in a structured way which can be recognized, usually through some form of introspection...
6
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 Python/PostgreSQL-based software. I plan to add support of UML CASE...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.