Reorder Technical Overview
What is the Reorderer?
- Three layout handlers: the
GridLayoutHandler, and the
ModuleLayoutHandler. Layout handlers are responsible for understanding the overall geometry of a managed piece of markup. Users of the Reorderer may use the layout handlers provided, or create their own.
What Types of Markup Can the Reorderer Manipulate?
Any arbitrary stream of HTML markup can be sent to the Reorderer, provided that the reorderable elements:
- are located within a container element that is passed to the Reorderer object upon instantiation,
- can be identified by a function that is passed to the Reorderer upon instantiation
Where is the Reorderer Currently Used?
The Reorderer objects power the Lightbox, a concrete Fluid component designed to allow users to reorder images within an imaging application. The Lightbox is used within the Sakai Image Gallery tool. We also expect it to be integrated into Sakai's Page Order Helper, written by Josh Ryan, and the uPortal layout preferences UI.
More information about the relationship between the Reorderer, the Image Reorderer (formerly Lightbox), and the Gallery can be found on the Reorderer-Lightbox Separation of Concerns page.