Re: Web Interface Recommendations



PurpleServerMonkey a écrit :
(snip)
Out of the major frameworks is there one that stands out as being
particularly well suited for what I'm trying to do?

Django and CherryPy are on the short list so I'll give them a detailed
look although Pylons does sound rather interesting as well.

I guess you'll have to try them out to find the one that best match your needs and personal preferences. Mostly:

- CherryPy is more of a web application server than a framework per-se: it's it's own HTTP server - which might or not be a good thing -, and only deals with the "controler" part of the MVC triad.

- Django is by now a mostly mature MVC framework, with more than a couple years of production use on quite a lot of sites and applications, good documentation and a somewhat large and active community. OTHO, it's a very opiniated (and somewhat monolithic) framework, with most parts of the stack (ORM, forms validation, template system etc) built specifically for this framework (which was probably the sensible thing to do by the time), so it's perhaps the less flexible of the three.

- Pylons is IMHO very promising: wsgi from bottom to top, very flexible, good default components choice (paste / Routes / SQLAlchemy / Mako / FormEncode) but let you swap what you want in and out, and FWIW I've seen so far a very sound architecture. FWIW, next Turbogears major version will switch from CherryPy to Pylons. OTHO, it's still far from being as mature and documented as Django.

My 2 cents...
.



Relevant Pages

  • Re: Python web frameworks
    ... Django and pylons are the best. ... I don't think it can handle complex applications, ... trying to learn the framework) and find it very easy to configure. ...
    (comp.lang.python)
  • Re: Using Python for my web site
    ... I have used bare-bones mod_python and it rocks. ... good way to develop modern web applications in Python. ... You say that you haven't tried Django or any other Python framework. ...
    (comp.lang.python)
  • Re: using "request" variable in python web program
    ... I really don't want to use a framework for the time being and just ... The request object in this case is specifically a Django request ... it's very hard to get up and running quickly for web apps in Python - ... maybe DiveIntoPython needs a section devoted for web programming ...
    (comp.lang.python)
  • Re: [Web 2.0] Added-value of frameworks?
    ... If I wanted to build some social web site such as Facebook, ... frameworks like Django or TurboGears provide over writing a site from ... framework, which means you may not save that much time on a first ... past the framework design. ...
    (comp.lang.python)
  • Open Technology Group, Inc. announces Django & GeoDjango MVC Framework Training
    ... The Open Technology Group (OTG), a leader in the development and delivery of training solutions centered about Open Source technologies, released the latest in its set of Open Source Django training courses. ... A powerful Model-View-Controller framework written in Python, Django provides web developers with an intuitive framework to develop web-based applications. ...
    (comp.lang.python.announce)