Description
Following up on the "[RT] Shall we merge microsling into Sling?" [1] and "µsling 2.0 requirements" [2] threads on sling-dev, we need to merge microsling into Sling.
Here the are requirements as discussed in [2] (taking into account Felix's comment about WebDAV and Michael's comment about switching to other JCR repositories):
µsling 2.0 is a preconfigured instance of Sling, meant to allow web developers to test drive Sling by building scripted web and REST applications backed by a JCR repository.
The µsling 2.0 distribution only requires a Java 5 VM to run, no installation is needed. Fifteen minutes should be enough to start µsling and understand the basic concepts, based on self-guiding examples. µsling should ideally be delivered as a single runnable jar file.
Java programming is not required to build web and REST applications with µsling 2.0: both server-side and client-side javascript code and presentation templates can be used to process HTTP requests. Other scripting and templating languages (JSP and BSF-supported ones) can be plugged in easily.
The µjax "application protocol" and client-side javascript "JCR proxy" library make it easy to write powerful Ajaxish JCR-based applications with µsling 2.0.
µsling 2.0 is built on the same codebase as Sling, it's only a specific configuration of Sling.
All µsling 2.0 features are available in Sling applications, as long as they are enabled in the Sling configuration.
Sling (and µsling, as it runs the same core code) uses OSGi to modularize the framework, but µsling does not require any OSGI skills, and makes OSGI largely invisible to beginners.
All Sling features and modules can also be activated in a µsling 2.0 instance, by installing and activating the required OSGi bundles.
µsling 2.0 passes all the integration tests of the existing microsling test suite (SVN revision 605206), with minor adaptations where needed.
µsling 2.0 includes a WebDAV server module to make it easy to copy scripts into the JCR repository.
[1] http://markmail.org/message/2s7agnu5kklti6da
[2] http://markmail.org/message/atbjzjjp2wflkotb