incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Sling Website > Apache Sling
Date Tue, 10 Aug 2010 12:15:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1810/9/1/_/styles/combined.css?spaceKey=SLINGxSITE&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://cwiki.apache.org/confluence/display/SLINGxSITE/Apache+Sling">Apache
Sling</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~jck">Jean-Christophe
KAUTZMANN</a>
    </h4>
        <br/>
                         <h4>Changes (0)</h4>
                                 
    
<div id="page-diffs">
            <table class="diff" cellpadding="0" cellspacing="0">
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >The embedded [Apache Felix|http://felix.apache.org/]
OSGi framework and console provide a dynamic runtime environment, where code and content bundles
can be loaded, unloaded and reconfigured at runtime. <br> <br></td></tr>
            <tr><td class="diff-unchanged" >As the first web framework dedicated
to [JSR-170|http://jcp.org/en/jsr/detail?id=170] Java Content Repositories, Sling makes it
very simple to implement simple applications, while providing an enterprise-level framework
for more complex applications.  <br></td></tr>
            <tr><td class="diff-unchanged" > <br>h2. News <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
        </table>
</div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <h1><a name="ApacheSling-ApacheSlingBringingBacktheFun"></a>Apache
Sling - Bringing Back the Fun</h1>

<p>Apache Sling is an innovative web framework that is intended to bring back the fun
to web development.</p>

<p>Discussions about Sling happen on our mailing lists, see the <a href="/confluence/display/SLINGxSITE/Project+Information"
title="Project Information">Project Information</a> page for more info.</p>

<h1><a name="ApacheSling-ApacheSlinginfivebulletspoints"></a>Apache Sling
in five bullets points</h1>

<ul>
	<li>REST based web framework</li>
	<li>Content-driven, using a JCR content repository</li>
	<li>Powered by OSGi</li>
	<li>Scripting inside, multiple languages (JSP, server-side javascript, Scala, etc.)</li>
	<li>Apache Open Source project</li>
</ul>


<h1><a name="ApacheSling-ApacheSlinginahundredwords"></a>Apache Sling in
a hundred words</h1>

<p>Apache Sling is a web framework that uses a <a href="http://en.wikipedia.org/wiki/JSR-170"
class="external-link" rel="nofollow">Java Content Repository</a>, such as <a href="http://jackrabbit.apache.org/"
class="external-link" rel="nofollow">Apache Jackrabbit</a>, to store and manage content.</p>

<p>Sling applications use either scripts or Java servlets, selected based on simple
name conventions, to process HTTP requests in a RESTful way.</p>

<p>The embedded <a href="http://felix.apache.org/" class="external-link" rel="nofollow">Apache
Felix</a> OSGi framework and console provide a dynamic runtime environment, where code
and content bundles can be loaded, unloaded and reconfigured at runtime.</p>

<p>As the first web framework dedicated to <a href="http://jcp.org/en/jsr/detail?id=170"
class="external-link" rel="nofollow">JSR-170</a> Java Content Repositories, Sling
makes it very simple to implement simple applications, while providing an enterprise-level
framework for more complex applications. </p>

<h2><a name="ApacheSling-News"></a>News</h2>

<p><ul>
	<li>New release: Apache Sling GWT Integration 3.0.0 (July 30, 2010)</li>
	<li>New releases: Apache Sling Commons OSGi 2.0.6, Launchpad Base 2.2.0 and Maven Launchpad
Plugin 2.0.6 (April 27, 2010)</li>
	<li>New releases: Apache Sling Event 2.3.0, Apache Sling Scripting Core 2.1.0, Apache
Commons MIME 2.1.4, and Apache Sling FileResource Provider 1.0.0 (March 1, 2010)</li>
	<li>Eric Norman added as a committer (February 17, 2010)</li>
	<li>New release: Apache Sling Sample Path Based Resource Type Provider 2.0.4 (February
22, 2010)</li>
	<li>New releases: Apache Sling Event 2.2.0, Apache Sling Scripting API 2.1.0, and Apache
Sling Thread Dumper 0.2.0 (Feburary 19, 2010)</li>
	<li>New releases: Apache Sling JCR WebDav 2.0.8, Apache Sling JCR ContentLoader 2.0.6,
Apache Sling JCR UserManager 2.0.4, Apache Sling JCR Server 2.0.6, Apache Sling JCR AccessManager
2.0.4, Apache Sling JCR Base 2.0.6 (February 17, 2010)</li>
</ul>
</p>
<ul>
	<li><a href="/confluence/display/SLINGxSITE/News" title="News">all news...</a></li>
</ul>


<h2><a name="ApacheSling-History"></a>History</h2>

<p>Sling started as an internal project at <a href="http://www.day.com" class="external-link"
rel="nofollow">Day Software</a>, and entered the Apache Incubator in September 2007.
As of June, 17th, 2009 Apache Sling is a top level project of the Apache Software Foundation.</p>

<p>The name "Sling" has been proposed by Roy Fielding who explained it like this:</p>

<blockquote>
<p>[The name is] Biblical in nature.  The story of David: the weapon he uses to slay
the giant Goliath is a sling.  Hence, our David's [David Nuescheler, CTO of Day Software]
favorite weapon.</p>

<p>It is also the simplest device for delivering content very fast.</p></blockquote>


<h2><a name="ApacheSling-WhousesSling%3F"></a>Who uses Sling?</h2>

<p>See <a href="http://cwiki.apache.org/SLING/who-is-using-sling-.html" class="external-link"
rel="nofollow">Who is using Sling</a> on our public wiki.</p>

<h2><a name="ApacheSling-Gettingstarted"></a>Getting started</h2>

<p>If you prefer doing rather than reading, please proceed to <a href="/confluence/display/SLINGxSITE/Discover+Sling+in+15+minutes"
title="Discover Sling in 15 minutes">Discover Sling in 15 minutes</a> or read through
the recommended links in the <a href="/confluence/display/SLINGxSITE/Getting+Started" title="Getting
Started">Getting Started</a> section, where you can quickly get started on your own
instance of Sling.</p>

<div class='panelMacro'><table class='noteMacro'><colgroup><col width='24'><col></colgroup><tr><td
valign='top'><img src="/confluence/images/icons/emoticons/warning.gif" width="16" height="16"
align="absmiddle" alt="" border="0"></td><td><b>Excuse our mess while
we redesign</b><br />Sling has undergone an important redesign in the last few
months, and we're not done updating this website yet.

<p>The status of each page is indicated by a note like this at the top of each page.</p>

<p>Pages which do not have such a note should be considered <b>not reviewed</b>:
the information that they contain might be out of sync with the current Sling codebase.</p></td></tr></table></div>

<h2><a name="ApacheSling-Contents"></a>Contents</h2>

<ul>
	<li><a href="/confluence/display/SLINGxSITE/Documentation" title="Documentation">Documentation</a>
&#45; Here you will find the documentation on Sling</li>
	<li><a href="/confluence/display/SLINGxSITE/Development" title="Development">Development</a>
&#8211; Documentation on how to develop web applications with Sling and what tools you
have at your disposal</li>
	<li><a href="/confluence/display/SLINGxSITE/Links" title="Links">Links</a></li>
	<li><a href="http://cwiki.apache.org/SLING/" class="external-link" rel="nofollow">Wiki</a></li>
	<li><a href="http://cwiki.apache.org/SLING/faq.html" class="external-link" rel="nofollow">FAQ</a></li>
	<li><a href="/confluence/display/SLINGxSITE/Project+Information" title="Project
Information">Project Information</a></li>
</ul>



<h2><a name="ApacheSling-UseCasesforSling"></a>Use Cases for Sling</h2>


<h4><a name="ApacheSling-Wiki"></a>Wiki</h4>

<p>Day 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.</p>

<p>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.</p>

<p>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.</p>



<h4><a name="ApacheSling-DigitalAssetManagement"></a>Digital Asset Management</h4>

<p>Day 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).</p>

<p>Again, the managed assets may be easily spooled by directly accessing them.</p>



<h4><a name="ApacheSling-WebContentManagement"></a>Web Content Management</h4>

<p>Last but not least, Sling offers itself very well to implementing a Web Content Management
system. Thanks to the flexibility of rendering the output - remember: 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.</p>


<h2><a name="ApacheSling-References"></a>References</h2>


<h4><a name="ApacheSling-ApacheJackrabbit"></a>Apache Jackrabbit</h4>

<p>The 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 <a href="http://jackrabbit.apache.org"
class="external-link" rel="nofollow">Apache Jackrabbit</a> is provided out of the
box.</p>

<h4><a name="ApacheSling-OSGi"></a>OSGi</h4>

<p>Sling is implemented as a series of <a href="http://www.osgi.org" class="external-link"
rel="nofollow">OSGi</a> Bundles and makes extensive use of the OSGi functionality,
such as lifecycle management and the service layer. In addition, Sling requires several OSGi
compendium services to be available, such as the Log Service, Http Service, Configuration
Admin Service, Metatype Service, and Declarative Services.</p>

<h4><a name="ApacheSling-ApacheFelix"></a>Apache Felix</h4>

<p>While Sling does not require a specific OSGi framework implementation to run in,
Sling is being developed using <a href="http://felix.apache.org" class="external-link"
rel="nofollow">Apache Felix</a> as the OSGi framework implementation. It has not
been tested yet, but it is expected that Sling also operates perfectly inside other OSGi frameworks
such as <a href="http://www.eclipse.org/equinox" class="external-link" rel="nofollow">Equinox</a>
and <a href="http://www.knopflerfish.org" class="external-link" rel="nofollow">Knopflerfish</a>.</p>
    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;">
            <a href="https://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
        </div>
        <a href="https://cwiki.apache.org/confluence/display/SLINGxSITE/Apache+Sling">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=76151&revisedVersion=24&originalVersion=23">View
Changes</a>
                |
        <a href="https://cwiki.apache.org/confluence/display/SLINGxSITE/Apache+Sling?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message