There an back again: a story of a simple HTTP request's travels through the depths of an ordinary grails application running in tomcat. Grails is an amazing "convention over configuration" framework that makes the complexities of Spring, Hibernate, etc. a breeze to work with, but it is easy to overlook or misunderstand the many levels of abstraction that make this framework so powerful.
In this session we will do a deep dive of just about every layer that a simple HTTP request goes through just to do accomplish few simple tasks. We'll start with the open socket in tomcat and work our way through every layer of code that our HTTP request invokes. We'll look at Security, Url Mappings, Filters, Controllers, data-binding, Services, GORM/Hibernate/JDBC, Views, Layouts, and all of the icing in-between.
Testing is built into grails, but many Grails apps go untested. We'll cover how to test many different artefacts as well cover many principles that have helped lead to succesfully tested Grails application.s
Testing is built into grails, but many Grails apps go untested. We'll cover how to test many different artefacts as well cover many principles that have helped lead to succesfully tested Grails application.
Adapted from a talk called "Testing the Crap out of your Grails application" We'll go beyond the basics and talk about my experiences in the 10+ Grails codebases and tems that I've had the opportunity to work with.