Fun Stuff
Posted: 2007-10-26 07:38:59
Yesterday at work, I was struggling with some changes to a page, not because it was technically difficult, but because there was no good way to get all of the information on the page without the layout being overly complicated and confusing. Furthermore, even though dozens (or hundreds) of records would be returned on the page, additional information would only be needed for a few, so pulling in all of it didn't make any sense. After much thought and consideration, I decided to go crazy with javascript, and ended up with a very cool page.
Now when you choose to edit a record, that row is highlighted, and a pop-up div comes up with a form in it. The form is populated with the record data, via AJAX and you can save the new data via AJAX. Certain changes will cause the data displayed in the table to be updated. This way our receptionists can update as many rows as they need to without waiting to refresh the page for every little change. Sweet. This makes me wish I could find a place on this site to make gadgets like that. If I ever have time to complete the photos section, I just might!
Trackback URL:
http://www.rancid-tea.com/viewpost/549.html

