Archive

Archive for January, 2008

ePrint web-based print order form

January 29th, 2008 Randy No comments

This is a web application that I built for NAIT’s in-house printing department.

The initial idea was simple: create a webpage that lets customers place printing orders on-line. I had previously implemented an online solution for the photo department and they wanted something similar. (The photo solution, called epix, is actually a customization of the Web Publisher Pro application which is an add-on to Canto’s Cumulus digital asset management package.)

Of course it was not so simple to build. Firstly there were many iterations of the form itself as I worked with the client to fine tune the job specification details. The HTML solution was to show only those choices relevant to the selected job type. This was done with a combination of javascript and css so that items were shown and hidden based on a combo box selection.

The other requirement was the ability to upload files. I found a JSP (JavaServer pages) based library (Apache Tomcat was being used as the application server) that worked for us. When the user clicks submit, a bunch of javascript-based validation is invoked. When validation passes an email is formatted and sent to an ASP mail service.

This web application was deployed and saw a LOT of use. Too much, says the client :) But there were some usability problems. The JSP upload library turned the page into an old-school post-back page: the customer uploaded a file and then the page reloaded itself and repopulated itself based on the session variables etc. This made the page very complicated to build, debug and enhance. Also there was confusion with the standard html-based upload mechanism where the user selects the file AND THEN clicks upload. Not intuitive.

So I developed version 2 which replaces the upload functionality with a Flash-based widget that talks to my custom written java servlet to handle the upload. It provides mush better user feedback and does not require a page refresh (I was inspired by Flickr’s new upload page). The submit button is also Flash based so that a page refresh is not required to give feedback about the success or failure of the submission.

The result is a webpage with a simpler architecture: HTML, CSS, Javascript and Flash that is very AJAX in the way it works. On the server side are two custom written Java servlets that handle upload and email. Simple, but not simple.

ePrint web order form

Atlanta 360|Flex conference

January 26th, 2008 Randy No comments

I attended the San Jose 360|Flex conference in 2007 and it was investment that continues to pay dividends for me. I met many people from the Flex/Flash world (in no particular order): Tom Ortega, John Wilker, Phillip Kerman, Christian Cantrell, Dan Polygeek Florio, Zach Graves, Aaron King, Scott Morgan, Marke Anders, Mike Chambers, Mike Downey, Josh Tynjala, Ted Patrick, Victor Rubba, Peter Mckiernan, Ely Greenfield, Ben Lucyk and Clint Modien. Zach and Aaron were kind enough to let me hang out with them since I was a stranger from another country. I went to fantastic presentations and gained a new respect for Adobe and their people. I learned a ton. I think the conference is just the right size to foster the kind of atmosphere that makes is worthwhile to attend.

Consider going to Atlanta on Feb. 25 2008. You won’t regret it.

Categories: Flash development, Flex development Tags:
Download Full Movie Online Street Kings download movie Behind Enemy Lines II: Axis of Evil download movie The Station Agent download movie Sister Act 2: Back in the Habit download movie Reversible Errors download movie Retrograde download movie Sister Act download movie Radio download movie Prince Valiant download movie Play dead download movie Cry for help download movie Witchboard download movie Conan the barbarian download movie Fire down below download movie Dadnapped download movie Groundhog day download movie