Is it reasonably easy easy to something like this with python?

Bruno Desthuilliers bruno.42.desthuilliers at
Wed Aug 29 09:40:58 CEST 2007

walterbyrd a écrit :
> On Aug 28, 1:31 pm, Gerardo Herzig <gher... at> wrote:
>> walterbyrd wrote:
>> The one who make that table sorteable is AJAX. Not php. The php part is
>> kind of trivial (so it would be `trivial' in python too). It just reads
>> some data and format it in an html table.
> Thank you, that is great to know. What if there were 1000 records, and
> the table was paginated? 
> I suppose, ajax would sort the front end,


You don't need ajax to sort a table, it's pure javascript dom 
manipulation (and there are quite a lot of working, correctly written 
and well-tested scripts doing so).

In your above use case (sortable, paginated, inline-editable grid), ajax 
would be used to:
- retrieve XXX records from the back-end (either as an html fragment or 
in json) via a GET request
- submit modifications (via a POST request)

All the rest is either usual javascript or usual (backend) web programming.

More information about the Python-list mailing list