Book Name: | Objects on Rails |
Category: | Computer Books ( CE & IT ) |
Free Download: | Available |
Objects on Rails
Hi there! Welcome to Objects on Rails. This text is a step-by-step walkthrough following the construction of a simple web application using Ruby on Rails. It differs from other walkthroughs in attempting to apply a strongly object-oriented philosophy to the process. Wait a sec! Do you say? Isn’t Rails already object-oriented? Well, yes and no. While Rails is written in a thoroughly OO language and built on some solid OO patterns, conventional Rails application development aspects depart significantly from OO practices, which is not necessarily a problem in and of itself. Many programs get by just fine with (for instance) a mix of OO and functional programming styles. But experience has shown that these same Rails not-so-OO practices—such as models which violate the Single Responsibility Principle (SRP), or putting complex business logic in helpers—are a common source of development delays in maturing Rails applications.
In this text, we’ll build a basic blog application (yes, another one). You’ll be my virtual pair-programmer as I work through the application’s problems by applying what I’ve learned about object-oriented design over the years. I’ll do my best to explain my reasoning, walk you through the code piece by piece, and point you to further information about the patterns and guidelines I’m following.
In this text, we’ll build a basic blog application (yes, another one). You’ll be my virtual pair-programmer as I work through the application’s problems by applying what I’ve learned about object-oriented design over the years. I’ll do my best to explain my reasoning, walk you through the code piece by piece, and point you to further information about the patterns and guidelines I’m following.
Objects on Rails. Notes on flexible application design PDF