Groovy on Grails: a quick startFrom WikiJavabuy this book
Really.
the articleGrails is a quick-developing framework for the Java platform. It includes (almost) everything you need: a web server (called Jetty), a database (HSQLDB), Spring, Hibernate, even a Groovy version of Ant called GANT. You may develop a website with advanced features that take you beyond HTML into the world of Web Services: REST, JSON, Atom, Podcasting, and much much more. Grails uses Groovy has a particular programming language.
Download the code from http://grails.org/Download (you could even download the quick and pretty Windows installer) Set GRAILS_HOME (I hope you set JAVA_HOME before, so you know how to do it). Add GRAILS_HOME/bin to your path (as above...). If everything is right you could give the "grails" command from your command prompt and read the Grails banner.
Where do we start? Maybe from the command line, because Grails can build an application with just a command: grails create-app. The parameter is the name of our application. So let's begin our CRM:
In a few moments we are going to have a special directory tree on the disk.
Grails really uses a lot the ModelViewController concept.
|
