项目简介

Rails just keeps on changing. Both Rails 3 and 4, as well as Ruby 1.9 and 2.0, bring hundreds of improvements, including new APIs and substantial performance enhancements. The fourth edition of this award-winning classic has been reorganized and refocused so it’s more useful than ever before for developers new to Ruby and Rails.

Rails 4 introduces a number of user-facing changes, and the book has been updated to match all the latest changes and new best practices in Rails. This includes full support for Ruby 2.0, controller concerns, Russian Doll caching, strong parameters, Turbolinks, new test and bin directory layouts, and much more.


About This Title

Ruby on Rails helps you produce high-quality, beautiful-looking web applications quickly. You concentrate on creating the application, and Rails takes care of the details.

Tens of thousands of developers have used this award-winning book to learn Rails. It’s a broad, far-reaching tutorial and reference that’s recommended by the Rails core team. If you’re new to Rails, you’ll get step-by-step guidance. If you’re an experienced developer, this book will give you the comprehensive, insider information you need.

Rails has evolved over the years, and this book has evolved along with it. We still start with a step-by-step walkthrough of building a real application, and in-depth chapters look at the built-in Rails features. This edition now gives new Ruby and Rails users more information on the Ruby language and takes more time to explain key concepts throughout. Best practices on how to apply Rails continue to change, and this edition keeps up. Examples use Concerns, Russian Doll caching, and Turbolinks, and the book focuses throughout on the right way to use Rails. Additionally, this edition now works on Ruby 2.0, a new release of Ruby with substantial functional and performance improvements.

This edition is for Rails 4.0 and beyond.

Learn Rails 4 Online at the Pragmatic Studio

Want to learn how to build Rails 4 apps interactively through engaging videos and hands-on exercises? Check out The Pragmatic Studio’s online Ruby on Rails Programming course.

In this online, self-paced course you’ll learn the fundamentals every Rails developer should know, and how to put all the pieces together, so you can confidently create your first Rails app or jump right into an existing app. Throughout the course you’ll also learn key design principles and practices to help you craft robust and flexible Rails apps.

“One of the best learning experiences I’ve ever had! I’ve gone through many courses and books. From all of these, your Rails course is the best in terms of teaching style, course structure, topics, and being up-to-date with Rails 4.” — Mate Kaszas

Read the reviews .

You Might Also Like

  • Cover Image For Programming Ruby 1.9 & 2.0…
  • Cover Image For Cucumber Recipes…
  • Cover Image For Async JavaScript…
  • Cover Image For Programming Sound with Pure Data…
  • Cover Image For Crafting Rails 4 Applications…
  • Cover Image For HTML5 and CSS3…
  • Cover Image For Working with Ruby Threads…

Forums

Each of our books has its own dedicated discussion area, where readers help each other out. Many authors also choose to drop by.

Join in…

Here are some recent topics:

Contents & Extracts

Full Table of Contents

Introduction

  • Getting Started
  • Building an Application
    • The Depot Application
    • Task A: Creating the Application
    • Task B: Validation and Unit Testing
    • Task C: Catalog Display
    • Task D: Cart Creation
    • Task E: A Smarter Cart
    • Task F: Add a Dash of Ajax
    • Task G: Check Out!
    • Task H: Sending Mail
    • Task I: Logging In
    • Task J: Internationalization
    • Task K: Deployment and Production
    • Depot Retrospective
  • Rails in Depth
    • Finding Your Way Around Rails
    • Active Record
    • Action Dispatch and Action Controller
    • Action View
    • Caching
    • Migrations
    • Non-Browser Applications
    • Rails’ Dependencies
    • Rails Plugins
    • Where to Go From Here

Brought to You By

Sam Ruby is a prominent software developer who is a co-chair of the W3C HTML Working Group and has made significant contributions to many of the Apache Software Foundation’s open source software projects. He is a Senior Technical Staff Member in the Emerging Technologies Group of IBM.

Dave Thomas, as one of the authors of the Agile Manifesto, understands agility. As the author of Programming Ruby, he understands Ruby. And, as an active Rails developer, he knows Rails.

David Heinemeier Hansson is the creator of the Rails framework.

© Copyright 2007~2021 国防科技大学Trustie团队 & IntelliDE 湘ICP备 17009477号

问题和建议
还能输入50个字符 提交

加入QQ群

关注微信APP


×