Archive for Ruby/Rails

Article: Flex functional testing with FunFx and Cucumber

Flex functional testing with FunFx and Cucumber by Andrea Franz

Cucumber is a great tool I usually use for BDD in my ruby projects, but yesterday I tried it with Flex, and it was very enjoyable. Here a little example on how to test Flex applications with Cucumber.

Comments

Article: 6 ways to run background jobs in Ruby (On Rails)

6 ways to run background jobs in Ruby (On Rails) by Tobin Harris

Here’s the contenders I’ve found so far, for anyone who’s interested.

* BackgroundDrb
* Delayed Job
* Background Job aka BJ
* Spawn
* Workling
* BackgroundFu
* Rufus Scheduler

And here’s some things that might help with the whole “distributed work queue” problem too…

* Sparrow.
* Conveyor
* Beanstalkd

Comments

Article: RGen: Ruby Modelling and Code Generation Framework

RGen: Ruby Modelling and Code Generation Framework by Martin Thiede

The Ruby based RGen framework provides support for dealing with models and metamodels, for defining model transformations and for generating textual output. It is tightly coupled with the Ruby language as it uses internal DSLs. Following the Ruby design principles, it is lightweight and flexible and supports efficient development by providing means to write concise, maintainable code

Comments

Article: RFactor: Ruby Refactoring Support for Text Editors

RFactor: Ruby Refactoring Support for Text Editors posted by Mirko Stocker

RFactor is a Ruby gem that aims to provide automated refactoring support for your favorite text editor. Don't we have IDEs that support refactoring? Yes, but RFactor developer Fabio Kung believes that "most of Ruby developers do not use IDEs" and that a text editor is good enough.

Comments

Article: Declarative Concurrency For Ruby With Dataflow

Declarative Concurrency For Ruby With Dataflow posted by Sebastien Auvray from InfoQ

Larry Diehl brings a declarative concurrent model to Ruby by importing the concept of unification from Oz Language. Oz is a multiparadigm programming language. It is mainly known as a functional (lazy and eager evaluation), distributed, and concurrent programming language, but also supports constraint, logic, imperative and object-oriented programming.

Comments

Article: Wee: Continuation Based Ruby Web Framework

Wee: Continuation Based Ruby Web Framework by Mirko Stocker

Wee (web engineering easy) is a Seaside like web framework that uses continuations and lets the developer "get the job done quick and beautiful", as its developer Michael Neumann writes. Wee also has reusable components, "which are like widgets in a GUI. Once written, you can use them everywhere", targeting componentized HTML GUI applications, rather than RESTish ones. The approaching 2.0 release will also be fully Rack based

Comments

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: Java Integration with Groovy, JRuby and Scala

Java Integration with Groovy, JRuby and Scala by Tiago Fernandez

In my opinion, Scala is currently the most suited to the enterprise world. Maybe we'll get better results from JRuby if it could generate Java types from Ruby code, but I'm afraid it's too soon.

Comments

« Previous Entries