Date post: | 29-Nov-2014 |
Category: |
Technology |
Upload: | evolve-aem-summit |
View: | 520 times |
Download: | 1 times |
1
SNAPBUILD FOR CQ5Innovative Tools to Increase Productivity
Richard Brown , Chief Technology Officer3|SHARE
CONSULTING | TRAINING | ROM
OUR FOCUS
•3|SHARE provides Clients with three core offerings focused solely on CQ5.
1. Consulting
a) Expert Services
b) Deployment
c) On|Demand™
2. Training
3. Remote Operations Management™ (ROM)
4. SnapBuild for CQ5
3
3|SHARE – INNOVATIVE TOOLS
Initial Release 3|SHARE Maven Build + Source Code Repository
+ Jenkins
SnapBuild for CQ5
4
3|SHARE – INNOVATIVE TOOLS
Next ReleaseEclipse Plugin – Drag & Drop CQ5 Application
Development
SnapBuild for CQ5
5
3|SHARE - SNAPBUILD FOR CQ5
Business is the Ultimate Competition
FASTER
BETTER
CHEAPER
Why is it needed?
6
Why did we build it?
• CRXDE is great for learning…Not so great for projects.• CRXDE Lite is great for quick changes…Not so great for
projects.• Maven is Painful
• Make Developers More Efficient• Reduce the learning curve for new developers• Standardize a build layout across the community• Jumpstart projects• Help Adobe sell licenses
3|SHARE - SNAPBUILD FOR CQ5Why did we build it?
7
3|SHARE – SNAPBUILD FOR CQ5
What improved tools did Marketing get?• Campaign Management• Campaign Tracking• Analytics• Test & Target• Social
What improved tools did Content Authors get?• CQ5 Advanced Interface• Mobile Editing• Instant Activation 24x7x365• Scene 7
In the past few years…
8
3|SHARE – SNAPBUILD FOR CQ5
What improved tools did Development get?
In the past few years…
9
How did you learn development in CQ5?
Just Reading Documentation?From a Friend?
They Teach it in College?
3|SHARE – SNAPBUILD FOR CQ5A trip down memory lane
10
You Probably Started with 4 Day Adobe Developer Training
• The CQ5 User Interfaces• OSGi and Apache Sling• David’s Content Model• Installation• Create a Template• Create Multiple Scripts/Renderers for the “Page” Component• Inheritance• Create a Design• Create a Title Component• Creating OSGi Bundles• …….
CQ5 DEVELOPER – MEMORY LANEHow we learned CQ5
11
Set up your first projectCreate a handful of directories
CQ5 DEVELOPER – MEMORY LANEHow we learned CQ5
12
Create a Template and Component
• Create a new Template in the Templates folder.• Point it to a “Page” Component that doesn’t exist yet• Create the “Page” Component.• Inherit from the Foundation Page Component
Questions You May Have Asked Yourself• What is this sling:resourceType and Page Component thing all about?• How do I assign my CSS?• How do I reuse code without copying the header and footer to every
template?• What is this sling:superResourceType?
CQ5 DEVELOPER – MEMORY LANEHow we learned CQ5
13
Create a CQ5 Design
CQ5 DEVELOPER – MEMORY LANEHow we learned CQ5
14
Copy CSS and Images
CQ5 DEVELOPER – MEMORY LANEHow we learned CQ5
15
Assign the Design
CQ5 DEVELOPER – MEMORY LANEHow we learned CQ5
16
Post Training Questions
• How do I share my code with teammates?• Source Control exists but only Subversion?• How do I build my code to:
• Development• QA• Production
CQ5 DEVELOPER – MEMORY LANEHow we learned CQ5
17
Post Training Conclusion
It’s Pretty High Touch
CQ5 DEVELOPER – MEMORY LANE How we learned CQ5
18
Maven – Bring the Pain!
CQ5 DEVELOPER – MAVEN BUILDSIs there a better way?
19
CQ5 DEVELOPER – MAVEN BUILDSIs there a better way?
The Build is Broke Again!
20
Questions About Maven
• What is pom.xml?• What are dependencies? Which ones do I need?• Maven Vault Plugin?• Maven Layout Best Practices?• What is the output of my build?
• Packages? • Jar Files? • Direct push to CRX?
• How do I create multiple applications in my build?
CQ5 DEVELOPER – MAVEN BUILDSIs there a better way?
21
CQ5 DEVELOPER – MAVEN BUILDSIs there a better way?
22
The Bottom Line
Builds Take Time To Set UpBuilds Take Time Learn
CQ5 DEVELOPER – MAVEN BUILDSIs there a better way?
23
SnapBuild for CQ5
3|SHARE Claim: All of this is unnecessary!
CQ5 DEVELOPER – SNAPBUILD FOR CQ5There is a Better Way
24
SnapBuild Plugin Features
• Auto Generated Maven Build• Simplified Interface in a Familiar IDE• Integration with Source Control• Push Button Deployments
CQ5 DEVELOPER – SNAPBUILD FOR CQ5There is a Better Way
25
SnapBuild Plugin Features
• Drag & Drop • Template, Components, Designs, Servlets, Java Classes,
Configurations, etc.
• Auto Generate • Base Template• Homepage Template• Common Configurations with Run Mode Support• Seed Content
CQ5 DEVELOPER – SNAPBUILD FOR CQ5There is a Better Way
26
SnapBuild DemoStart the Timer! 5 Minutes Max
Create a ProjectDeploy to Local CQ
Check into GIT RepositoryView Home Page on Amazon Server
CQ5 DEVELOPER – SNAPBUILD FOR CQ5There is a Better Way
27
SnapBuild Roadmap – 4th Quarter 2013
• Auto Generated Maven Layout• Auto Generated Templates and Content• Auto Generated Configurations• Overlay Support• Common Code and Configurations• Servlet Wizard• Multiple Application Support• Push Button Deployments• CQ Version Switching
CQ5 DEVELOPER – SNAPBUILD FOR CQ5There is a Better Way
28
SnapBuild Roadmap – 1st Quarter 2014
• Auto Generated Documentation• Templates• Components• Inheritance• Servlets
• Simplified Dialog Creation – Annotations• Test Case Generation
CQ5 DEVELOPER – SNAPBUILD FOR CQ5There is a Better Way
29
Are you interested?
As we Approach GAWe will be on Twitter
We will message all Attendees
CQ5 DEVELOPER – SNAPBUILD FOR CQ5There is a Better Way