I am looking for a Python web framework which will allow me to rapidly build a CRUD application with automatic AJAX support.
The framework should be able to generate a nice table which is sortable and filterable, which works via AJAX and without JS support at all as well.
I have looked at TurboGears2 and it seems promising, is there any other framework that can do the job for me?
There are primarily three types of Python frameworks, namely full-stack, micro-framework, and asynchronous.
Django is a popular open-source full-stack Python framework that includes all the necessary Python features by default. It follows the DRY principle - Don't Repeat Yourself. Django uses an ORM or object-relational mapper to map objects to database tables.
What is a Python Web Framework? Python Web framework is a collection of packages or modules that allow developers to write Web applications or services. With it, developers don't need to handle low-level details like protocols, sockets or process/thread management.
Most of the modern frameworks, like TG, Django or Flask support CRUD-style applications. But none of those are that much abstract, that you can give them a model, and there you have your ajaxy db manipulation templates and validations.
Django has django-admin and a great form builder and helper module; Flask can work with WTForms easily. Javascript is just as usable with any of the above frameworks, so that with a little recherche in the jQuery plugin area, you might be able to quickly build your application.
You might check out web2py. Very easy CRUD, and great Ajax support (see also, web2py components). web2py's plugin_wiki
also includes widgets for CRUD and jqGrid.
There's also a new grid plugin under development called powerTable, which is a web2py wrapper for the jQuery DataTables plugin.
If you have questions, the web2py community will be happy to help you out.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With