Un nouveau framework web python: le framework "Gluon"
Publié par patrick le octobre 5, 2007
Une nouvelle arrivée sur la liste WebSig (http://www.python.org/sigs/web-sig) sous le titre "NOOO! Another web framework"
please do not shoot me! I know you don’t think you need a new web framework but please give me the benefit of the doubt (I teach a class on Web Frameworks at DePaul University):
here are some unique features:
1) full web based development, deployment and management of applications, no more shell commands (unless you want them)
2) built-in ticketing system to report bugs to administrator (not to the users, ever)
3) can compile applciations to byte-code for speed and distribution in closed source (some people want this)
4) 100% python (including template language).
5) no installation or configuration required. Just download and click. (includes python, web server, sqlite3, administrative interface and examples)
6) everything has a default: you write the model, you get an administrative interface; you write a controller, you get a generic view; etc.
7) The API are stable and there is no plan for a change.
It shares with Django and Turbogears some features: model-view-controller design, form generators and validation, internationalization, ORM, although all code has been written from scratch.
Here is an example application, a CMS to manage groups (members, wikis, blogs, votes, minutes, documents):
Plus de détails ici: http://mdp.cti.depaul.edu/examples/default/index (Acknowledgments
- This project uses paste.httpserver developed by Ian Bicking. Moreover we learned a lot from his writings on wsgi.
- Many aspects of its design are inspired to Django, developed by Adrian Holovaty
- The compilation of the applications would not have been possible without advice provided by Atul Varma
- We use and include SyntaxHighlighter developed by Google
- … EditArea developed by Christophe Dolivet
- … TinyMCE developed by Moxiecode
- and SortTable by Stuart Langridge.
- This project also uses css layouts and images donwloaded from the web. Their authors are acknowledged inside the respective files, if known.)
- Le blog de Massimo Di Pierro: http://web.mac.com/mdipierro/iWeb/Site/Code/Code.html
- La vidéo de démonstration du framework Gluon ici http://www.youtube.com/watch?v=VBjja6N6IYk (Merci à Massimo pour le lien)
- la liste des frameworks web python : http://wiki.python.org/moin/WebFrameworks ("A web application may use a combination of a base HTTP application server, a storage mechanism such as a database, a template engine, a request dispatcher, an authentication module and an AJAX toolkit. These can be individual components or be provided together in a high-level framework.")
- http://en.wikipedia.org/wiki/EnterpriseWebFramework("Gluon Enterprise Web Framework (EWF) is an open source web framework written in Python and programmable in Python. It is written by Massimo Di Pierro.")
- http://en.wikipedia.org/wiki/Web_application_framework ("A web application framework is a software framework that is designed to support the development of dynamic websites, Web applications and Web services. The framework aims to alleviate the overhead associated with common activities used in Web development. For example, many frameworks provide libraries for database access, templating frameworks and session management, and often promote code reuse.")