Crafting Rails Applications - José Valim

Expert Practices for Everyday Rails Development

“Much of the work of Rails 3 involved significant improvements to its APIs. If you want to learn more about how to use them in a practical way, this book is a must read”

- Yehuda Katz Take a step forward to be a Rails 3 expert: Get it now
Crafting Rails Applications Cover

About the Book

Rails 3 is a huge step forward. You can now easily extend the framework, change its behavior, and replace whole components to bend it to your will, all without messy hacks. This pioneering book is the first resource that deep dives into the new Rails 3 APIs and tells you how use them to write better web applications and make your day-to-day work with Rails more productive.

Rails Core developer José Valim guides you through seven different tutorials, each of them using test-driven development to build a new Rails extension or application that solves common problems with these new APIs. You will understand how the Rails rendering stack works and customize it to read templates from the database while you learn how to mimic Active Record behavior, like validations, in any other object. You will find out how to write faster, leaner controllers, and you'll learn how to mix Sinatra applications into your Rails apps, so you can choose the most appropriate tool for the job. In addition, you will improve your productivity by customizing generators and responders.

This book will help you understand Rails 3 better so you can use its structure to write simpler, faster, and better web applications.

Click here to see the book contents or a couple extracts.

  • Each chapter shows you how to build a Rails extension or application using test-driven development techniques;
  • You'll learn how to customize Rails applications to suit your workflow;
  • You'll discover how to DRY up your code by using the new Rails 3 API;
  • You'll learn how to write modular code as you explore some of the technical decisions made by the Rails Core Team;

About the Author

José is the lead developer and co-founder of Plataforma Tec. He started working with Ruby and Rails in late 2006 and was invited to be part of the Rails Core Team in 2010 after his work on Rails 3 development. He's also author and maintainer of various other well-known open source projects that lead him to receive a Ruby Hero award in recognition for his contributions to the community. Lately, he's been flying around the globe giving talks and courses about Ruby and Rails.

Check out what he and Plataforma Tec's Team have been doing on their blog.

foto do autor jose valim

Plataforma Tecnologia is a software engineering consultancy specialized in delivering tailored solutions to the client's need, be it developing a Rails application, tackling complex development problems or even taking over and rescuing a project. Plataforma Tec's contributions to the Rails community come both through its Open Source Projects (such as Devise) and also by evangelizing Rails' advantages for the development of web applications.

Do you have a problem that needs to be solved? Contact us so we can see how best we can help you out.

quotes

Not many books have been written for more advanced Rails developers. This books steps into that space and covers totally new ground with practical techniques that can be put to use right away. Great stuff.
- Gavin Hughes, Developer


quotes

José is the rising star of the Ruby community. This is the most important book for advanced Rails developers by one of the most knowledgeable experts; you can't afford to miss it.
- Jonas Nicklas, Elabs, Developer



quotes

This book cuts through the hype surrounding Rails 3 and teaches you practical techniques to take advantage of the modularity and extensibility that we've heard so much about.
- Trevor Turk, Freelance Developer


quotes

Great coders who can clearly explain their code are rare but José shows he is one of the rare ones. This book taught me about the way Rails works, how to exploit its new flexibility and how I can leverage my effort substantially. If you plan to do more than just write apps with Rails, read this book.
- Bill Lazar, Glam Media Inc., Software Developer