shared code: upload with progress bar
shared code: upload with progress bar
- Subject: shared code: upload with progress bar
- From: email@hidden
- Date: Wed, 24 Sep 2003 11:57:57 CDT
- Priority: 3 (Normal)
[demime could not interpret encoding binary - treating as plain text]
The code for an upload with progress bar that I shared with the lists
before had some serious flaws. Mostly around URL-generation in a
multi-instance environment. It's been fixed, along with a couple other
minor tweaks. I've put the code on wocode.com. I think this code is
basically finished, but let's be humble and call it version .9 just in
case. But I have deployed the code in my own applications.
http://wocode.com/cgi-bin/WebObjects/WOCode.woa/1/wa/ShareCodeItem?itemId=306
The motivations for this package are:
1) When an application instance does not handle requests concurrently, a
file upload on a slow connection which takes a long time will lock
everyone else out of the instance until complete. Use of this package
solves that problem.
2) The thought that it would be nice to show the user a progress bar as
her potentially slow and long running upload progresses. [Incidentally,
solving this problem, whether or not concurrent request handling is
enabled, also solves #1 as a side effect].
3) The realization that for the ways I used WOFileUpload, there was a lot
of rather annoying setup, cleanup, bug workaround, and error handling
that I had to write, usually in the same way.
Therefore, this framework offers: A file upload component that will show
the user a progress bar; will not block out other requests for the
duration of the upload, regardless of whether or not your application is
set to handle requests concurrently; and has a somewhat different API and
behavior than the WOFileUpload component, which I find more convenient.
See README.txt file inside zip for more information. Sorry, Windows
project is provided. You can make your own framework project for OSX.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.