BT
x Your opinion matters! Please fill in the InfoQ Survey about your reading habits!

Using ParseTree for LINQ-style queries and extracting metadata

by Werner Schuster on  Feb 14, 2008 1

Whether it's LISP macros or LINQ's expression trees - access to the AST of code is a powerful tool. We look at how ParseTree allows this in Ruby - and how it's being used in libraries like Ambition, Sequel and the web framework Merb.

Ruby 1.9 - When Will It be Production Ready

by Rick DeNatale on  Jan 10, 2008 1

Ruby 1.9 is out - but it's not yet intended to be used in production systems. The release tag had one effect: more developers are actually giving it a spin and try to run their applications and libraries and update them for the new version. We looked at how well Ruby 1.9 fares in this aspect.

InfoQ Presentation: MetaProgramming Ruby

by Werner Schuster on  Dec 07, 2007 6

InfoQ presents a video of Dave Thomas' QCon London presentation "MetaProgramming Ruby". Dave presents the basic Ruby language features for implementing Ruby on Rails features such as has_many. Class methods, open classes, Mixins, and more tools for metaprogramming are demonstrated and explained.

Article: Using Singleton Classes for Object Metadata

by Robert Bazinet on  Dec 05, 2007

We have another feature article to publish by InfoQ's own Werner Schuster where he elegantly explains a way to annotate object graph with metadata to solve complex problems.

Ruby Shoes for lightweight GUIs, graphics and animation

by Werner Schuster on  Sep 19, 2007

Ruby GUI toolkits are a dime dozen - but Why The Lucky Stiff managed to create one with a novel approach. Ruby Shoes facilitates animation, 2D graphics, and simple interaction. We take a look at its distinguishing features.

Three approaches to JRuby GUI APIs

by Werner Schuster on  Jul 06, 2007 1

Ruby already has a host of bindings for various GUI toolkits. JRuby now allows the use of Java's Swing and there are already a few libraries trying to make Swing less tedious to work with. We look at the approaches taken in Profligacy, Cheri, and the JavaFX Script clone Swiby.

JMX the Ruby way with jmx4r

by Werner Schuster on  Jun 29, 2007 3

Monitoring JVMs just became easier with jmx4r, a library that allows to easily access JMX MBeans with JRuby. If used from jirb, the interactive Ruby shell, this even allows to automate bulk changes or queries.

Aaron Erickson on LINQ and i4o

by Jonathan Allen on  Jun 22, 2007 5

In an interview with InfoQ, Aaron Erickson introduces his new LINQ extension Indexes for Objects (i4o). Indexes for Objects allows for fast lookup against in-memory collections while retaining the LINQ syntax and semantics. He also discusses how expression trees interact with LINQ and how they can be leveraged in other scenarios.

What's a Ruby DSL and what isn't?

by Werner Schuster on  Jun 15, 2007 11

"Domain Specific Language" (DSL) is a popular buzzword in the Ruby community. Recently, however, doubts about the use of the term arose, particularly because it tends to be used even for ordinary APIs, simply because Ruby allows to omit parentheses. We look at some of the style debates.

Edit Expression Trees with MetaLinq

by Jonathan Allen on  Jun 14, 2007

In the current implementation of .NET 3.5, expression trees are immutable. Developers wishing to edit one have to manually build new expressions by copying existing ones. Aaron Erickson's MetaLinq allows developers to side-step this by providing a way to convert expression trees into mutable representations and back again.

Article: Adding Properties to Ruby Metaprogramatically

by Obie Fernandez on  Apr 18, 2007 8

Werner Schuster walks us through a simple example of adding Java-style properties support (declarative getters, setters and change listeners) to Ruby classes via a Mixin by using elements of Ruby meta-programming. Introduces ideas for enhancement using principles of design-by-contract and pluggable type systems.

Ruby Metaprogramming Techniques

by Peter Cooper on  Sep 27, 2006

Ola Bini looks at several common metaprogramming techniques in Ruby.

InfoQ Article: Will the Enterprise change Ruby, or will Ruby change the Enterprise?

by Obie Fernandez on  Jul 11, 2006 7

Ruby is often criticized for lacking the features required for developing large applications and maintaining them over long periods of time with large teams. Are we missing something fundamental for widescale adoption of Ruby in the enterprise?

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT