Mastering Grails

About this series:
Grails is a modern Web development framework that mixes familiar Java technologies like Spring and Hibernate with contemporary practices like convention over configuration. Written in Groovy, Grails gives you seamless integration with your legacy Java code while adding the flexibility and dynamism of a scripting language. After you learn Grails, you'll never look at Web development the same way again.


Mastering Grails: Build your first Grails application

2008-01-15 [Full Article] [Source Code]

Java programmers needn't abandon their favorite language and existing development infrastructure to adopt a modern Web development framework. In the first installment of his new monthly series Mastering Grails, Java expert Scott Davis introduces Grails and demonstrates how to build your first Grails application.


Mastering Grails: GORM: Funny name, serious technology

2008-02-12 [Full Article] [Source Code]

Any good Web framework needs a solid persistence strategy. In this second installment of his Mastering Grails series, Scott Davis introduces the Grails Object Relational Mapping (GORM) API. See how easy it is to create relationships between tables, enforce data validation rules, and change relational databases in your Grails applications.


Mastering Grails: Changing the view with Groovy Server Pages

2008-03-11 [Full Article] [Source Code]

Groovy Server Pages (GSP) puts the "Web" in the Grails Web framework. In the third installment of his Mastering Grails series, Scott Davis shows you the ins and outs of working with GSP. See how easy it is to use Grails TagLibs, mix together partial fragments of GSPs, and customize the default templates for the automatically generated (scaffolded) views.


Mastering Grails: Many-to-many relationships with a dollop of Ajax

2008-04-15 [Full Article] [Source Code]

Many-to-many (m:m) relationships can be tricky to deal with in a Web application. In this installment of Mastering Grails, Scott Davis shows you how to implement m:m relationships in Grails successfully. See how they're handled by the Grails Object Relational Mapping (GORM) API and the back-end database. Also find out how a bit of Ajax (Asynchronous JavaScript + XML) can streamline the user interface.


Mastering Grails: Grails services and Google Maps

2008-05-20 [Full Article] [Source Code]

Scott Davis shows you how you can add maps to a Grails application using freely available APIs and Web services in this latest installment of Mastering Grails. He uses the trip-planner sample application from previous installments and takes it to the next level with geocoding, Google Maps, and Grails services.


Mastering Grails: Grails and the mobile Web

2008-06-17 [Full Article] [Source Code]

The number of cell phone users worldwide is at 3.3 billion and rising, and Internet access from mobile phones is on a rapidly upward trajectory. Developing for the mobile Web has its unique demands. In this Mastering Grails installment, Scott Davis shows you how to make your Grails applications mobile phone friendly.


Mastering Grails: Grails and legacy databases

2008-07-15 [Full Article] [Source Code]

In this Mastering Grails installment, Scott Davis explores the various ways that Grails can use database tables that don't conform to the Grails naming standard. If you have Java™ classes that already map to your legacy databases, Grails allows you to use them unchanged. You'll see examples of using Hibernate HBM files and Enterprise JavaBeans 3 annotations with legacy Java classes.


© 2003 - 2010 Davisworld Consulting, Inc. All Rights Reserved