cq5 introduction 100113040718 phpapp01
DESCRIPTION
Java Content Repository 5TRANSCRIPT
Introduction to CQ5
Michele [email protected]
Outline
•CQ5 Overall Architecture•JCR•Jackrabbit•Sling•Felix•CQ5 Functional Aspects•CRX•CQ5 Authoring•CQDE•Package Manager•FileVault•References
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 (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 (6)
Abstract Query Model
Language Bindings
JCR-SQL2 Query ::= 'SELECT' columns 'FROM' Source ['WHERE' Constraint] ['ORDER BY' orderings]
AQM type Query ::= Source source, Constraint? constraint, Ordering* orderings, Column* columns
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.).
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)
Felixhttp://localhost:4502/system/console/bundles
CQ5 - Functional AspectsAuthoring with CQ
Managing pagesPublishing and restoring
pages
Working with Workflows Digital Assets
Tagging
Administering CQ
Users and Groups Social Collaboration
Personalization Analytics
Reporting
Developing with CQ
Components Templates
OSGi Bundles AAA
Workflows
CRX - Repository Browsinghttp://localhost:4502/crx/index.jsp
CQ5 Authoring (1)http://localhost:4502/libs/wcm/auth/content/login.html?resource=/libs/wcm/content/welcome.html
FileVaulthttp://dev.day.com/docs/en/cq/current/developing/developmenttools/developing_with_eclipse.html
ReferencesOfficial 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/