© 2013 Tekno Point Consulting. All Rights Reserved.www.teknopoint.us
Adobe AEM aka CQ5
Getting Started and More
Dr. Yash Mody, PhD
Tekno Point Consulting
www.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 CQ5
The way developers like it
© 2013 Tekno Point Consulting. All Rights Reserved.www.teknopoint.us
Current Version – 5.6
Now 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 Author
That’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 LN
1 A A
2 B b
Employee
A
FN:A
LN:B
B
FN: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
• Default port
The 4502 secret
• On the Authoring Page. CF is used to add content (from DAM) and
Sidekick to add components and more
Sidekick & Content Finder
© 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 Agent
Publish –
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

Adobe CQ5 for Developers - Introduction

  • 1.
    © 2013 TeknoPoint Consulting. All Rights Reserved.www.teknopoint.us Adobe AEM aka CQ5 Getting Started and More Dr. Yash Mody, PhD Tekno Point Consulting www.teknopoint.us | www.teknopoint.in
  • 2.
    © 2013 TeknoPoint 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 CQ5 The way developers like it
  • 3.
    © 2013 TeknoPoint Consulting. All Rights Reserved.www.teknopoint.us Current Version – 5.6 Now 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 Author That’s where all the content is generated. Called the run-mode Getting Started
  • 4.
    © 2013 TeknoPoint 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
  • 5.
    © 2013 TeknoPoint 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
  • 6.
    © 2013 TeknoPoint 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
  • 7.
    © 2013 TeknoPoint Consulting. All Rights Reserved.www.teknopoint.us JCR Terms Node • It’s the structure Properties • And the content. Key/Value(s) format • API
  • 8.
    © 2013 TeknoPoint Consulting. All Rights Reserved.www.teknopoint.us JCR Structure ID FN LN 1 A A 2 B b Employee A FN:A LN:B B FN:A LN:BRepository Model with multiple workspaces Structured Data Node Data
  • 9.
    © 2013 TeknoPoint Consulting. All Rights Reserved.www.teknopoint.us Apache Sling REST URL – From JCR Protocol – HTTP Sling HTTP Request/ Response POST handler
  • 10.
    © 2013 TeknoPoint Consulting. All Rights Reserved.www.teknopoint.us Too many API’s adapTo() Apache Sling JCR OSGi WCM Workflows CQ WCM adaptTo()
  • 11.
    © 2013 TeknoPoint Consulting. All Rights Reserved.www.teknopoint.us CQ5 Architecture – Technology Stack
  • 12.
    © 2013 TeknoPoint Consulting. All Rights Reserved.www.teknopoint.us Other Essentials Publish and Author instances • Default port The 4502 secret • On the Authoring Page. CF is used to add content (from DAM) and Sidekick to add components and more Sidekick & Content Finder
  • 13.
    © 2013 TeknoPoint 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 Agent Publish – Author relationship • Lives in clusters. Single instance is a cluster of 1 Load Balancing and Clustering
  • 14.
    © 2013 TeknoPoint 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