adobe cq5 for developers - introduction
TRANSCRIPT
© 2013 Tekno Point Consulting. All Rights Reserved.www.teknopoint.us
Adobe AEM aka CQ5Getting Started and More
Dr. Yash Mody, PhD
Tekno Point Consultingwww.teknopoint.us | www.teknopoint.in
© 2013 Tekno Point Consulting. All Rights Reserved.www.teknopoint.us
• That’s where we create websites and its content
Web Content Management
• All the digital media goes here like images, documents, movies et. Al.
Digital Asset Management
• Creating campaigns, mailers and teasers using the same content.
Campaign Management
• Automate the processes. Add users, scripts and other processes. Yes can be triggered
Workflow
• Calendar, Customer ratings, Forum, Comments and the other usual stuff (FB, Twitter)
Social Collaboration
Introduction to CQ5The way developers like it
© 2013 Tekno Point Consulting. All Rights Reserved.www.teknopoint.us
Current Version – 5.6Now called as the Adobe Experience Manager
Pre-requisites – Java v1.7, 4 GB RAM (min), CRXDE And that’s apart from a valid jar and license
Installation is double clicking a JAR(No I am not kidding !)
Set up as AuthorThat’s where all the content is generated. Called the run-mode
Getting Started
© 2013 Tekno Point Consulting. All Rights Reserved.www.teknopoint.us
Key Technologies
OSGi• The Universal Middleware. Container for Bundles. Uses Apache Felix
JCR• Java content Repository. Everything is content. Implementation used –
CRX
Apache Sling
• The REST framework responsible for delivering content form JCR
CQ WCM API
• Pages, Templates, Components, Workflows and everything else CQ is made up of
EXTJs
• Sencha JavaScript framework. Used for UI
© 2013 Tekno Point Consulting. All Rights Reserved.www.teknopoint.us
Key Terms
Template• The Blue print to make a page
Pages• This is what the Author creates
Components• Part of templates and this is where
you will spend a lot of your time. JSP, JS, CSS, i18n, ExtJs
Dialog• User Interface to collect
information from an Author. Custom created. ExtJs
Widgets• Each line item in a dialog. Sits
inside a widget collection. ExtJs
Workflow• The more I tell you the more I scare
you. Model a workflow, Run it, See the inbox, Step ahead.. Phew
© 2013 Tekno Point Consulting. All Rights Reserved.www.teknopoint.us
OSGi
Bundles
• Your Java Code. Basically a Jar with some meta information
Services
• This is what you will use and write for other bundles
Blah Blah
• Modules, Runtime and Security. Class Loader example
© 2013 Tekno Point Consulting. All Rights Reserved.www.teknopoint.us
JCR Terms
Node
• It’s the structure
Properties
• And the content. Key/Value(s) format• API
© 2013 Tekno Point Consulting. All Rights Reserved.www.teknopoint.us
JCR Structure ID FN LN1 A A2 B b
Employee
AFN:A
LN:B
BFN:A
LN:BRepository Model with multiple workspaces
Structured Data
Node Data
© 2013 Tekno Point Consulting. All Rights Reserved.www.teknopoint.us
Apache Sling
REST
URL – From JCR
Protocol – HTTP
Sling HTTP Request/ Response
POST handler
© 2013 Tekno Point Consulting. All Rights Reserved.www.teknopoint.us
Too many API’s
adapTo()
Apache Sling
JCR
OSGi
WCM
Workflows
CQ WCM
adaptTo()
© 2013 Tekno Point Consulting. All Rights Reserved.www.teknopoint.us
CQ5 Architecture – Technology Stack
© 2013 Tekno Point Consulting. All Rights Reserved.www.teknopoint.us
Other Essentials
Publish and Author instances
The 4502 secret
• Default port
Sidekick & Content Finder
• On the Authoring Page. CF is used to add content (from DAM) and Sidekick to add components and more
© 2013 Tekno Point Consulting. All Rights Reserved.www.teknopoint.us
Deployment
• CQ is a powerful rendering engine built on powerful standards. CQ runs with a webserver for content delivery. Makes Sense as well
Dispatcher
• Replication Agent. Reverse Replication AgentPublish – Author
relationship
• Lives in clusters. Single instance is a cluster of 1
Load Balancing and Clustering
© 2013 Tekno Point Consulting. All Rights Reserved.www.teknopoint.us
• CQ Sites– http://localhost:4502/siteadmin• CRX – http://localhost:4502/crx/explorer• Felix – http://localhost:4502/system/console• CRXDE – http://localhost:4502/crxde
Environments