Drag and Drop event handling is one of the new toys in HTML5 available since FireFox 3.6. You can now let users drag files of just about any type directory onto web page without having to use <input type="file">, let them see the preview immediately without an intermediate upload and upload directly through a new binary XmlHttpRequest. Sending some other data, say a description of the image being uploaded, together with the binary file is a more complex story for which I did not see a solution yet and had to figure out for myself.
Read more...
Storing hierarchical data in relational databases, such as MySQL, is an age old question. There have been some solutions such as Adjacency Model or, to a certain extent, Entity Relationship Model. Oracle, on the other hand, although being a relational database has a good support for hierarchical data with its connect by clause but with an express edition being somewhat limited, and the price tag for a standard edition is a hefty $5′800 (enterprise going for $47′500), for an average open source developer its not an option.
Read more...Page 1 of 7