471,325 Members | 1,653 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,325 software developers and data experts.

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

This is made with a php5 framework called qcodo.

http://examples.qcodo.com/examples/d...ne_editing.php

With qcodo it's easy to make grids that are sortable and inline
editable. Qcodo grids work from the database - not an xml table or
array. Qcodo handles complex data relations, and fairly large
datadabes.

I like python better than php, but I don't know of any python tools to
create these sorts of grids.

Aug 28 '07 #1
4 1070
walterbyrd wrote:
>This is made with a php5 framework called qcodo.

http://examples.qcodo.com/examples/d...ne_editing.php

With qcodo it's easy to make grids that are sortable and inline
editable. Qcodo grids work from the database - not an xml table or
array. Qcodo handles complex data relations, and fairly large
datadabes.

I like python better than php, but I don't know of any python tools to
create these sorts of grids.
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.

Cheers.
Gerardo
Aug 28 '07 #2
On Aug 28, 1:31 pm, Gerardo Herzig <gher...@fmed.uba.arwrote:
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, and
backend language, and database, would soft behind the scene, or
something?

Aug 28 '07 #3
Gerardo Herzig a écrit :
walterbyrd wrote:
>This is made with a php5 framework called qcodo.

http://examples.qcodo.com/examples/d...ne_editing.php

With qcodo it's easy to make grids that are sortable and inline
editable. Qcodo grids work from the database - not an xml table or
array. Qcodo handles complex data relations, and fairly large
datadabes.

I like python better than php, but I don't know of any python tools to
create these sorts of grids.
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.
FWIW, Pylons have all sorts of javascript/ajax helpers (using
prototype.js).

Aug 29 '07 #4
walterbyrd a écrit :
On Aug 28, 1:31 pm, Gerardo Herzig <gher...@fmed.uba.arwrote:
>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,
s/ajax/javascript/

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.
Aug 29 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Xero Limit 126 | last post: by
9 posts views Thread by Hans-Joachim Widmaier | last post: by
6 posts views Thread by Johnathan Doe | last post: by
3 posts views Thread by Terry Hancock | last post: by
12 posts views Thread by gsal | last post: by
1 post views Thread by Gabriel Genellina | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.