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

Quixote vs. Preppy

I'm looking for something "closer to Python" to develop certain types
of web systems (rather than going away, forgetting, then coming back
and struggling with the Z-shaped learning curve for anything more than
trivial things in Zope). Based on the Quixote presentation at Pycon,
that looks quite interesting ("web development as if you were a Python
programmer"), but someone also suggested Preppy from Reportlabs:
http://www.reportlab.org/preppy.html

Can anyone compare/contrast these? Thanks.

Bruce Eckel
Jul 18 '05 #1
4 2104
On Thu, 5 Aug 2004 10:55:19 -0600,
Bruce Eckel <Br********@MailBlocks.com> wrote:
programmer"), but someone also suggested Preppy from Reportlabs:
http://www.reportlab.org/preppy.html


Preppy looks like a templating library, not an arbitrary web framework, so
the direct comparison is to Quixote's PTL. It should be straightforward to
use Preppy templates from a Quixote handler function, something like:

import preppy
def _q_index (request):
d = {'name':'amk', ...}
m = preppy.getModule('template')
return m.run(d)

(The Quixote Wiki at http://www.quixote.ca/qx/ also includes examples
showing Quixote with other templating libraries such as SimpleTAL. The tips
on http://www.quixote.ca/qx/TemplatingWithZpt are probably relevant.)

--amk
Jul 18 '05 #2
Bruce Eckel wrote:
I'm looking for something "closer to Python" to develop certain types
of web systems (rather than going away, forgetting, then coming back
and struggling with the Z-shaped learning curve for anything more than
trivial things in Zope). Based on the Quixote presentation at Pycon,
that looks quite interesting ("web development as if you were a Python
programmer"), but someone also suggested Preppy from Reportlabs:
http://www.reportlab.org/preppy.html

Can anyone compare/contrast these? Thanks.


If all you want is a templating system (Preppy is more of a templating
system, not a Web framework), there's also EmPy:

http://www.alcyone.com/software/empy/

--
__ Erik Max Francis && ma*@alcyone.com && http://www.alcyone.com/max/
/ \ San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
\__/ No need to tell me lies / Am I losing you
-- Chante Moore
Jul 18 '05 #3
Don't forget Webware (http://www.webwareforpython.org)! It interfaces
nicely with Cheetah (http://www.cheetahtemplate.org) and has an
application server/servlet model of development which, for anyone
experienced with Tomcat for example, is very easy to learn and get
going with.

I've developed two sites with this software and I'm pretty much in
love, although since I haven't tried Quixote yet I can't
compare/contrast them. Webware has an active mailing list though and
the community is very responsive and helpful.

Peace,
GM
Jul 18 '05 #4
Bruce Eckel <Br********@MailBlocks.com> writes:
I'm looking for something "closer to Python" to develop certain types
of web systems (rather than going away, forgetting, then coming back
and struggling with the Z-shaped learning curve for anything more than


You may also care to look at Albatross:

http://www.object-craft.com.au/projects/albatross/

Which is very lightweight.

--
Regards, chris
Jul 18 '05 #5

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

Similar topics

28
by: Erik Johnson | last post by:
This is somewhat a NEWBIE question... My company maintains a small RDBS driven website. We currently generate HTML using PHP. I've hacked a bit in Python, and generally think it is a rather...
19
by: Patrick Useldinger | last post by:
Hi all, after my unsuccessful try to run Apache 2 with mod_python and Python 2.3, I am looking for an alternative approach. My aim is to write a small web-based application: Python - the...
7
by: Ernie | last post by:
I am trying out the quixote 1.0 demo in my linux box. I am able to view the main demo page using http://localhost/cgi-bin/demo.cgi with the HelloWorld on top of the page but I was wondering where...
3
by: flab ba | last post by:
Hello: I am new to web app programming, but need to create a web app. I would like to do it in Python After extensive googling, reading news groups, blogs, and outdated / incomplete "web app...
1
by: Mir Nazim | last post by:
Hi I am a PHP developer and in trying to get a better tool for developing web apps, I have been strugling with zope for past few months and still could not get anything useful work up and going....
0
by: jiguorui | last post by:
# I write a quixote demo like this: equest = get_request() request.response.set_cookie('usr_name', 'Jim', path='/') request.response.set_cookie('usr_id', '1', path='/') #but only usr_name can...
6
by: John Machin | last post by:
Hi, In general, I'm mainly interested in a template engine for dynamic web pages but would like a general purpose one to avoid learning yet another package for generating e-mail messages, form...
34
by: Victor Kryukov | last post by:
Hello list, our team is going to rewrite our existing web-site, which has a lot of dynamic content and was quickly prototyped some time ago. Today, as we get better idea of what we need, we're...
0
by: smalfish | last post by:
hi, i have some question with this,quixote publish width FastCGI.the two scripts like this(root.ptl and hello.ptl): class RootDirectory(Directory): _q_exports = def _q_index (self): """...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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...

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.