Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Beginner in Groovy and Grails .

 
ruchita mahajan
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All
I am new to Groovy and Grails.Not getting exactly from where to start.Can anyone suggest me from where to start.

Thanks in advance
Ruchita
 
Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you familiar with Groovy language? If not, you have to start learning Groovy. You may not need to be an expert in the language, but well versed with its syntax and language idioms. So you would start learning about groovy from here.
For Grails you can start from here and try out sample applications.
 
ruchita mahajan
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yesterday , i read a lot of code snippets n desceptions about the groovy.but now i feel as if i have forgotten everything.
Please explain me how to merege two text files in groovy?
 
Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ruchita mahajan wrote:Yesterday , i read a lot of code snippets n desceptions about the groovy.but now i feel as if i have forgotten everything.
Please explain me how to merege two text files in groovy?

Merging files- Read one file and append the contents to another. You can use the classes in java.io to get this done or if you want to do it groovier you can explore the Groovy File API.
 
chris webster
Bartender
Posts: 2407
32
Linux Oracle Postgres Database Python Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ruchita mahajan wrote:Hi All
I am new to Groovy and Grails.Not getting exactly from where to start.Can anyone suggest me from where to start.

Thanks in advance
Ruchita


Grails:

You could start with Scott Davis's excellent Grails tutorials on the IBM DeveloperWorks site, which will give you a chance to explore different aspects of Grails.

The Definitive Guide To Grails by Graeme Rocher and Jeff Brown is an excellent reference guide to Grails, and there's a new version out in August: The Definitive Guide To Grails 2.

Grails In Action by Glen Smith and Peter Ledbrook is also an excellent and very thorough tutorial guide to Grails.

Groovy:

Dierk Koenig's Groovy In Action is the best book I've seen on Groovy, although it's from 2007. There's a new version coming out later this year.

Venkat Subramaniam's Programming Groovy is pretty good, although not as thorough as the Koenig book.

General:

You could easily start with Grails without learning Groovy first, provide you know a bit of Java and are a quick learner. Working through tutorials etc on Grails will be more fun and will expose you to lots of "groovy" ways of doing things.

But you will soon want to understand more about how Groovy works, and how to write idiomatic Groovy code (instead of simply writing Java with no semi-colons, which is possible but not a great way to use Groovy!). One advantage of learning Groovy is that it's a great tool for scripting with the JVM, as it gives you access to all the Java libraries with the minimum of hassle or code-bloat.




 
Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ruchita mahajan,
Your post was moved to a new topic.
Please UseOneThreadPerQuestion
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic