472,967 Members | 1,978 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,967 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 1112
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Xero Limit 126 | last post by:
Okay, I am completely new to Python, and I really dont understand much, but I was wondering how to make a python script/program into a standalone .EXE? I dont understand py2exe at all, so if...
9
by: Hans-Joachim Widmaier | last post by:
Hi all. Handling files is an extremely frequent task in programming, so most programming languages have an abstraction of the basic files offered by the underlying operating system. This is...
6
by: Johnathan Doe | last post by:
Hi, I'm looking for an easy way to do web development with Python (session handling a-la ASP/JSP/PHP, that kind of thing). I've looked at PythonWeb.org but it has bugs because it's not tested on...
3
by: Terry Hancock | last post by:
Is there an *easy* way to make an object immutable in python? Or perhaps I should say "one obvious way to do it"? Oughtn't there to be one? I've found a thread on how to do this, which...
12
by: gsal | last post by:
What would be the easiest way to go about offering 3D graphics for the purpose of rendering geometry? Suppose engineers (my co-workes) have to design some enclosure, nozzle, bracket, or whatever...
3
by: tinnews | last post by:
Does python install fairly easily for a non-root user? I have an ssh login account onto a Linux system that currently provides Python 2.4.3 and I'd really like to use some of the improvements in...
3
by: miya | last post by:
On Apr 26, 4:36 pm, bvidinli <bvidi...@gmail.comwrote: Django is the way to go for web development. http://www.djangoproject.com/ cya -- Nicolás Miyasato ( miya )
1
by: Gabriel Genellina | last post by:
En Thu, 29 May 2008 06:29:00 -0300, <Dominique.Holzwarth@ch.delarue.com> escribió: You don't need setuptools at all. Just write a setup.py file using the standard distutils module, and...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.