Prev | Current Page 69 | Next

Brad Ediger

"Advanced Rails"

jamisbuck.org/under-the-hood.
One of the easiest-to-understand, most well-architectured pieces of Ruby software I
have seen is Capistrano 2, also developed by Jamis Buck. Not only does Capistrano
have a very clean API, it is extremely well built from the bottom up. If you haven??™t
been under Capistrano??™s hood, it will be well worth your time. The source is available
via Subversion from http://svn.rubyonrails.org/rails/tools/capistrano/.
Mark Jason Dominus??™s book Higher-Order Perl (Morgan Kaufmann Publishers) was
revolutionary in introducing functional programming concepts into Perl. When
Higher-Order Perl was released in 2005, Perl was a language not typically known for
its functional programming support. Most of the examples in the book can be translated
fairly readily into Ruby; this is a good exercise if you are familiar with Perl.
James Edward Gray II has written up his version in his ???Higher-Order Ruby??? series,
at http://blog.grayproductions.net/categories/higherorder_ruby.
The Ruby Programming Language, by David Flanagan and Yukihiro Matsumoto
(O??™Reilly), is a book covering both Ruby 1.8 and 1.9. It is due out in January 2008.
The book includes a section on functional programming techniques in Ruby.
46
Chapter 2 CHAPTER 2
ActiveSupport and RailTies 2
[Programs] must be written for people to read, and
only incidentally for machines to execute.


Pages:
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81