Top Banner
MAGNOLIA LEVITATING USING GRAILS Tuesday, 4 September 12
15

Magnolia Levitating Using Grails

Oct 22, 2014

Download

Technology

Following the growing adoptance of dynamic languages, frameworks and stacks we decided to make a as complete as possible integration of Grails and Magnolia. It turned out it was possible to make magnolia developement highly productive using it. It's now both open source and used in production. We will talk about why, how, benefits and do some live coding.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Magnolia Levitating Using Grails

MAGNOLIA LEVITATING USING GRAILS

Tuesday, 4 September 12

Page 2: Magnolia Levitating Using Grails

Åke ArgéusKimmo Björnsson

WHO WE ARE?

15 years Java experience each

Contributed to Magnolia Blossom Spring integration

Tuesday, 4 September 12

Page 3: Magnolia Levitating Using Grails

Bonheur AB

100% MAGNOLIA

Tuesday, 4 September 12

Page 4: Magnolia Levitating Using Grails

Tuesday, 4 September 12

Page 5: Magnolia Levitating Using Grails

PREREQS

• From nothing to complete e-commerce system in 6 months

•Multiple teams

•Mixed content

• Easy to use and edit by editors

•Customizable and extendable, future-proof

•Utilize our existing Java experience

Tuesday, 4 September 12

Page 6: Magnolia Levitating Using Grails

+

CONCLUSION

Tuesday, 4 September 12

Page 7: Magnolia Levitating Using Grails

WHY GROOVY

http://groovy.codehaus.org/

Tuesday, 4 September 12

Page 8: Magnolia Levitating Using Grails

WHY GRAILS

•Coding by convention

•Reloading built-in

•Based on Spring

•Full web stack

•Grails plugins

Tuesday, 4 September 12

Page 9: Magnolia Levitating Using Grails

MAGLEV GOALS

Integrate our favorite CMS with our favorite web stack

Keep Grails intact

Keep Magnolia intact

Tuesday, 4 September 12

Page 10: Magnolia Levitating Using Grails

THE PROBLEM

Magnolia wants to control the request lifecycle

Grails wants to control the request lifecycle and building and packaging

Tuesday, 4 September 12

Page 11: Magnolia Levitating Using Grails

THE SOLUTION

Extends Grails with Magnolia (not the other way around)

Let Grails handle building and packaging

Hand over the request to Magnolia (entire filter-chain)

Extend Blossom to render templates and view with Grails

Modified UrlMapping to choose between Grails and Magnolia

Tuesday, 4 September 12

Page 12: Magnolia Levitating Using Grails

IN PRODUCTION

Tuesday, 4 September 12

Page 13: Magnolia Levitating Using Grails

WHEN IS IT USEFUL

Quick prototyping

Highly integrated apps

Database-backed content

Tuesday, 4 September 12

Page 14: Magnolia Levitating Using Grails

LIVE CODING

Tuesday, 4 September 12

Page 15: Magnolia Levitating Using Grails

Tuesday, 4 September 12