Python web framework with CRUD powered by AJAX [closed]
Asked Answered
A

2

6

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?

Anglian answered 23/1, 2011 at 15:40 Comment(0)
R
6

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.

Regeneration answered 23/1, 2011 at 15:49 Comment(1)
I am familiar with Django-admin, but it is only for simple admin stuff, I don't want to spend time hacking Django-admin, that is not its purpose, it would be much easier to write the app using django-filter. And also I do not want to hand code JS everytime if there are other frameworks which can do this simple task for me.Anglian
P
6

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.

Pyxis answered 24/1, 2011 at 23:15 Comment(5)
thanks, I will maybe have a look at web2py, I am currently checking TurboGears2 with Sprox which can generate all the CRUD stuff with AJAX.Anglian
powerTable looks really impressiveAnglian
I don't know much about TurboGears, but note that they have decided to merge with the Pylons Project (I think the plan is to continue to maintain TurboGears, but also to focus on adding "full stack" tools on top of the new Pyramid framework). See groups.google.com/group/turbogears/browse_frm/thread/….Pyxis
TuboGears is a meta framework it is built on top of other projects, yes it uses Pylons, TG1 used CherryPyAnglian
@denysonique, yes TG2 is built on top of Pylons. What I was saying is that the TG team is planning to merge with the newly formed Pylons Project and start building a new set of full stack tools on top of the new Pyramid framework (which is a merger of Pylons and repoze.bfg). I assume they will maintain TG2 for some time, but presumably it will ultimately be superceded by whatever they end up building on top of Pyramid.Pyxis

© 2022 - 2024 — McMap. All rights reserved.