Your SlideShare is downloading. ×
Introduction to CQ5
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Introduction to CQ5

34,804

Published on

A brief introduction to CQ5.

A brief introduction to CQ5.

Published in: Education, Technology
2 Comments
9 Likes
Statistics
Notes
No Downloads
Views
Total Views
34,804
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
807
Comments
2
Likes
9
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Introduction to CQ5 Michele Mostarda michele.mostarda@gmail.com www.michelemostarda.com
  • 2. Outline •CQ5 Overall Architecture •JCR •Jackrabbit •Sling •Felix •CQ5 Functional Aspects •CRX •CQ5 Authoring •CQDE •Package Manager •FileVault •References
  • 3. CQ5 CQ5 OSGi Sling Jackrabbit
  • 4. Java Content Repository (1) • Content Repository API for Java Technology Specification • Java Content Repository 1.0 (JSR-170) • Java Content Repository 2.0 (JSR-283)
  • 5. Java Content Repository (2) JCR : CAS = JDBC : DB
  • 6. Java Content Repository (3) • Repository: is composed of one or more persistent workspaces. • Workspace: directed acyclic graph of items where the edges represent the parent-child relation. • Item: either a node or a property. • Node: a node can have zero or more child items. • Property: can contain zero or more values. • Value: the content is stored in the values of the properties.
  • 7. Java Content Repository (4) • Path: identifies the location of an item. • Identifier: every node has also an identifier. • Property types: a property can be a primitive type or a pointer to a node. • Node Types: a node type defines a certain structure. • User: the user accessing the repository. • Session: the session associated to the user, defining also authorizations.
  • 8. Java Content Repository (5)
  • 9. Java Content Repository (6) Abstract Query Model Language Bindings AQM JCR-SQL2 type Query ::= Query ::= 'SELECT' columns Source source, 'FROM' Source Constraint? constraint, ['WHERE' Constraint] Ordering* orderings, ['ORDER BY' orderings] Column* columns
  • 10. Jackrabbit
  • 11. Sling (1) • REST based web framework. • Content-driven, using a JCR content repository. • Powered by OSGi. • Scripting inside, multiple languages (JSP, server-side javascript, Scala, etc.).
  • 12. Sling (2) • Wiki • Digital Asset Management • Web Content Management
  • 13. Sling (3)
  • 14. Sling (4)
  • 15. Dynamic Request Processing ▪ .esp, .ecma: ECMAScript (JavaScript) Pages (server-side execution) ▪ .jsp: Java Server Pages (server-side execution) ▪ .java: Java Servlet Compiler (server-side execution) ▪ .jst: JavaScript templates (client-side execution) ▪ .js: ECMAScript / JavaScript (client-side execution)
  • 16. Felix http://localhost:4502/system/console/bundles
  • 17. CQ5 - Functional Aspects Authoring with CQ Administering CQ Publishing and restoring Managing pages Users and Groups Social Collaboration pages Working with Workflows Digital Assets Personalization Analytics Tagging Reporting Developing with CQ Components Templates OSGi Bundles AAA Workflows
  • 18. CRX - Repository Browsing http://localhost:4502/crx/index.jsp
  • 19. CQ5 Authoring (1) http://localhost:4502/libs/wcm/auth/content/login.html?resource=/libs/wcm/content/welcome.html
  • 20. CQ5 Authoring (2)
  • 21. CQDE
  • 22. Package Manager
  • 23. FileVault http://dev.day.com/docs/en/cq/current/developing/developmenttools/developing_with_eclipse.html
  • 24. References Official Documentation: http://dev.day.com/docs/en/cq/current.html Day on Google Groups: http://groups.google.com/group/day-communique Day on Yahoo Groups: http://tech.groups.yahoo.com/group/Day-Communique/
  • 25. EOF

×