|
Page Edited :
SLINGxSITE :
Apache Sling
Apache Sling has been edited by Mike Mueller (Jun 01, 2009). Content:Apache Sling - Bringing Back the FunApache Sling is an innovative web framework that is intended to bring back the fun to web development. It uses all those nice cool and new technologies that make up a state-of-the-art framework. This is Apache Sling in five bullets:
Welcome to SlingApache Sling (currently in incubation Sling applications use either scripts or Java servlets, selected based on simple name conventions, to process HTTP requests in a RESTful way. The embedded Apache Felix As the first web framework dedicated to JSR-170 Discussions about Sling happen on our mailing lists, see the Project Information page for more info. HistorySling started as an internal project at Day Software The name "Sling" has been proposed by Roy Fielding who explained it like this:
Who uses Sling?Being a young project, Sling does not have a large user base yet, but due to its unique features interest is growing steadily. We'll happily add more references here, let us know if you have concrete examples. The upcoming next generation of Day Software's products (CMS, collaboration tools, digital asset management, ...) is built on Sling and Jackrabbit. Getting startedIf you prefer doing rather than reading, please proceed to Discover Sling in 15 minutes or read through the recommended links in the Getting Started section, where you can quickly get started on your own instance of Sling.
Contents
Use Cases for SlingWikiDay built a Wiki system on Sling. Each Wiki page is a node (with optional child nodes) in the repository. As a page is requested, the respective node is accessed and through the applying Component is rendered. Thanks to the JCR Mapping and the resolution of the Component from the mapped Content, the system does not care for what actual node is addressed as long as there is a Content mapping and a Component capable of handling the Content. Thus in the tradition of REST, the attachement of a Wiki page, which happens to be in a node nested below the wiki page node is easily accessed using the URL of the wiki page attaching the relative path of the attachement ode. The system resolves the URL to the attachement Content and just calls the attachement's Component to spool the attachement. Digital Asset ManagementDay has implemented a Digital Asset Management (DAM) Application based on Sling. Thanks to the flexibility of the Content/Component combo as well as the service registration/access functionality offered by OSGi, extending DAM for new content type is merely a matter of implementing one or two interfaces and registering the respective service(s). Again, the managed assets may be easily spooled by directly accessing them. Web Content ManagementLast but not least, Sling offers itself very well to implementing a Web Content Management system. Thanks to the flexibility of rendering the output - remmber: the system does not care what to render, as long as the URL resolves to a Content object for which a Component exists, which is called to render the Content - providing support for Web Content authors (not PHP programmers but users out in the field) to build pages to their likings can easily be done. ReferencesApache JackrabbitThe main purpose of Sling is to develop a content-centric Web Application framework for Java Content Repository (JCR) based data stores. Sling is implemented - with the notable exception of JCR Node Type management - purely in terms of the JCR API and as such may use any JCR compliant repository. The default implementation for Apache Jackrabbit OSGiSling is implemented as a series of OSGi Apache FelixWhile Sling does not require a specific OSGi framework implementation to run in, Sling is being developed using Apache Felix |
Unsubscribe or edit your notifications preferences
