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 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.
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
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.
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.
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.