Introduction to Groovy and Grails

7,943 views
7,749 views

Published on

Introduction to Groovy & Grails given at the Devnology Community Day on 6th of November 2010.

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

No Downloads
Views
Total views
7,943
On SlideShare
0
From Embeds
0
Number of Embeds
19
Actions
Shares
0
Downloads
310
Comments
0
Likes
9
Embeds 0
No embeds

No notes for slide


  • Remember the audience that programming languages evolve and that no programming language is better then the other. They are used to communicate in their timeframe and created for needs that exist at that time. We will not discuss why one language is better then the other try to appreciate the differences and grasp the concepts instead of focussing on the vocabulary.

















  • Demo of converting Java program to Groovy

    http://groovy.dzone.com/news/java-groovy-few-easy-steps

    - Start Groovy Console: groovyConsole
    - Copy Text from HelloWorld.java

    Steps:
    - remove semi colons and public keyword
    - implement the GString and return statement
    - set name as property, remove private field and getters and setters
    - remove System.out
    - implement dynamic typing
    - implement as script





























































  • ×