Grails 1.1 Testing – Unit, Integration & Functional

July 20, 2009 | by dkoo
Last Friday I gave a presentation to the team here at 2Paths on the testing capabilities in Grails 1.1. As you Grails die-hards know, Grails 1.1 introduced the new GrailsUnitTestCase class which is a very useful extension of GroovyTestCase with support for mocking the dynamic properties and methods that Grails injects into various types of classes [...]
Read More

memcached and Grails

July 16, 2009 | by Tim
I put together a Grails app to try out memcached. Like a lot of things in Grails, it was quite simple to integrate memcached once I found the right magic words. hibernate-memcached works nicely and has clear setup instructions. Install memcached, which is simple if you use a Mac and have MacPorts installed. $ sudo port install [...]
Read More

C# features – LINQ primer

April 30, 2009 | by Geoff
Language INtegrated Query (LINQ) adds extensions to the .NET framework which provide a domain specific language for querying and transforming collections right within C# (or VB for that matter). It provides syntax similar to other 4GL querying languages such as SQL, HQL or even OQL. Below is a simple test case showing how to do LINQ [...]
Read More

C# features – question mark syntax

April 28, 2009 | by Geoff
Some recent project work in C# unearthed a few grains of syntactic sugar which I thought deserved a quick post. Not necessarily because they are ground breaking discoveries, but more because I found it difficult to find information via the usual channels (google) and wanted to share. I think the poor information discovery is a [...]
Read More

Scalability – proxying heavyweight webapps

February 23, 2009 | by Geoff
We recently had a tech talk about scalability as it pertains to developing web applications. Many best practises were discussed including load balancing, clustering, highly-available databases, eventually consistent application designs. In most web applications, the proportion of dynamic requests (application logic) to static requests (images, javascript, css, html, flash) is usually quite low. As a result, [...]
Read More