Magnolia Levitating Using Grails
-
date post
22-Oct-2014 -
Category
Technology
-
view
1.229 -
download
0
description
Transcript of Magnolia Levitating Using Grails
![Page 1: Magnolia Levitating Using Grails](https://reader033.fdocuments.net/reader033/viewer/2022051512/54473bfeb1af9f0f098b45e3/html5/thumbnails/1.jpg)
MAGNOLIA LEVITATING USING GRAILS
Tuesday, 4 September 12
![Page 2: Magnolia Levitating Using Grails](https://reader033.fdocuments.net/reader033/viewer/2022051512/54473bfeb1af9f0f098b45e3/html5/thumbnails/2.jpg)
Å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](https://reader033.fdocuments.net/reader033/viewer/2022051512/54473bfeb1af9f0f098b45e3/html5/thumbnails/3.jpg)
Bonheur AB
100% MAGNOLIA
Tuesday, 4 September 12
![Page 4: Magnolia Levitating Using Grails](https://reader033.fdocuments.net/reader033/viewer/2022051512/54473bfeb1af9f0f098b45e3/html5/thumbnails/4.jpg)
Tuesday, 4 September 12
![Page 5: Magnolia Levitating Using Grails](https://reader033.fdocuments.net/reader033/viewer/2022051512/54473bfeb1af9f0f098b45e3/html5/thumbnails/5.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051512/54473bfeb1af9f0f098b45e3/html5/thumbnails/6.jpg)
+
CONCLUSION
Tuesday, 4 September 12
![Page 7: Magnolia Levitating Using Grails](https://reader033.fdocuments.net/reader033/viewer/2022051512/54473bfeb1af9f0f098b45e3/html5/thumbnails/7.jpg)
WHY GROOVY
http://groovy.codehaus.org/
Tuesday, 4 September 12
![Page 8: Magnolia Levitating Using Grails](https://reader033.fdocuments.net/reader033/viewer/2022051512/54473bfeb1af9f0f098b45e3/html5/thumbnails/8.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051512/54473bfeb1af9f0f098b45e3/html5/thumbnails/9.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051512/54473bfeb1af9f0f098b45e3/html5/thumbnails/10.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051512/54473bfeb1af9f0f098b45e3/html5/thumbnails/11.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051512/54473bfeb1af9f0f098b45e3/html5/thumbnails/12.jpg)
IN PRODUCTION
Tuesday, 4 September 12
![Page 13: Magnolia Levitating Using Grails](https://reader033.fdocuments.net/reader033/viewer/2022051512/54473bfeb1af9f0f098b45e3/html5/thumbnails/13.jpg)
WHEN IS IT USEFUL
Quick prototyping
Highly integrated apps
Database-backed content
Tuesday, 4 September 12
![Page 14: Magnolia Levitating Using Grails](https://reader033.fdocuments.net/reader033/viewer/2022051512/54473bfeb1af9f0f098b45e3/html5/thumbnails/14.jpg)
LIVE CODING
Tuesday, 4 September 12
![Page 15: Magnolia Levitating Using Grails](https://reader033.fdocuments.net/reader033/viewer/2022051512/54473bfeb1af9f0f098b45e3/html5/thumbnails/15.jpg)
Tuesday, 4 September 12