BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage Presentations MetaProgramming - Extending Ruby for Fun and Profit

MetaProgramming - Extending Ruby for Fun and Profit

Bookmarks
01:00:53

Summary

Ever wonder just how Rails declarations such as "has many" and "belongs_to" work? Ever wished you could write your own code that worked the same way? It turns out that this style of programming, often called metaprogramming, is easier than you might think. In this talk we'll see how Ruby's open classes, compile-time execution, and full meta-object model make it easy to write your own extensions.

Bio

Dave Thomas is recognized internationally as an expert who develops high-quality software--accurate and highly flexible systems. He helped write the now-famous Agile Manifesto, and regularly speak on new ways of producing software. He is the author of six books, including the best selling The Pragmatic Programmer: From Journeyman to Master and Programming Ruby: A Pragmatic Programmer's Guide.

About the conference

QCon is a conference that is organized by the community, for the community. The result is a high quality conference experience where a tremendous amount of attention and investment has gone into having the best content on the most important topics presented by the leaders in our community.QCon is designed with the technical depth and enterprise focus of interest to technical team leads, architects, and project managers.

Recorded at:

Dec 07, 2007

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • This is cool!!!

    by Jure Srsen,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Tnx. It would be really nice if more Ruby presentations like this would be available.

  • eph

    by Andrei Zinca,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    An otherwise good presentation ruined by an awful, macabre joke.

  • problems

    by jimmy coyne,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Is any body else having problems viewing this presentation?

  • Re: problems

    by Sean Cribbs,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    +1

  • Re: problems

    by johan andries,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    On Windows, for me it works in IE but not in FireFox.

  • able to download this?

    by Hrafn Nordhri,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Are we able to download this?

  • Re: This is cool!!!

    by Dilya Han,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    You can watch Dave's other talk about Metaprogramming in ruby on YouTube here. YouTube also has many others talking about metaprogramming as well.

    Also, there is a great Video Course about "Ruby Metaprogramming" here as well. Well worths its' price.

    Disclaimer: I did peer review for the course. So, the author gave me $100 OFF coupon that I added to the URL above as well.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT