Part of good user experience design means providing good feedback to the user as they navigate through and interact with an application. Providing progress bars to give users a sense of status as they upload files is one such feedback mechanism, and a popular one at that.
There are many different ways to implement upload progress bars. Some fake the progress bar with a simple animated image. Others use Java or Flash to handle both the upload and the status indication. However, through the use of Ajax, it is possible for PHP to asynchronously return the progress of the uploaded file.
This talk will examine two ways to implement Ajax-driven progress bars with PHP's APC extension and pecl/uploadprogress. The talk will explore the benefits and drawbacks to each approach, as well as some of the more advanced functionality provided by pecl/uploadprogress.