Feb
23
2008

G2X Day 1: Graeme’s Keynote

Ok. Gotta blog up some of this stuff before it gets stale. Last night Graeme took us through what’s on the planning on the horizon for Grails 1.1.

  • JPA support. Lot of people asking about this (really?). So there is likely to be a JPA plugin down the track but since JPA doesn’t support Criteria, it’s gonna be a fair bit of work for the team to implement.
  • JSP Taglib in GSPs. You’ll be able to use your Java taglibs in a GSP (not just a JSP). Good stuff for reusing old custom tags.
  • Portlet support. The biggest ticket JIRA item is portlet support, and the Grails team are investigating what’s involved.
  • JCR support. Graeme has been tinkering with a plugin for this. Means you’ll be able to version domain classes, and do diffs and rollbacks and other goodness
  • DB Migrations. You’ll be able to move your schema forward and backward.
  • Security API. Provide well-known hooks into the framework for Acegi and JSecurity plugins to plug in to.

Graeme then demoed a version of grails.org running on Grails! He’d whipped up a confluence style wiki that supports basic Textile markup, versioning and rollback.

He found XmlSlurper died (OutOfMemory) on the 75Mb XML Confluence file. He had to whip up a SaxParser impl (in Groovy, of course!). The import to his Macbook (read and parse XML and import to a domain model in MySql) took around 90 seconds. Cool!

Took him a day and a half to pull together! Look for it soon!

About the Author: Glen Smith

4 Comments + Add Comment

  • portlet support would be awesome

  • I think the JPA suport (legacy databases must easily be adopted when writing a new app from scratch with Grails) and the DB migrations are the most important ones at least for me.

    I dont think we need a Security API. Acegi is easy to figure out even without the plugin.

  • Hi Glen!

    Thanks for listing the Grails new feature list. I have given a presentation on Groovy and Databases, and half of it was about different approaches to use when considering DB versioning/refactorings. I’m very interested in how Graeme is seeing this plugin.

    cheers,

    ./alex

    .w( the_mindstorm )p.

  • Hi Glen, thanks for the update. A couple of things I’m looking forward to seeing;

    1. Your presentation available for the unfortunate that weren’t able to attend the conference.

    2. A reverse engineering tool that will read the schema from an existing database and create the model in grails. It would be wonderful just to use the current functionality. Hopefully this will also flush out missing pieces to properly describe current dbs.

    Keep up the Grails work, Thanks

Leave a comment

Glen Smith

About Glen

Co-author Grails in Action