Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Django or TurboGears or Pylons? for python web framework.

27 views
Skip to first unread message

Aspersieman

unread,
Nov 5, 2008, 5:53:43 AM11/5/08
to 3000 billg, pytho...@python.org
On Wed, 05 Nov 2008 08:35:23 +0200, 3000 billg <bill...@hos.twgg.org>
wrote:

> Hi Senior,

Hi

> There was a case for web site that will be public to Internet for me. I
> like
> python so I do not consider the use of Ruby on Rails.

Excellent choice :)

> I searched more web framework of python from Google. The good solution
> just
> only there are Django, TurboGears and Pylons.

I would recommend web2py [1].

> Just from my preferences, I want to use Django but the AJAX support will
> be
> a problem. Also I need to select a JavaScript framework and lean it,
> maybe
> JQuery, mootools or other. And I can not write python as it is written in
> general javascript. I need to learn a different syntax.

It supports (and comes with) jquery, has awesome ajax integration.

> TurboGears or Pylons, I am worried that the issue of performance because
> CherryPy.

I have read (somewhere - I can't find the link now, you can probably
google it) that it runs as fast or faster than django (and some other
frameworks).

> Could everybody give me a hand for your select? Django or Turbegears or
> Pylons? and Why?

For Django VS web2py see [2]
For Turbogears VS web2py see [3]

> If Django, how to do Ajax support for you? and why?

For info on web2py and ajax see [4].

Also web2py supports SQLite, MySQL, PostgreSQL, MSSQL, FireBird and Oracle
databases - which is very cool for me as I often need to work on different
RDBMS's. Internationalisation is also a cinch. Plus - you can run the
whole framework from a USB drive and it includes a administrative
interface with a text editor so you can code your project *entirely* in a
web browser. It also runs on almost anything that supports python :
windows, unix/linux, OS X etc. I also has a very active and helpful
mailing list

I have tried a couple of other frameworks but only web2py gave me that
'just right' feel. Don't, however take only my word for it - and try other
frameworks to find the one that works for you. One is, fortunately, spoilt
for choice with all the cool python frameworks these days. :)

> thanks eveybody first.

HTH

Nicol

[1] http://www.web2py.com/
[2] http://mdp.cti.depaul.edu/AlterEgo/default/show/101
[3] http://mdp.cti.depaul.edu/AlterEgo/default/show/102
[4] http://mdp.cti.depaul.edu/AlterEgo/default/show/80

--
Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo

Sells, Fred

unread,
Nov 7, 2008, 12:43:06 PM11/7/08
to pytho...@python.org
I use Flex (from adobe) for the client side and turbogears for the
server side and pass xml or json in between. It gives you a Flash
client which is very Sexy and browser independent and very simple
turbogears code in Python.
Flex is essentially open source, but the IDE is about $295, although
there are multiple ways of getting it for free, including a 30 day eval.
The IDE is an Eclipse plugin, and is well worth the $$$ if you decide to
go that way.

> --
> http://mail.python.org/mailman/listinfo/python-list

Daniel Fetchinson

unread,
Nov 7, 2008, 2:21:54 PM11/7/08
to pytho...@python.org
> Hi Senior,

>
> There was a case for web site that will be public to Internet for me. I like
> python so I do not consider the use of Ruby on Rails.
>
> I searched more web framework of python from Google. The good solution just
> only there are Django, TurboGears and Pylons.
>
> Just from my preferences, I want to use Django but the AJAX support will be
> a problem. Also I need to select a JavaScript framework and lean it, maybe
> JQuery, mootools or other. And I can not write python as it is written in
> general javascript. I need to learn a different syntax.
>
> TurboGears or Pylons, I am worried that the issue of performance because
> CherryPy.
>
> Could everybody give me a hand for your select? Django or Turbegears or
> Pylons? and Why?
> If Django, how to do Ajax support for you? and why?
>
> thanks eveybody first.

For the javascript library I would strongly recommend extjs:

http://extjs.com/

It makes javascript work VERY easy including event handling, GUI
building, ajax calls, etc, etc.

Cheers,
Daniel
--
Psss, psss, put it down! - http://www.cafepress.com/putitdown

lkcl

unread,
Nov 17, 2008, 11:06:55 AM11/17/08
to
> On Wed, 05 Nov 2008 08:35:23 +0200, 3000 billg <billg3...@hos.twgg.org>
> > Just from my preferences, I want to useDjangobut the AJAX support will
> > be
> > a problem. Also I need to select a JavaScriptframeworkand lean it,
> > maybe
> > JQuery, mootools or other. And I can not writepythonas it is written in

> > general javascript. I need to learn a different syntax.

yes, you can write python - and have it compiled to AJAX: http://pyjs.org

> > Could everybody give me a hand for your select?Djangoor Turbegears or
> >Pylons? and Why?

> > IfDjango, how to do Ajax support for you? and why?

pyjamas. then you get to write the front-end in python _and_ the
back-end in python.

see http://pyjs.org/book/output/Bookreader.html#Rest%20of%20the%20World

which will help you to choose at least between django and web.py for
AJAX-based frameworks, as there are four example techniques
illustrated to do JSONRPC.

l.

0 new messages