CQ5 Sling
CQ5 Sling
CQ5 Sling
Bertrand Delacrtaz Senior Developer, R&D, Day Software, www.day.com Apache Software Foundation Member
http://grep.codeconsult.ch - twitter: @bdelacretaz - bdelacretaz@apache.org Logica Geneva monthly developer meeting, February 2010 slides revision: 2010-02-25
1
Bertrand Delacrtaz
Basel, Switzerland headquarters (~80 people, ~150 worldwide) Munich London Newport Beach, CA Toronto
Day allows us to quickly and reliably deliver content to our entire McFamily, helping us to be exible and drive new opportunities. Steve Wilson, Senior Director of Web Communications, McDonalds
Swiss open source award / business / 2008
content-centric products
www.day.com
2001
2001
(everything is content)
note the 3-letter domain name: weve been doing this for a while... Strong ties to the Apache Software Foundation
2009 Survived tough times (SWX:DAYN) Roy T. Fielding and David Nuescheler, Mr. REST and Mr. JCR
What
is cq5?
content management system everything is content no database? No SQL?
digital assets
JCR repository
fun to use
cq5: welcome
cq5 provides statistics on impressions and clickthrough rates -> helps selecting the best banner.
content
structures
no database? No SQL?
everything is content
JCR repository
/etc/designs/blog/kubrick/jcr:content
code content!
/libs /cq /code /install /xyz.jar
Apache Sling
Apache Software Foundation
script == servlet
HTTP
debugger
lesystem
browser
content administration UI standard servlets resource resolution custom servlets and components servlet/script resolution JSR 223 scripting WebDAV server Sling OSGi console
CQ5/Sling architecture
storage components
HTTP
debugger
lesystem
browser
content administration UI standard servlets resource resolution custom servlets and components servlet/script resolution JSR 223 scripting WebDAV server Sling OSGi console
storage components
OSGi?
OSGi is great for modularity Fosters better structured code Dynamic services and plugins Tooling needs to improve, but usable OSGi skills? - OSGi way of thinking is new... Asynchronous startup can be problematic if using declarative services
CQ5 and Sling overview
Bertrand Delacrtaz
Sling blog
46 lines of code
s d l e i f Form e h t e v i r d el d o m t conten
21
Bertrand Delacrtaz
) D ( U R C t Instan
CQ5 and Sling overview
22
Bertrand Delacrtaz
23
Bertrand Delacrtaz
more info?
www.day.com/cq5 www.day.com/crx (free download) sling.apache.org jackrabbit.apache.org felix.apache.org slideshare.net/bdelacretaz
CQ5 and Sling overview
Bertrand Delacrtaz
This slide deck is licensed under the Creative Commons Attribution-Noncommercial-Share Alike 3 license. Copyright (C) 2010, Bertrand Delacretaz