0
Groovy & Grails      Jean Barmash  CTO, EnergyScoreCards  www.meetup.com/grails
Java:String[] names = new String[] {"Rod", "Carlos", "Chris"}for (String it : names)     if (it.length() <= 4)         Sys...
Groovy LanguageDynamic Language for the JVMNative Integration with Java, cross-compilationAlmost-zero learning curve  can ...
Major FeaturesLess CeremonyClosuresNative collection syntax / processingMany Features for DSLAbstract Syntax Tree Transfor...
Grails (www.grails.org)High Productivity Web FrameworkConvention over configurationBuilt on solid Java technologies   Spri...
Who Uses Groovy / GrailsNetflix (Internally)Sky.comLinkedInConde Naste (Wired)Example - clickOnero in Latin America 1.5 mi...
Other Groovy ProjectsSpock Testing FrameworkGEB Functional Testing FrameworkGPARS - Concurrency FrameworkGradle - conventi...
ReferencesGroovy Home Page http://groovy.codehaus.org/Related Projects http://groovy.codehaus.org/Related+ProjectsBlogs - ...
Upcoming SlideShare
Loading in...5
×

Groovy and Grails

8,657

Published on

A lightning talk on Groovy and Grails by Jean Barmash

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
8,657
On Slideshare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
16
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Groovy and Grails"

  1. 1. Groovy & Grails Jean Barmash CTO, EnergyScoreCards www.meetup.com/grails
  2. 2. Java:String[] names = new String[] {"Rod", "Carlos", "Chris"}for (String it : names) if (it.length() <= 4) System.out.println(it);Groovy:String[] names = [ "Rod", "Carlos", "Chris" ]for (String it : names) if (it.length() <= 4) System.out.println(it);Idiomatic Groovy:names = ["Rod", "Carlos", "Chris"]names.grep { it.size() <= 4 }.each{ println it }
  3. 3. Groovy LanguageDynamic Language for the JVMNative Integration with Java, cross-compilationAlmost-zero learning curve can rename .java to .groovyBacked by VMWare / SpringSourceOpen Source, Apache LicenseUnfortunate Name
  4. 4. Major FeaturesLess CeremonyClosuresNative collection syntax / processingMany Features for DSLAbstract Syntax Tree Transformation E.g. @Immutable, @SingletonTrivial XML / HTML / JSON ProcessingFunDid I say easy integration with Java?
  5. 5. Grails (www.grails.org)High Productivity Web FrameworkConvention over configurationBuilt on solid Java technologies Spring, Hibernate, QuartzGORM - Works with Hibernate, JPA, and NoSQL DbsPlugins - 699 plugins & growing (including clojure, scala)IDE Support2.0 In NovemberBacked by SpringSource / VMWareAwesome CommunityUnfortunate Name
  6. 6. Who Uses Groovy / GrailsNetflix (Internally)Sky.comLinkedInConde Naste (Wired)Example - clickOnero in Latin America 1.5 million users, 80k concurrent users, 8 tomcats, 5 Linux boxes, 1 mysql, 1 terracotta, 1 rabbitmqEnergyScoreCards :-)
  7. 7. Other Groovy ProjectsSpock Testing FrameworkGEB Functional Testing FrameworkGPARS - Concurrency FrameworkGradle - convention over configuration build frameworkGriffon - Swing FrameworkSome Other projects that offer Groovy support o Spring, Mule, NanoContainer, ServiceMix, Magnolia CMS, eXo, neo4j, Jenkins, o Many more at http://groovy.codehaus.org/Related +Projects
  8. 8. ReferencesGroovy Home Page http://groovy.codehaus.org/Related Projects http://groovy.codehaus.org/Related+ProjectsBlogs - http://groovyblogs.org/Groovy Magazine - http://www.groovymag.comGrails - www.grails.orgGrails Plugins - http://grails.org/plugin/category/allSpringSource - www.springsource.comGroovy / Grails Support http://www.springsource.com/support/groovyandgrailssupportConferences - Gr8Conf, SpringOne2GX SpringOne2GX - http://www.springone2gx.com/ Gr8Conf - http://www.gr8conf.org/NYC Groovy/Grails Meetup - http://www.meetup.com/grails/
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×