Jayrobb – Auto-Ship
https://admin05.webstorepackage.com/jayrobb/virtualweb/my_autoship.asp
The Jayrobb Auto-Ship Profile page was originally written by a developer I work with. The project encountered many requirements changes and as a result went over budget. The development also suffered from poor performance and a non-intuitive user interface.
I was given the project to rewrite the way products were added to the profile. My design includes a popup and ajax calls to allow customers using the page to dynamically add and remove products to the form. Because of how I’m dynamically building the form, a database record for Auto-Ship Profiles is not needed prior to adding products. This was previously the case.
Quantity and pricing calculations were also corrected as a result of the new code, with monetary calculations being performed in cents and converted to dollars to avoid machine precision errors.
Besides general performance considerations that were made while writing the code, Google Closure was used to minify the javascript related to the products section. The overall result was smiles all the way around about “how fast” the new interface behaved. And a mere two extra days of development (4 weeks had already been spent on this project) made the Project Manager happy.


