Uplpu: A file upload component
The HTML form element <input type="file"> lets you select a
file on your computer for upload to a web server.
But this way of uploading is very annoying, when uploading larger files, as it can
leave you without any feedback or page content for minutes.
Uplpu lets you select a file in the same way, but handles the file upload
through its own http connection while displaying the progress of the upload.
It does not need a form and will not effect the surrounding page content,
before, during or after the upload, unless you script an event to do so.
For integration of this component into an existing system it is good to know that
Uplpu sends various events to a specified JavaScript handler during each stage
of the upload.
For the appearance Uplpu exposes its configuration tree with properties that set
the metrics, fonts and colors, ready to be modified in JavaScript just before
initialization.
Each Uplpu component needs to be compiled especially for the domain on which it
will run. It can be setup to do uploads to any other domain, but the component
self will become active when loaded from the domain it is compiled for.
This prevents distribution and usage of unwanted copies and ensures that what
belongs to you or your client can only be used by you or your client.
|