Permalink
Browse files

README updated

  • Loading branch information...
qawemlilo committed Dec 6, 2011
1 parent 95e3e31 commit 7d8fdf4b1f88d5e0ea60309a06141b834c0a08e5
Showing with 30 additions and 13 deletions.
  1. +23 −11 README
  2. +7 −2 index.php
View
34 README
@@ -2,22 +2,34 @@
**********************************************************
Author: Qawelesizwe Mlilo
Email: qawemlilo@gmail.com
-Description: Customised Simple SWFUpload Demo
+Description: Customized Simple SWFUpload Demo
+Demo:
**********************************************************
*/
The story.
I came across the SWFUpload plugin when I was working a project for a client who wanted to allow up to 300 image file uploads per user.
What's Nice?
- 1. The ability to select multiple files in the file browser dialog
- 2. SWFUpload allows for multiple file uploads without refreshing the page.
- 3. SWFUpload fires severals events during the upload process.
- (the developer can use the events to update the UI and handle errors).
- 4. It is fast.
- 5. Files start uploading as soon as the user has finished selecting them.
- 6. Its highly customisable.
-
-
+ * The ability to select multiple files in the file browser dialog
+ * "Ajax style" multiple file uploads without refreshing the page.
+ * SWFUpload fires several events during the upload process.
+ (the developer can use the events to update the UI and handle errors).
+ * It is fast.
+ * Its highly customizable.
+
+What I didn't like
+ * The UI of the available demos is not a friendly one when dealing with a lot of files.
+ * Too much code for handling events
+ * File upload limit is reset whenever the user refreshes the page
+ * SWFUpload Object resets the file count everytime we open the browser file dialog box
+
+What this demo does
+I have taken the simple demo and thrown away excess code(namely, fileprogress.js) and re-written the event handler functions.
+I have added the following features:
-
+ * A progress bar that tracks the number of files uplaoded
+ * A counter for the number of files uploaded
+ * A status update for current file being uploaded
+ * JavaScript Cookie tracking that ensures the user does not exceed file upload limit
+
View
@@ -61,9 +61,14 @@
<h1 id="logo"><a href="../">SWFUpload</a></h1>
<div id="version">v2.2.0</div>
</div>
-
+
+ <!-- fork me -->
+ <a target="_blank" href="http://github.com/qawemlilo/customized-swfupload">
+ <img style="position: absolute; top: 0; right: 0; border: 0;" src="https://a248.e.akamai.net/assets.github.com/img/30f550e0d38ceb6ef5b81500c64d970b7fb0f028/687474703a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6f72616e67655f6666373630302e706e67" alt="Fork me on GitHub">
+ </a>
+
<div id="content">
- <h2>Customised Simple Demo</h2>
+ <h2>Custom Simple Demo</h2>
<form id="form1" action="index.php" method="post" enctype="multipart/form-data">

0 comments on commit 7d8fdf4

Please sign in to comment.