pense-bête de bruno sanchiz

Accueil > Programmation > python > frameworks

frameworks

Publié le 27 mai 2017, dernière mise-à-jour le 27 avril 2023.

Page générale des webframeworks : https://wiki.python.org/moin/WebFrameworks/

  • django
    • The Web framework for perfectionists (with deadlines). Django makes it easier to build better Web apps more quickly and with less code. Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. It lets you build high-performing, elegant Web applications quickly. Django focuses on automating as much as possible and adhering to the DRY (Don’t Repeat Yourself) principle. See Django
  • web2py
    • Python 2.6 to 2.7, Python 3.x friendly (compile but not tested no support yet) * All in one package with no further dependencies. Development, deployment, debugging, testing, database administration and maintenance of applications can be done via the provided web interface, but not required. * web2py has no configuration files, requires no installation, can be run off a USB drive. * web2py uses Python for the Model, View and the Controller * Built-in ticketing system to manage errors * Internationalization engine and pluralisation, caching system * Flexible authentication system (LDAP, MySQL, janrain etc) * NIX(Linux, BSD), Windows, Mac OSX, tested on EC2, Webfaction * works with MySQL, PostgreSQL, SQLite , Firebird, Oracle, MSSQL and the Google App Engine via an ORM abstraction layer. * Includes libraries to handle HTML/XML, RSS, ATOM, CSV, RTF, JSON, AJAX, XMLRPC, WIKI markup. * Production ready, capable of upload/download of very large files * Emphasis on backward compatibility.
  • Flask
    • flask (0.12.1 Released 2017-03-31) is “a microframework for Python based on Werkzeug, Jinja 2 and good intentions.” Includes a built-in development server, unit tesing support, and is fully Unicode-enabled with RESTful request dispatching and WSGI compliance.
  • kivy

différentes réflexions sur les frameworks

  • django, flask, pyramid : https://web.archive.org/web/20171008162318/https://www.airpair.com/python/posts/django-flask-pyramid
  • CubicWeb, Django, Pyramid, Web.py, Web2py, and Zope 2 : http://www.infoworld.com/article/2622836/application-development/pillars-of-python--six-python-web-frameworks-compared.html
    • zope2 : 15 années de de développement
    • web2py : python embeddable language
    • django : an object-relational mapper so that you don’t have to write your own RDBMS interface code, a template system so that you don’t have to wrestle with marrying active Python content to static HTML content on a Web page, an administrative interface so that you can easily access your site’s back-end data (as well as easily manage website users and permissions), and so on. You should expect to spend a stretch learning Django’s API, but the time you put into Django is well worth it. It’s a rich environment with much to recommend it.
    • cubicweb : constructing a CubicWeb application entails lashing together modules (called cubes) into a final structure :
       echo "deb http://download.logilab.org/production/ jessie/">>/etc/apt/sources.list && wget -O/etc/apt/trusted.gpg.d/logilab.gpg https://www.logilab.fr/logilab-debian-keyring.gpg && apt-get update && apt-get install cubicweb cubicweb-dev cubicweb-mysql-support
[bruno sanchiz]