The Rails 3 Way - Obie Fernandez

The Rails 3 Way

(Autor)

Buch | Softcover
XLV, 708 Seiten
2011 | 2. Rev. ed.
Addison-Wesley (Verlag)
978-0-321-60166-7 (ISBN)
39,50 inkl. MwSt
zur Neuauflage
  • Titel ist leider vergriffen;
    keine Neuauflage
  • Artikel merken
Zu diesem Artikel existiert eine Nachauflage
Obie Fernandez has been hacking computers since he got his first Commodore VIC-20 in the eighties, and found himself in the right place and time as a programmer on some of the first Java enterprise projects of the mid-nineties. Obie has been evangelizing Ruby on Rails online via blog posts and publications since early 2005. He has traveled around the world relentlessly promoting Rails at large industry conferences. As CEO and Founder of Hashrocket, Obie specializes in orchestrating the creation of large-scale, web-based applications, both for startups and mission-critical enterprise projects. He still gets his hands dirty with code on at least a weekly basis and posts regularly on various topics to his popular technology blog.
Ruby on Rails strips complexity from the development process, enabling professional developers to focus on what matters most: delivering business value via clean and maintainable code. The Rails 3 Way is the only comprehensive, authoritative guide to delivering production-quality code with Rails 3. Pioneering Rails expert Obie Fernandez and a team of leading experts illuminate the entire Rails 3 API, along with the idioms, design approaches, and libraries that make developing applications with Rails so powerful. Drawing on their unsurpassed experience and track record, they address the real challenges development teams face, showing how to use Rails 3 to maximize your productivity.

Using numerous detailed code examples, the author systematically covers Rails 3 key capabilities and subsystems, making this book a reference that you will turn to again and again. He presents advanced Rails programming techniques that have been proven effective in day-to-day usage on dozens of production Rails systems and offers important insights into behavior-driven development and production considerations such as scalability. Dive deep into the Rails 3 codebase and discover why Rails is designed the way it is—and how to make it do what you want it to do.

This book will help you
  • Learn what’s new in Rails 3
  • Increase your productivity as a web application developer
  • Realize the overall joy in programming with Rails
  • Leverage Rails’ powerful capabilities for building REST-compliant APIs
  • Drive implementation and protect long-term maintainability using RSpec
  • Design and manipulate your domain layer using Active Record
  • Understand and program complex program flows using Action Controller
  • Master sophisticated URL routing concepts
  • Use Ajax techniques via Rails 3 support for unobtrusive JavaScript
  • Learn to extend Rails with popular gems and plugins, and how to write your own
  • Extend Rails with the best third-party plug-ins and write your own
  • Integrate email services into your applications with Action Mailer
  • Improve application responsiveness with background processing
  • Create your own non-Active Record domain classes using Active Model
  • Master Rails’ utility classes and extensions in Active Support

Obie Fernandez has been hacking computers since he got his first Commodore VIC-20 in the eighties, and found himself in the right place and time as a programmer on some of the first Java enterprise projects of the mid-nineties. Obie has been evangelizing Ruby on Rails online via blog posts and publications since early 2005. He has traveled around the world relentlessly promoting Rails at large industry conferences. As CEO and Founder of Hashrocket, Obie specializes in orchestrating the creation of large-scale, web-based applications, both for startups and mission-critical enterprise projects. He still gets his hands dirty with code on at least a weekly basis and posts regularly on various topics to his popular technology blog.

Foreword by David Heinemeier Hansson xxxiii
Foreword by Yehuda Katz xxxv
Introduction xxxvii
Acknowledgments xliii
About the Author xlv


Chapter 1: Rails Environments and Configuration 1
Chapter 2: Routing 31
Chapter 3: REST, Resources, and Rails 55
Chapter 4: Working with Controllers 85
Chapter 5: Working with Active Record 119
Chapter 6: Active Record Migrations 161
Chapter 7: Active Record Associations 181
Chapter 8: Validations 231
Chapter 9: Advanced Active Record 251
Chapter 10: Action View 293
Chapter 11: All About Helpers 309
Chapter 12: Ajax on Rails 409
Chapter 13: Session Management 425
Chapter 14: Authentication 433
Chapter 15: XML and Active Resource 445
Chapter 16: Action Mailer 471
Chapter 17: Caching and Performance 483
Chapter 18: RSpec 501
Chapter 19: Extending Rails with Plugins 535
Chapter 20: Background Processing 549

Appendix A: Active Model API Reference 561
Appendix B: Active Support API Reference 579

Index 687
Method Index 697

Reihe/Serie Addison-Wesley Professional Ruby Series
Co-Autor Durran Jordan, Jon Larkowski, Xavier Noria, Tim Pope
Vorwort Davod Heinemeier Hansson, Yehuda Katz
Verlagsort Boston, MA
Sprache englisch
Maße 178 x 232 mm
Gewicht 1140 g
Themenwelt Informatik Programmiersprachen / -werkzeuge Ruby
Mathematik / Informatik Informatik Web / Internet
ISBN-10 0-321-60166-1 / 0321601661
ISBN-13 978-0-321-60166-7 / 9780321601667
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich