Polyglot Web Development With Grails 2 - QCon

4 downloads 53 Views 3MB Size Report
Polyglot Web Development. With Grails 2 ... Java. Groovy. Clojure. Scala. JRuby. Etc... The Polyglot Man -‐ Orange, 1969 ... Grails? Full Stack Web Flatform.
Polyglot Web Development With Grails 2 QCon SF 2012 Jeff Brown Grails Core Developer SpringSource [email protected] @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)

Languages On The JVM Java Groovy Clojure Scala JRuby The  Polyglot  Man  -­‐  Orange,  1969 Miró,  Joan  (1893-­‐1983)

Etc...

Grails? Full Stack Web Flatform build system down to ORM etc... Leverages Proven Staples Spring, Hibernate, etc... Extensible Plugin System

Best Of Breed Spring

Groovy

Hibernate Groovy

Sitemesh

Spring

Hibernate

Sitemesh Tomcat Java

Java

Quartz

The Grails Stack Java Enterprise Edition (JEE)

Spring

The Java Language

Hibernate

SiteMesh

The Java Development Kit (JDK)

The Java Virtual Machine

Groovy

Grails

Two Great Tastes... “Hey! You Got Your Clojure In My Grails!” “Hey! You Got Your Grails In My Clojure!”

Count The Languages...

Java Math Helper

Groovy Math Helper

Clojure Math Helper

Back To The Peanut Butter Who Gets The Credit? Grails? Groovy? Clojure? Java? The JVM?

In Action... Demo Time explore a simple polyglot app a look under the hood

Q&A Thank You!