Archive for June 2009

Article: Ruby at ThoughtWorks

Ruby at ThoughtWorks by Martin Fowler

ThoughtWorks started using Ruby for production projects in 2006, from then till the end of 2008 we had done 41 ruby projects. In preparation for a talk at QCon I surveyed these projects to examine what lessons we can draw from the experience. I describe our thoughts so far on common questions about Ruby's productivity, speed and maintainability. So far our conclusions are that Ruby is a viable platform that should be seriously considered for many forms of applications – in particular web applications using Ruby on Rails. I also go through some technical lessons, including some thoughts on testing with Active Record.

Comments

Article: Profiling Ruby With Google’s Perftools

Profiling Ruby With Google’s Perftools from igvita.com

Benchmarking, profiling and debugging are all areas where better tool support could really benefit the Ruby community. Built in benchmark library and extensions such as ruby-prof provide us with a minimal level of introspection to help identify the common bottlenecks, but they still fall short of the available tools for the JVM, or other dynamic runtimes.

Comments

Article: The “AJAX Head” Design Pattern

The "AJAX Head" Design Pattern by kencollins

It is an experiment into a vision to see what happens when you make the decision to totally go unobtrusive. Not just in your views but the controllers too! Imagine it this way — your controllers are slim APIs. They should do nothing but render a page on a GET request and when it comes to a POST/PUT/DELETE they should do nothing more than just say YES or NO (with errors).

Comments

Article: Mockito.LoginServiceExample

Mockito.LoginServiceExample by Brett L. Schuchert

What follows is a series of tests to get enough production code written to suggest a better implementation. The first purpose of this tutorial is to demonstrate using Mockito for all types other than the underling LoginService. This is close to a classic mockist approach, though it varies in that I'm emphasizing testing interaction rather than state and deliberately trying to write stable tests that do not depend too much on the underling implementation.

Comments

Article: What’s New In Scala 2.8

What's New In Scala 2.8 from Bay-Area Scala Enthusiasts (BASE) Meeting by Dean Wampler

This week is JavaOne in San Francisco. The Bay-Area Scala Enthusiasts (BASE) held their monthly meeting. Martin Odersky, the creator of Scala, was the special guest. He discussed what’s new In Scala 2.8, followed by Q&A. We met at Twitter HQ.

Comments

Article: Enterprise Scala Beans

Enterprise Scala Beans by Julian Exenberger

This is a "hello world" tutorial to show how to get a Scala class configured to run as an EJB 3.0 inside a JEE app server, in this case Glassfish V2.

Comments