After a short look the answer is yes. But after a little deeper digging into Groovy and Grails, I must admit that I’m simply surprised! Not only by its simplicity but also because of its decent features and the fact that Grails combines all the best from both Ruby on Rails and Java. If you worked with this couple, you should be curious by now.
What is Grails?
Grails is an open source web framework powered by the Groovy – language based on Java. Hiding a lot of unnecessary configuration details it brings a clear web-development enviroment. Grails runs on a standard servlet container, which enables you to choose your own presentation technology, no matter if it’s JSP or GSP based.
Why you should consider Grails?
Because it’s easy to start with
Grails offers an easy start for experienced Java developers as well as beginners with no Java knowledge. All thanks to Groovy. If you write some Java code it’s very likely that with groovy the same code will be MUCH shorter, yet giving the same result. On the other hand – do you have some custom, nice Java libraries and you want to use them again? No problem. Just import them like you always do in Java files. Cool, isn’t it?
Extremely simplified and speedy development
No need to configure cursed XML files, easy command line scripting gives all what is needed for application development, creating files etc. Full MVC support, tons of useful plug ins. Additionally – NetBeans offers fully implemented, excellent support for Grails projects and this can really speed up the development process even more.
Custom Tags, RIA, great templating
Additionally along with Grails you obtain an inbuilt Jetty server and HSQLDB database. No need to configure – it’s ready to run. And since all you need to do after downloading is to set the environment variables, your first web application (even with database usage) is ready after 5 minutes.
In my next article I will explain how to set up a Grails application from scratch to show you how simple it is. Besides I will explain the best Grails’ features. Stay tuned! And of course share your experience with us below or meet us on Twitter: @GOYELLO.