Archive for May 2008

Ruby articles

21 Ruby Tricks You Should Be Using In Your Own Code by Peter Cooper

I present 21 different Ruby tricks, from those that most experienced developers already use every day to those that are more obscure.

Ruby EventMachine – The Speed Demon from igvita.com

Ruby EventMachine is a framework, which depending on who you talk to, either yields a lot of excitement (Evented Mongrel, Analogger, Evented Starling, etc.) or its fair share of criticism. In part, the FUD is due to the mismatch of the language used, and the underlying implementation – namely, the Reactor pattern.

Will’s Guide to Mashing-up Remote Databases using Page Scraping from BenchCoach.com

This paper explains scraping, parsing and merging techniques to load data from a remote site with the constraint that we have zero cooperation from said remote site. The audience is people who are either going to implement a mash-up from scratch or who wants to understand some of the technical issues involved with scraping.

28 mod_rails / Passenger Resources To Help You Deploy Rails Applications Faster by Peter Cooper

Passenger (often known as “mod_rails“) is an Apache module developed by Phusion, a small Dutch IT consultancy, that makes it easy to deploy Rails applications on Apache-based stacks. Passenger follows on well from the popular “No True mod_ruby Is Damaging Ruby’s Viability on the Web” discussion of January 2008 in that it mostly solves the Rails deployment issue

Comments

Article: Canon 40D vs Canon 450D / Digital Rebel XSi

Canon 40D vs Canon 450D / Digital Rebel XSi from dpnotes.com

In this post, I attempt to compare and summarize the differences between these two digital SLR cameras from Canon and hopefully, this will help those deciding whether to get the 40D or 450D.

Comments

Article: Pimp my Gedit (Was: Textmate for Linux)

Pimp my Gedit (Was: Textmate for Linux) by grigio.org

Plugins that support Ruby editing in Gedit.

Comments

Article: TextMate Tip – The Ruby Bundle

TextMate Tip – The Ruby Bundle by Ciarán Walsh

The Ruby bundle is a large collection of automations that will help you write and run Ruby code. If you are a Rails user, switch the language menu at the bottom of each editor window to "Ruby on Rails" to gain access to these automations plus those defined in the Rails bundle.

Comments

Article: Beginners Tutorial: Routing in Rails 2.0 (with REST)

Beginners Tutorial: Routing in Rails 2.0 (with REST) – Part 1, 2, 3 and 4 by darynholmes

This is a series for beginners wanting to learn about routing in Rails 2.0. This first post is aimed at exploring the behaviour of routing in Rails. It examines what happens when the routing system is given a certain URL. Future posts will examine the ‘hows’ and ‘whys’ of this behaviour.

Comments

Article: Getting Started with Web Service Mocking

Getting Started with Web Service Mocking from soapUI.org

…create mock implementations of operations and entire services with a combination of static response messages combined with Groovy scripts, attachments and custom http headers. This opens for a number of usage scenarios, including:

* Rapid Web Services Prototyping; generate a complete static mock implementation from a WSDL in seconds and add dynamic functionality using Groovy.
* Client testing/development; create mock implementations of desired operations and set up a number of alternative responses (including scripts, attachments and custom http headers). Clients can be developed and tested without access to the "live" services. Responses can be cycled, randomized or selected with XPath expression from incoming request
* Test Driven Development; Create soapUI TestSuitesa and TestCases against MockServices before or during the actual services being implemented

Comments

Article: Distributed Version Control Systems: A Not-So-Quick Guide Through

Distributed Version Control Systems: A Not-So-Quick Guide Through by Sebastien Auvray

Since Linus Torvalds presentation at Google about git in May 2007, the adoption and interest for Distributed Version Control Systems has been constantly rising. We will introduce the concept of Distributed Version Control, see when to use it, why it may be better than what you're currently using, and have a look at three actors in the area: git, Mercurial and Bazaar.

Comments

Blog: Groovy, JRuby, Jython, Scala: Who Wins the Script Bowl?

Groovy, JRuby, Jython, Scala: Who Wins the Script Bowl? from Seapegasus Blog

Script Bowl was indeed what the caption promised, a rapid-fire comparison of scripting languages. Four developers took on the challenge to convince the audience of their language of choice — in only three minutes per round. Guillaume LaForge represented Groovy, Charles Nutter represented JRuby, Frank Wierzbicki represented Jython, and Jorge Ortiz represented Scala.

Comments

Blog: Ruby Project Tree

Ruby Project Tree from Jay Fields

I was recently asked: How would you structure a (non-Rails) Ruby project?

Here's a list of the things I generally do when creating a new project

Comments

Article: OSGi for beginners

OSGi for beginners by Joseph Ottinger

The Seven-Word and Twenty-Four-Second explanations of OSGi

OSGi is a component framework for Java.

The twenty-four second explanation: OSGi is a framework for Java in which units of resources called bundles can be installed. Bundles can export services or run processes, and have their dependencies managed, such that a bundle can be expected to have its requirements managed by the container. Each bundle can also have its own internal classpath, so that it can serve as an independent unit, should that be desireable. All of this is standardized such that any valid OSGi bundle can theoretically be installed in any valid OSGi container.

Comments

« Previous Entries