Jan 24, 2013

Presentation: Grails REST with Client-side Javascript

Download Full Presentation

The highly-productive Grails web application framework combines the powerful Groovy language with the tried-and-true Spring and Hibernate frameworks. JavaScript client-side frameworks (such as Backbone.js and Angular.js) simplify developing high-power dynamic, cross-browser apps. In this presentation I will discuss combining these two technologies to create a rock-solid Grails RESTful backend application and a full-featured, dynamic JavaScript front-end app. Along the way we’ll learn about how these technologies provide flexiblity in architectures, a clear separation of server and client code, deployment flexibility, and increased testability.

Preview

About the Author

Object Partners profile.

One thought on “Presentation: Grails REST with Client-side Javascript

  1. Jeff Pogodzinski says:

    Can these json ajax requests use remember-me authentication? On my website, I use the spring security core plugin and my persistent logins work great — until I make my first ajax/json request. I then get a cookie theft error and the users needs to login manually. Do you have any examples on how to make persistent logins work with ajax request? Thank you. Jeff.

  2. Owen Rubel says:

    The issue with the API pattern as it is used in most modern MVC frameworks and tools is that it binds the communication logic and business logic making it so that IO data cannot be shared across a distributed architecture thus making api’s an architectural cross-cutting concern.

    To resolve, the api pattern must abstract communication logic from business logic so that IO state can be cached and shared with other architectural components as needed (ie proxy, MQ, api gate, etc). See Grails API Toolkit for example (https://www.youtube.com/watch?v=mZOs7oz0JOI)

Leave a Reply to Jeff Pogodzinski Cancel reply

Your email address will not be published. Required fields are marked *

Related Blog Posts
Presentation: Front End Tools for Modern Web Apps
Presentation Abstract: Application development on the web has drastically evolved over the last 15 years. Today web applications are often expected to act like natives apps, are JavaScript heavy, and need to work across mobile, […]
Presentation: Understanding Cost in Enterprise iOS Applications
Download Full Presentation Developing custom iOS applications for enterprise customers and projects is a much different experience than developing for the App Store. However, the average price of an App Store app is approximately $1.54, […]
Presentation: Enterprise Batch Processing with Spring Batch 2.x
Download Full Presentation Batch processing is a critical aspect of many organizations. Batch jobs can be complicated to do well. Spring Batch 2 can make it easier. During this talk, we will look at the […]
Presentation: Grails 2.0 – what to be excited about
Download Full Presentation Grails 2.0 is here and full of a bunch of exciting, fun stuff. Check out Sr. Consultant Zan Thrash talk about what you’ll see in Grails 2.0. Preview