Upload
gabriel-walt
View
3.861
Download
1
Embed Size (px)
DESCRIPTION
Presentation for Webilea 3 in Basel.
Citation preview
1
Web Appsatop a
Content Repository
© 2011 Adobe Systems Incorporated. All Rights Reserved.
2
About this presentation
Code demos will be done with CRX- Commercial version of the open source technology I will
talk about
- The features shown here work the same in the OS
version
- Easier to demo in CRX
- Free download of CRX
http://www.day.com/crx
© 2011 Adobe Systems Incorporated. All Rights Reserved.
3
We all know the challenges of Web Apps
- Rapid prototyping and
development
- Highly dynamic and extensible
- Maintainable
- We want REST
© 2011 Adobe Systems Incorporated. All Rights Reserved.
4
But what exactly is a Content Repository?
Let’s take Jackrabbit for an
example- Fully conforming Java Content Repository API
- Top-level Apache project
http://jackrabbit.apache.org/
© 2011 Adobe Systems Incorporated. All Rights Reserved.
5
What Jackrabbit has to offer
- Structured content- Hierarchy- Node types- Properties- Multi-values- Ordered nodes
http://jackrabbit.apache.org/
© 2011 Adobe Systems Incorporated. All Rights Reserved.
6
What Jackrabbit has to offer
- Structured content
- Unstructured content- Unstructured node type- Binaries- Unordered nodes
http://jackrabbit.apache.org/
© 2011 Adobe Systems Incorporated. All Rights Reserved.
7
What Jackrabbit has to offer
- Structured content
- Unstructured content
- More cool stuff- Observation- Access control- Versioning- Transactions- etc.
http://jackrabbit.apache.org/
© 2011 Adobe Systems Incorporated. All Rights Reserved.
8
Where Web Apps meet the Content Repository
Web Framework- Top-level Apache project
- Built on top of JCR Content Repositories
- Implements OSGI with Apache Felix
© 2011 Adobe Systems Incorporated. All Rights Reserved.
9
What Sling has to offer
- Scriptable application layer- JSP- Server-side JavaScript- Scala- etc.
http://sling.apache.org/
© 2011 Adobe Systems Incorporated. All Rights Reserved.
10
What Sling has to offer
- Scriptable application layer
- REST based- Stateless- Easy mapping of URLs to repository nodes- Render the resource in various output formats- Act on nodes with HTTP methods- Servlet resolution (resource types)
http://sling.apache.org/
© 2011 Adobe Systems Incorporated. All Rights Reserved.
11
What Sling has to offer
Servlet resolution?
http://sling.apache.org/
Content Servlet
resourceType
© 2011 Adobe Systems Incorporated. All Rights Reserved.
12
What Sling has to offer
- Scriptable application layer
- REST based
- Implements OSGI using Felix- Yet another Apache Open Source Project- Update/Patch at runtime- Extend with no downtime- Multiple versions of the same bundle- Modularize and isolate applications
http://sling.apache.org/
© 2011 Adobe Systems Incorporated. All Rights Reserved.
13
Did we meet the challenge?
Rapid prototyping and
development
Highly dynamic and extensible
Maintainable
REST
And even more…© 2011 Adobe Systems Incorporated. All Rights Reserved.