Polyglot Web Development With Grails 2 - qconsf.com · Polyglot Web Development With Grails 2 QCon...

14
Polyglot Web Development With Grails 2 QCon SF 2012 Jeff Brown Grails Core Developer SpringSource [email protected] @jeffscottbrown

Transcript of Polyglot Web Development With Grails 2 - qconsf.com · Polyglot Web Development With Grails 2 QCon...

Page 1: Polyglot Web Development With Grails 2 - qconsf.com · Polyglot Web Development With Grails 2 QCon SF 2012 Jeff Brown Grails Core Developer SpringSource jbrown@vmware.com @jeffscottbrown

Polyglot Web Development With Grails 2

QCon SF 2012

Jeff BrownGrails Core Developer

[email protected]

@jeffscottbrown

Page 2: Polyglot Web Development With Grails 2 - qconsf.com · Polyglot Web Development With Grails 2 QCon SF 2012 Jeff Brown Grails Core Developer SpringSource jbrown@vmware.com @jeffscottbrown

Polyglot?

“In  the  context  of  compu/ng,  a  polyglot  is  a  computer  program  or  script  wri9en  in  a  valid  form  of  mul/ple  

programming  languages,  which  performs  the  same  opera/ons  or  output  independently  of  the  programming  language  used  

to  compile  or  interpret  it.”

h"p://en.wikipedia.org/wiki/Polyglot_(compu:ng)

Page 3: Polyglot Web Development With Grails 2 - qconsf.com · Polyglot Web Development With Grails 2 QCon SF 2012 Jeff Brown Grails Core Developer SpringSource jbrown@vmware.com @jeffscottbrown

Languages On The JVMJava

Groovy

Clojure

Scala

JRuby

Etc...The  Polyglot  Man  -­‐  Orange,  1969Miró,  Joan  (1893-­‐1983)

Page 4: Polyglot Web Development With Grails 2 - qconsf.com · Polyglot Web Development With Grails 2 QCon SF 2012 Jeff Brown Grails Core Developer SpringSource jbrown@vmware.com @jeffscottbrown

Grails?

Full Stack Web Flatform

build system down to ORM etc...

Leverages Proven Staples

Spring, Hibernate, etc...

Extensible Plugin System

Page 5: Polyglot Web Development With Grails 2 - qconsf.com · Polyglot Web Development With Grails 2 QCon SF 2012 Jeff Brown Grails Core Developer SpringSource jbrown@vmware.com @jeffscottbrown

Best Of BreedSpring

Hibernate

Groovy

Sitemesh

Tomcat

Java

Spring

Hibernate

QuartzJava

Sitemesh

Groovy

Page 6: Polyglot Web Development With Grails 2 - qconsf.com · Polyglot Web Development With Grails 2 QCon SF 2012 Jeff Brown Grails Core Developer SpringSource jbrown@vmware.com @jeffscottbrown

The Grails Stack

The Java Virtual Machine

Groovy

Java Enterprise

Edition (JEE)Spring Hibernate SiteMesh

Grails

The Java LanguageThe Java Development

Kit (JDK)

Page 7: Polyglot Web Development With Grails 2 - qconsf.com · Polyglot Web Development With Grails 2 QCon SF 2012 Jeff Brown Grails Core Developer SpringSource jbrown@vmware.com @jeffscottbrown

Two Great Tastes...

“Hey! You Got Your Clojure In My Grails!”

“Hey! You Got Your Grails In My Clojure!”

Page 8: Polyglot Web Development With Grails 2 - qconsf.com · Polyglot Web Development With Grails 2 QCon SF 2012 Jeff Brown Grails Core Developer SpringSource jbrown@vmware.com @jeffscottbrown

Count The Languages...

Page 9: Polyglot Web Development With Grails 2 - qconsf.com · Polyglot Web Development With Grails 2 QCon SF 2012 Jeff Brown Grails Core Developer SpringSource jbrown@vmware.com @jeffscottbrown

Java Math Helper

Page 10: Polyglot Web Development With Grails 2 - qconsf.com · Polyglot Web Development With Grails 2 QCon SF 2012 Jeff Brown Grails Core Developer SpringSource jbrown@vmware.com @jeffscottbrown

Groovy Math Helper

Page 11: Polyglot Web Development With Grails 2 - qconsf.com · Polyglot Web Development With Grails 2 QCon SF 2012 Jeff Brown Grails Core Developer SpringSource jbrown@vmware.com @jeffscottbrown

Clojure Math Helper

Page 12: Polyglot Web Development With Grails 2 - qconsf.com · Polyglot Web Development With Grails 2 QCon SF 2012 Jeff Brown Grails Core Developer SpringSource jbrown@vmware.com @jeffscottbrown

Back To The Peanut ButterWho Gets The Credit?

Grails?

Groovy?

Clojure?

Java?

The JVM?

Page 13: Polyglot Web Development With Grails 2 - qconsf.com · Polyglot Web Development With Grails 2 QCon SF 2012 Jeff Brown Grails Core Developer SpringSource jbrown@vmware.com @jeffscottbrown

In Action...

Demo Time

explore a simple polyglot app

a look under the hood

Page 14: Polyglot Web Development With Grails 2 - qconsf.com · Polyglot Web Development With Grails 2 QCon SF 2012 Jeff Brown Grails Core Developer SpringSource jbrown@vmware.com @jeffscottbrown

Q & A

Thank You!