FLUID-8: Lightbox and Fluid architecture needs to be factored properly

Description

Currently the vast bulk of the Fluid code resides in “Lightbox.js” which needs to be factored out into areas of different responsibility and scope.

The key change would be extracting “Reorderable.js” which includes just the core client-side definitions which are independent of the particular use case of a Lightbox - this would involve a global renaming and creating of a new JIRA artefact 😛

With commit 10335 we have the beginning of the FluidProject “modules” system and are starting to see code which arguably should be shared across multiple artefacts, e.g. “seekNodesById”, “findForm” etc.
Some of these are tied “in spirit” to the RSF client-side naming scheme, which we should also decide what status it has within Fluid. I am so far avoiding a dependence on the RSF key client-side files rsfbasic.js and rsf.js, but many of these algorithms would ultimately be common to these, for which we need some kind of policy/organisation.

The dojo.js “compilation” system is very neat, although currently suffers from a number of implementation errors which makes it unusable IMO (for example the completely opaque error on trying to load a module with a syntax error).

Comments

  • Joseph Scheuhammer commented 2007-07-17T12:04:56.000-0400

    This issue has been superceded by several smaller issues, including FLUID-25, FLUID-26, FLUID-27, FLUID-28.