Groovy and Grails – A Getting Started Guide

 

There is a new introductory article on Groovy and Grails, Groovy and Grails – A Getting Started Guide, which walks you through some nice Groovy and Grails example. The article discusses what it is, web development, Grails features, architecture, installation, how to go about developing a Grails app, the app structure, using the database, how Grails transparently uses The article discusses what it is, web development, Grails features, architecture, installation, how to go about developing a Grails app, the app structure, using the database, and a lot more.

{snapshot

What is Groovy?

Groovy is a language that has a syntax that’s similar to, yet simpler than, Java. It’s often referred to as a scripting/agile/dynamic language, but I would prefer to stay away from these adjectives as I feel they only end up confusing things. If Java is a wise middle-aged man, Groovy is his teenage son. Groovy has many of the old man’s characteristics but is a lot wilder and a lot more fun. Both of them also work together very well.

Groovy has a lot fewer rules than Java. For example, in Java to get the standard “Hello World” output, you need to write a class, a main method with proper arguments, and more. But in Groovy, if you don’t wish to write all the boilerplate code, you can get rid of the class definition and the main method and just write the one line of code that actually prints “Hello World.”

}Access the tutorial here

Advertisements

One thought on “Groovy and Grails – A Getting Started Guide

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s