33
1 ADOBE CQ ENHANCEMENTS FOR RESPONSIVE DESIGN AND EDITORIAL CONTROL

EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

1

ADOBE CQ ENHANCEMENTS FOR RESPONSIVE DESIGN AND EDITORIAL CONTROL

Page 2: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

2

INTRODUCTION

• Christopher Leggett

• Senior Developer

• Velir

• 6 Years Web Development Experience

Page 3: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

3

VELIR

Page 4: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

4

CQ ENHANCEMENTS

Focus For Enhancements

• Support Responsive Design

• Ease Content Entry

• Aim To Solve Common Needs

• Contribute To The CQ Communityhttps://github.com/Velir/AEM-Toolbox

Page 5: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

5

CQ ENHANCEMENTS

Enhanced Image Servlet• New Resizing Options

New Widgets• Structured Multi List• YouTube Search

Rich Text Editor Plugins• New RTE Plugins• How To Build Your Own

Page 6: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

6

CQ ENHANCEMENTSEnhanced Image Servlet

Existing Image Servlet

Page 7: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

7

CQ ENHANCEMENTSEnhanced Image Servlet

Existing Image Servlet Features

Page 8: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

8

CQ ENHANCEMENTSEnhanced Image Servlet

Resizing Considerations

Page 9: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

9

CQ ENHANCEMENTSEnhanced Image Servlet

Hard Width/Height Resizing

Page 10: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

10

CQ ENHANCEMENTSEnhanced Image Servlet

Max Width/Height and Min Width/Height Resizing

Page 11: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

11

CQ ENHANCEMENTSEnhanced Image Servlet

How To Use It

Page 12: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

12

CQ ENHANCEMENTSEnhanced Image Servlet

Skip Image Resizing With “.no” Selector• Image Gallery

Page 13: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

13

CQ ENHANCEMENTSEnhanced Image Servlet

Page 14: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

14

CQ ENHANCEMENTSEnhanced Image Servlet

Demo

Page 15: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

15

CQ ENHANCEMENTSStructured Multi List Widget

CQ Widgets

Page 16: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

16

CQ ENHANCEMENTSStructured Multi List Widget

What’s Missing

Page 17: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

17

CQ ENHANCEMENTSStructured Multi List Widget

Carousel Component

Page 18: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

18

CQ ENHANCEMENTSStructured Multi List Widget

Cast Of Heroes

Page 19: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

19

CQ ENHANCEMENTSStructured Multi List Widget

Our Solution

Page 20: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

20

CQ ENHANCEMENTSStructured Multi List Widget

Vault XML Definition

Page 21: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

21

CQ ENHANCEMENTSStructured Multi List Widget

Demo

Page 22: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

22

CQ ENHANCEMENTS

YouTube Search Widget

Page 23: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

23

CQ ENHANCEMENTSYouTube Search Widget

Demo

Page 24: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

24

CQ ENHANCEMENTSRich Text Editor Plugins

Rich Text Editor

Page 25: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

25

CQ ENHANCEMENTSRich Text Editor Plugins

Provided Plugins

• Basic Formatting (Bold, Italic, Underline)• Justify (Left, Right, Center)• Hyperlinks• Lists• Format (Wrapping Tag)• Styling (CSS Class)• Tables• Source Editing• Special Characters

Page 26: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

26

CQ ENHANCEMENTSRich Text Editor Plugins

Additional Plugins

• Blockquote Plugin

• Formatting Plugin

Page 27: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

27

CQ ENHANCEMENTSRich Text Editor Plugins

Demo

Page 28: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

28

CQ ENHANCEMENTSRich Text Editor Plugins

What’s needed to build a plugin• Plugin object (Extends CQ.form.rte.plugins.Plugin)• UI objects (Extends CQ.form.rte.ui.TbElement)• Command objects (Extends CQ.form.rte.commands.Command)

Page 29: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

29

CQ ENHANCEMENTSRich Text Editor Plugins

Three Execution Paths

• UI Initialization

• Command Execution

• UI Updates

Page 30: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

30

CQ ENHANCEMENTSRich Text Editor Plugins

UI Initialization

Page 31: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

31

CQ ENHANCEMENTSRich Text Editor Plugins

Command Execution

Page 32: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

32

CQ ENHANCEMENTSRich Text Editor Plugins

UI Updates

Page 33: EVOLVE'13 | Enhance | Responsive Design | Chis Leggett

33

CQ ENHANCEMENTS

Christopher LeggettSenior [email protected]

Open Source• https://github.com/Velir/AEM-Toolbox

.com