CQ 5 Developer Training
Click Here For Enquiry
DAY 1
Introduction
- Introduction
- Overview
- A look inside
Internal layers
- WCM
- Workflow engine
- Components
- Widgets
- Key Principles
- Platform Architecture
Servlet engine
Startup sequence
Author and Publish instances
Web server and Dispatcher
Replication agents
Environments
- Development
- Test/QA
- Production
Installation, startup, and project setup
Requirements
Author instance
EXERCISE – install an Author instance
EXERCISE – browse noted interfaces
EXERCISE – become familiar with CRXDE Lite
EXERCISE – create a training project (using Lite)
- Key CQ5 elements
- Templates
EXERCISE – create a Template (using Lite)
EXERCISE – create a Page Component, with default script (using Lite)
EXERCISE – create a simple Web site page structure (using Lite)
- Installing/starting CRXDE
EXERCISE – install and start CRXDE (will be used from now on)
DAY 2
- URL decomposition
- Sling request processing
- REST
- General mapping
EXERCISE – create multiple scripts for Page component (html.jsp, m.html.jsp)
- Function of the global.jsp
- Predefined objects
- Used APIs
- Used TagLibs
EXERCISE – include the global.jsp in the Page component
- Accessing content
- Key objects (currentPage, resource, properties, currentNode)
EXERCISE – display Page title, and other basic content
- Enhancing the Page component
- Component script inclusion (run time vs. compilation time)
EXERCISE – breakout and include body.jsp
WCM initialization
EXERCISE – initialize the WCM
- Component hierarchy
- Component inheritance
- Extending existing components
EXERCISE – extend the foundation page component
- Extending script structure
EXERCISE – add structure to Page component
- Designer overview (behavior/implications)
- Creating a design
EXERCISE – create a new design
EXERCISE – assigning a design
- Content component overview
- Relevant concepts
- Rendering (text/image)
- Authoring (brief on Dialog/Widgets)
- Component inclusion in Templates
- Navigation
- Relevant functionality
- Getting a Page
- Listing its valid children
- Getting a child’s title
- Getting a child’s path
EXERCISE – simple text navigation component
EXERCISE – add simple log message
EXERCISE – run CRXDE in debugger mode
- Image rendering
- Concepts
- API essentials
EXERCISE – image based top nav component
DAY 3
- Content Authoring components
- Dialogs
- Widgets
EXERCISE – simple title component
- Edit/Design mode overview
- Global impact
EXERCISE – logo component
- Including foundation components
EXERCISE – include foundation component (breadcrumb)
- The paragraph system
- Overview
EXERCISE – include the parsys component, add content to the page
- Creating complex components
- Things to consider
- Edit vs. design mode
- Widgets
- Allowed parents
- Rendering both text and image content
- Enabling “drop target” capabilities
EXERCISE – create a text and image component
- Searching CQ5
- Overview
- JCR vs. CQ5 search methods
EXERCISE – create a CQ5 search component
- Review key Widgets
- Textfield
- Textarea
- Richtext
- Smartimage
- Selection
- Multitextfield
- Pathcomplete
- Browsefield
- Internationalization concepts
- Project specific
- Component specific
EXERCISE – define a component specific i18n
- Review code specific use of internationalization
DAY 4
- Widget (xtype) development
- Creating a Widget
- Registering that Widget
EXERCISE – create and register a Widget, use that widget
EXERCISE – create and download CRX package
- OSGi Bundles
- What are they
- OSGi components, services,annotations
- How to manage them
- Upload
- Start
- Stop
EXERCISE – create a simple Hello World bundle
XERCISE – consume Sling service (bundle)
- Performance Optimization and Tuning
- Overview of basic rules
- Common performance problems
- Tools and Mechanisms
- Monitoring response times
- Finding long running pages
EXERCISE – find the longest running 10 pages using rlog.jar
- Security Overview
- Changing the default passwords
- Disabling WebDAV
- Restricting access via dispatcher
- Checking for cross-site scripting (XSS)
EXERCISE – changing default passwords
DAY 5
- vlt
- Users and Group
- Version Purging tool
- Activate and Deactivate page
- Replication agents
- Workflow basic
- Custom workflow process step
EXERCISE – create custom workflow step
EXERCISE - Configure Replication agent
- What is Digital Asset Management?
- CQ DAM fully integrated in CQ WCM
- Digital Asset Management versus Image Component
- How to Work With Assets
- How to Apply Workflows to Digital Assets
- Managing Digital Assets CRX packages
- Editing Assets
- Uploading
- Viewing References to Assets
- Editing Asset Metadata
- Deleting/copying/renaming/moving assets
- Activating and Deactivating Assets
- DAM Health Checker
-