I am going to be posting a few articles related to Software Design Patterns and how they are applicable to Ruby. The first two patterns that will be covered are the Observer Pattern and the Singleton Pattern. Observer Pattern If you are…
Continue Reading… To give them their Sunday name, Finite State Machines (FSMs) are all around us and if we open our eyes long enough you can see them in play when you buy a can of soda, progress through e-commerce shopping carts, pass through…
Continue Reading… In part one of this series, we looked looked at the basics of functional programming and visited, in detail, immutability and side-effect free code. In part two, we explored the concepts of higher-order functions and currying, as well as the myriad of…
Continue Reading… With Ruby 2.0 set to be released on February 24th, exactly on the 20th anniversary of Ruby’s first debut, I decided to write this article to give you a quick rundown of some of the most interesting changes. And if you would…
Continue Reading… Ruby is a beautiful language. What makes it so elegant is the presence of an insane amount of facilities that reduce the amount of code you have to write. There’s a lot of these little pieces and dealing with all of them…
Continue Reading… Unless you’ve been living under a Ruby colored rock, you’ve likely heard about mruby, Matz’s latest experimental Ruby implementation. What I bet you didn’t know is that you can run mruby on Heroku right now. As a matter of fact you can…
Continue Reading… Introduction to the Ruby Social Gems series In this series, we are going to cover gems based around social media and social media services, such as LinkedIn, Twitter, Facebook, Youtube, and any other suggested gems. LinkedIn Gem The first gem in the…
Continue Reading… FXRuby is a powerful library for developing cross-platform graphical user interfaces (GUIs). It is based on the FOX toolkit (an open source, highly optimized library written in C++) and offers Ruby developers the possibility of coding applications in the language they love,…
Continue Reading… The Big Project So, assuming you’ve read the previous parts of this series, you should have a somewhat working knowledge of the various parts of Celluloid. But, so far, we haven’t really covered how all of these parts come together to form…
Continue Reading… The view layer in a traditional Rails app hasn’t changed a huge amount since rails 1.0 was shipped back in the crazy mid noughties. Sure—you might have switched from Prototype to jQuery, XHTML to HTML5, CSS to slightly nicer responsive CSS—but the…
Continue Reading…