Just another Perl shrine | |
PerlMonks |
How to allow a user to reorder rows from a database using a web form?by yaconsult (Acolyte) |
on Dec 21, 2010 at 08:33 UTC ( [id://878187]=perlquestion: print w/replies, xml ) | Need Help?? |
yaconsult has asked for the wisdom of the Perl Monks concerning the following question:
I have an sqlite DB that I generate with my script. What would be the best way to do something like this:
1) user logs in and is presented with a table of data extracted from the database for them.
The database stuff is working. The data changes frequently, so the table will probably just be regenerated instead of updated. Which modules should I be looking at for the UI part? CGI, or is there something better. Not sure how to allow the user to prioritize the list... Up and down arrows that they could click? Boxes where they enter a number for sorting purposes? Suggestions welcome! Thank you for the replies so far! Let me add a few more details... There will be multiple users having responsibility for different areas. The database rows related to their area are extracted from the database and need to be presented to them. They will then want to reorder the rows to indicate the priority/importance/ordering. The ordering that they impose on these rows is the information I need to capture and convey to the people that will be acting on the tasks represented by the rows. I will check out the suggestions already made today. Thanks!
Back to
Seekers of Perl Wisdom
|
|