This presentation was taped on 07/27/2006 at O'Reilly's OSCON 2006.
Experienced developers in dynamic languages tend to model problems not by building object hierarchies but by building domain specific languages. This session discusses building DSLs in Ruby. Several well-known examples (namely, Ruby on Rails and Rake) demonstrate this technique.
The session describes how Ruby facilitates this style of development, using method_missing, const_missing, and other meta-programming constructs in Ruby. It shows how to build a simple DSL, for what problems this technique is suitable, and how the dynamic nature of Ruby makes this possible, and includes lots of code examples.
Neal Ford is an application architect at ThoughtWorks, a global IT consultancy with an exclusive focus on end-to-end software development and delivery. He is the designer and developer of applications, instructional materials, magazine articles, courseware, video/DVD presentations, and author of 3 books, including Art of Java Web Development (Manning 2003).
Diego Scataglini
Link to this comment:
All Comments (0)