Crafting Rails Applications Front Cover

Crafting Rails Applications

  • Length: 180 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2011-04-11
  • ISBN-10: 1934356735
  • ISBN-13: 9781934356739
  • Sales Rank: #3173633 (See Top 100 Books)
Description

Rails Core developer Jose 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’s inner workings, including generators, template handlers, internationalization, routing, and responders. With the knowledge you’ll gain, you’ll be ready to tackle complicated projects more easily than ever before, creating solutions that are well-tested, modular, and easy to maintain.

Table of Contents

Chapter 1 Creating Our Own Renderer
Chapter 2 Building Models with Active Model
Chapter 3 Retrieving View Templates from Custom Stores
Chapter 4 Sending Multipart Emails Using Template Handlers
Chapter 5 Managing Application Events with Rails Engines
Chapter 6 Writing DRY Controllers with Responders
Chapter 7 Translating Applications Using Key-Value Backends

To access the link, solve the captcha.