In the previous episode, we started working on some of the higher level concerns within the uploader project. The end result was an encapsulation of the “progress bar” – an easy way to show the current status of the upload, with a simple API.
Taking the same idea of encapsulation, this episode begins the work on the last major part of the uploader: the form itself.
However, there are multiple parts of the form that have to be handled – multiple entry points into the overall workflow. This creates some challenge in keeping the code clean, creating a single API, and not biting off too much work all at once.
As this episode begins to encapsulate the form, you'll see how multiple entry points in the workflow can be captures by a single API – but not all at once.
This is the first of two parts to correctly build a form object to handle the overall workflow of the uploader.