Gallery
The gallery is two things; an interactive web-application for browsing images and folders on my remote server, and a place to showcase images and things of interest.
Code behind
From a programming point of view; the gallery is a PHP file explorer that uses URL rewriting to break apart the address and pick a remote folder to list. The output of this is coded HTML using <a> tags and <label> tags to contain information about the gallery. Its equivalent to displaying XML within the page, but has the benefit that its a HTML microformat so can be displayed using CSS rules without an XSTL transformation.
Once the HTML is rendered, the page is then rewritten using javascript. Using JQuery to process the gallery HTML additional features like changing the icons, filtering, and pagination can be added. This separation on concerns between PHP as a data/HTML source and JS as an browsing application means I can extend and reuse the JS part with different output formats without being tied to PHP as a base technology.