Archive for the 'grails' Category

During the years I’ve been involved in digital media related projects quite a bit. With the current dominance of flash video stuff has become a bit more straightforward; you don’t have to support multiple proprietary formats in parallel anymore.
I met and read about quite a lot of people building their own mini-youtube on top of […]

Grails - 1.0-RC1

Two days ago Grails reached the 1.0 milestone; the first release candidate is out. New Features inlude:

GORM features ORM DSL for advanced Mappings
Support for easy to use Filters
Tag Library Improvements - Namespaces, body variables, page scope, improved tag and more
Controllers Improvements - Multi-dimensional params object, data binding retains type conversion errors
URL Mapping Improvements - […]

A couple of days ago I wrote my first post on TDD using Grails. Now let's move on to something more interesting: testing dynamic taglibs.
In another post I showed how to create a simple tag. Which looked like this:
PLAIN TEXT
GROOVY:

import com.plink.plextile.*;

class TextileTagLib {

  TextParser textileParser

  def textile = { attrs ->

    out <<textileParser.parseTextile(attrs.text, true)

  [...]

Writing tests for a Grails applications is really simple. In Groovy code actually compiles when non-existing methods of objects are referenced (as opposed to Java) which makes it possible exercise TDD (test driven development).
Grails supports two types of tests out of the box, unittests and integrationtests. Tests are located in the test folder of [...]

BOTG 2007

Yesterday I presented at the Battle of the Geeks 2007 organized by my employer. 4 presentations where given and people in the audience where asked to rate each presentation using special cards. (I translated this post to Dutch for the Finalist developer blog)

19.15 Presentation 1: CMS Container
Freek Punt talked about Finalists' own MMBase based [...]

Grails 0.6 Released

Today Graeme and the Grails team have released a significant new version of Grails: 0.6.
One of the more interesting bits added in this release is the addition rich conversation support (Spring Web Flow under the hood) called Grails Flow. Apart from Grails flow the release notes contain the following updates:

Joint Groovy/Java Compilation
Support for Spring scopes [...]

Grails - Soap

Since working with, or creating WebServices is something webdevelopers will probably do regularly (or stumble upon in the very near future) I decided to have a look at Grails' support for SOAP.
First thing I wanted to see was how to expose a Grails service via Soap. Due to the excellent documentation at the Grails website [...]

During Graemes' demo of Grails at javasummercamp he briefly pointed out the fact that one can implicitly use the Groovy MarkupBuilder (Similar to the Markaby DSL for Ruby) within the render method of an action for generating markup.
Which makes writing an RSS feed for you application really easy:
PLAIN TEXT
GROOVY:

def feed = {

  def results [...]

Yesterday I visited Proficts' Java Summercamp called "Rails en Grails en Java: Nieuwe talen op de JVM". Which in essence should have been a small seminar
on the topic of new languages on the JVM. In reality Charles Nutter presented JRuby, and its' current state and Graeme Rocher did a presentation on Groovy and Grails.
Both presentations [...]

Grails templating & Ajax

Grails' templating system is cool. There is no doubt about it. It's what I wanted JSP2.0 tagfiles to be. In essence they're not so different from tagfiles in practice their versatility is a fair bit higher.
Templates in Grails reside in the views folder of your project, and are plain gsp files prefixed with an underscore [...]




About

Welcome to the weblog of Peter Maas. Here you'll find various posts related to stuff I like (like my kids and espresso) and stuff I do (like developing software).

JavaOne 2008 Pictures


smashmouth Charles Nutter & Guillaume Laforge Joshua Bloch at JavaOne2008 Greenland Community One Keynote Scribbled Sun Logo Acme Anvile at CommunityOne Keynote Okke en Rudie pub alcatraz Java + You on a cab Tim Bray introducing the (J)Ruby panel javaone2008 keynote Cable Car line Moscone Center - JavaOne Stage being build in the nearby park Hotel room javaone 2008 goodybag Rudie Stretched Limo
View more photos >

Categories



Meld u aan voor PayPal en begin direct met het accepteren van creditcardbetalingen.