The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup

31
The New Way of Developing with AEM 6.0 Sightly | Beautiful Markup Şenol Taş, Senior Computer Scientist, Adobe Follow me @thelabertasch Stay informed about Sightly @sightlyio Tweet during my talk #BeautifulMarkup #aemhub

description

 

Transcript of The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup

Page 1: The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup

The New Way of Developing with AEM 6.0Sightly | Beautiful MarkupŞenol Taş, Senior Computer Scientist, Adobe

Follow me @thelabertasch

Stay informed about Sightly @sightlyio

Tweet during my talk #BeautifulMarkup #aemhub

Page 2: The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup
Page 3: The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup
Page 4: The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup
Page 5: The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup

–  Lightweight: No dependencies, fast and lean. –  Secure: Automatic contextual XSS protection and URL externalization. –  Code-less: Enforce separation of concerns between logic and

markup. –  Language agnostic: Easy to port to any programming language. –  Standard: Write readable & valid HTML5. –  Extensible: Straight-forward API for logic. –  Intuitive: Clear, simple & restricted feature set.

Page 6: The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup

Faster time to market: Reduced development and maintenance effort, therefore shorter projects and overall a reduced TCO. Simplified workflow: Between the web developers (or design agency) and the AEM Java developers.

Page 7: The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup
Page 8: The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup
Page 9: The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup
Page 10: The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup

Sightly Expression Language

Options @ OptionName=”String”, OptionName2=field.field, OptionsName3=[field, “string”]

 

Field Expression ${expression}  

Page 11: The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup

Sightly Expression Language

Literals  

Page 12: The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup

Sightly Expression Language

Accessing Variables  

Page 13: The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup

Sightly Expression Language

Default Variables  

Page 14: The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup

Sightly Expression Language

Operators  

Page 15: The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup

Sightly Expression Language

Expression Options  

Page 16: The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup

Sightly Expression Language

Expression Options  

Page 17: The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup

Sightly Block Statements

Plugin Name data-sly-pluginname  

Plugin Identifier data-sly-pluginname.itendifier  

Plugin Value data-sly-pluginname=“value”  

Page 18: The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup

Sightly Block Statements

Page 19: The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup

Sightly Block Statements

Page 20: The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup

Sightly Block Statements

Page 21: The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup

Sightly Block Statements

Page 22: The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup

Sightly Block Statements

Page 23: The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup

Sightly Comments

Annotated HTML Comments, removed server side <!--/* */-->  

Page 24: The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup

XSS Magic

Page 25: The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup

Use API

Page 26: The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup
Page 27: The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup
Page 28: The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup
Page 29: The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup

DEMO, TODO MVC APP with Sightly and Brackets

Page 30: The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup
Page 31: The New Way of Developing with AEM 6.0 | Sightly | Beautiful Markup

Thank for your attention