Category Archives: Software Development

More Grails Filter Tricks: JSONify Controller Actions

Post by Josh Reed

Building on the previous post, we can use the same filter tricks to clean up some other controller smells. When building REST APIs, it’s a common requirement to output your data in JSON and/or XML. This is usually accomplished using … Continue reading

Posted in Software Development | Tagged , , | 9 Comments

iOS tips: @synchronized

Post by Steve Vlaminck

If you’re just getting started with threading in Objective-C, it won’t be long before you’ll need to make some thread-safe modifications to objects. One of the many useful tools that Objective-C gives us is the @synchronized directive. From the documentation: … Continue reading

Posted in Software Development | Tagged , , , , , | 5 Comments

Grails Filter Tricks: Ajaxify Controller Actions

Post by Josh Reed

A common requirement in the last couple of projects I worked on was the ability to create and edit domain classes via modal dialogs instead of Grail’s standard scaffolded pages. Originally I started down the path of embedding hidden forms … Continue reading

Posted in Software Development | Tagged , | 5 Comments

iOS tips: Custom Fonts

Post by Steve Vlaminck

My good friend google told me that using a custom font in iOS is “easy”. And for the most part it is, but I got tripped up in a few places. I happen to have Apples Keychain example code lying around … Continue reading

Posted in Agile Processes, Software Development | Tagged , , , , , | 20 Comments

Grails Tip: Deploy to the Cloud with AppFog

Post by Matt Nohr

AppFog (appfog.com, @appfog) is a relatively new cloud platform that lets you deploy your applications to one of a number of different cloud providers like HP Openstack, Rackspace, and Amazon Web Services. It supports a number of languages and databases, … Continue reading

Posted in Software Development | Tagged , , | 6 Comments

Reserved Words as Grails Domain Objects

Post by Matt Nohr

I recently ran into a SQL exception creating a simple domain class called “Group” that looked like this: class Group { static constratints = {} } When I ran my application I got this not-exactly-helpful error: | Compiling 1 source … Continue reading

Posted in Software Development | Tagged , , , | 3 Comments

GR8Conf Overview

Post by Matt Nohr

This week was the United States GR8Conf, and we were lucky enough to have it right here in Minneapolis. GR8Conf is a conference focusing on Groovy and Grails and is held in the US, Europe, and Australia. Refactr was one … Continue reading

Posted in Agile Processes, Software Development | Tagged , , | Leave a comment

Endangered Species: Corporate IT

Post by Matt Bjornson

Dear Corporate America, You deserve better.  Your Corporate IT Department sucks.  Sadly, you know this all too well. They claim they are ‘Agile’, but require six to twelve months to release a new web app. Corporate ‘standards’ that stifle innovation … Continue reading

Posted in Agile Processes, Business, Software Development | Tagged , | Leave a comment

Understanding Grails Aliases

Post by Matt Nohr

In Grails 2.1 (RC2 available at time of writing), Grails introduced a new “alias” command. Like the rest of Grails, there is good high-level documentation for this command. However, here are a few more details. Quick Overview You can use … Continue reading

Posted in Agile Processes, Software Development | Tagged | 7 Comments

Partial Mocks with Spock on Groovy/Grails

Post by Matt Nohr

The Spock testing framework currently does not support partial mocks. It is easy to mock out a class, but not individual methods in a class. In almost all cases, this makes sense to me. If you really only want to … Continue reading

Posted in Software Development | Tagged , , , | 4 Comments