Choosing a python framework

    I got interested in the issue of web frameworks in python. This direction is now promising and is very actively developing.
    I would like to discuss this topic with habraudlyami, who writes what, what advantages, etc.

    Django


    Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
    Django is a high-level python-based framework that promotes rapid development and a clean, pragmatic design. Here is such an ingenious definition given by the authors of the framework themselves.
    The official DjangoProject page.
    The framework has its own template system, caching system and a bunch of useful features.

    Object-relational mapper

    Define your data models entirely in Python. You get a rich, dynamic database-access API for free - but you can still write SQL if needed.
    Automatic admin interface

    Save yourself the tedious work of creating interfaces for people to add and update content. Django does that automatically, and it's production-ready.
    Elegant URL design

    Design pretty, cruft-free URLs with no framework-specific limitations. Be as flexible as you like.
    Template system

    Use Django's powerful, extensible and designer-friendly template language to separate design, content and Python code.
    Cache system

    Hook into memcached or other cache frameworks for super performance - caching is as granular as you need.
    Internationalization

    Django has full support for multi-language applications, letting you specify translation strings and providing hooks for language-specific functionality.

    The framework is very actively developing and updating literally every day (according to the developers)

    Pylons


    Pylons is a lightweight web framework emphasizing flexibility and rapid development.
    Official site Pylons Web Framework

    Pylons is built on Paste and allows and allows use of your favorite Python components and libraries:

    * Models: SQLAlchemy, SQLObject, plain old DB-API
    * Templating: Myghty, Kid, Cheetah, or whatever you like - using Buffet
    * AJAX: Rails-style WebHelpers based on Prototype or Mochikit, Dojo & more
    * Request Dispatching: Routes by default, or plug in your favorite

    Judging by the description, Pilons allows the developer to use any of the existing template systems in python. In addition, there is built-in support for AJAX (in the style of Ruby On Rails). This is worth a read .

    Turboears


    Create a database-driven, ready-to-extend application in minutes. All with designer friendly templates, easy AJAX on the browser side and on the server side, not a single SQL query in sight with code that is as natural as writing a function.

    turbogears.org > Official TurboGears website

    Everything has already been said in the description in English. Here lies a 20-minute screencast about the framework .

    I also recommend that you visit the site of python.org > Python itself before exploring. A gorgeous

    article about Python frameworks, their philosophy, implementation ... in general, must read!

    The question itself is: what do you think of these frameworks ??? What do you recommend for independent study and development based on them.
    PS: let's do it without offtopic and we won’t crawl on the topic of PHP, Java, ROR and others, but we will discuss only Python.

    Also popular now: