📜 ⬆️ ⬇️

Choosing a python framework

Here I became interested in the question of python web frameworks. The direction is now promising and is developing very actively.
I would like to discuss this topic with the habra people, 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 python-based high-level framework that promotes rapid development and a clean, pragmatic design. Here is a clever definition given by the framework authors themselves.
Official DjangoProject page
The framework has its own template system, a caching system, and a bunch of useful features.

Object-relational mapper

Define your data models entirely in Python. You can still write SQL if needed.
Automatic admin interface
')
It is important to keep track of your work. 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

Django's powerful, extensible and designer-friendly template.
Cache system

Hook into memcached framework
Internationalization

Django has language support for language-specific functionality.

The framework is being actively developed and updated literally every day (according to the developers)

Pylons


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

Pylons is a list of your favorite features 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 any of the existing template systems in python. In addition, there is built-in support for AJAX (in the style of Ruby On Rails). Here it is worth reading .

Turboears


Create a database-driven, ready-to-extend application in minutes. It’s not a problem.

<a href== turbogears.org> TurboGears official website

Here everything is already said in the description in English. Here lies a 20-minute screen caste about the framework .

I also recommend visiting the <a href=" python.org> Python site before learning.

A chic article on Python frameworks, their philosophy, realization ... in general must read!

The question itself: what do you think about these frameworks ??? What would you recommend for self-study and development on their basis.
PS: let's not offtopic and let's not crawl on PHP, Java, ROR and others, and discuss only Python.

Source: https://habr.com/ru/post/9372/


All Articles