• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Introduction to CQ5

Introduction to CQ5



A brief introduction to CQ5.

A brief introduction to CQ5.



Total Views
Views on SlideShare
Embed Views



5 Embeds 29

http://www.slideshare.net 24
https://www.linkedin.com 2
http://static.slidesharecdn.com 1
http://confluence.fullsix.com 1
http://www.linkedin.com 1



Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.


12 of 2 previous next

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

    Introduction to CQ5 Introduction to CQ5 Presentation Transcript

    • Introduction to CQ5 Michele Mostarda michele.mostarda@gmail.com www.michelemostarda.com
    • Outline •CQ5 Overall Architecture •JCR •Jackrabbit •Sling •Felix •CQ5 Functional Aspects •CRX •CQ5 Authoring •CQDE •Package Manager •FileVault •References
    • CQ5 CQ5 OSGi Sling Jackrabbit
    • 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)
    • Java Content Repository (2) JCR : CAS = JDBC : DB
    • 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.
    • 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.
    • Java Content Repository (5)
    • 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
    • Jackrabbit
    • 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.).
    • Sling (2) • Wiki • Digital Asset Management • Web Content Management
    • Sling (3)
    • Sling (4)
    • 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)
    • Felix http://localhost:4502/system/console/bundles
    • 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
    • CRX - Repository Browsing http://localhost:4502/crx/index.jsp
    • CQ5 Authoring (1) http://localhost:4502/libs/wcm/auth/content/login.html?resource=/libs/wcm/content/welcome.html
    • CQ5 Authoring (2)
    • CQDE
    • Package Manager
    • FileVault http://dev.day.com/docs/en/cq/current/developing/developmenttools/developing_with_eclipse.html
    • 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/
    • EOF