Book description
If you’re a web developer or designer ready to learn Rails, this unique book is the ideal way to start.
Rather than throw you into the middle of the framework’s Model-View-Controller architecture, Learning Rails 3 works from the outside in. You’ll begin with the foundations of the Web you already know, and learn how to create something visible with Rails’ view layer. Then you’ll tackle the more difficult inner layers: the database models and controller code.
All you need to get started is HTML experience. Each chapter includes exercises and review questions to test your understanding as you go.
- Present content by building an application with a basic view and a simple controller
- Build forms and process their results, progressing from simple to more complex
- Connect forms to models by setting up a database, and create code that maps to database structures
- Use Rails scaffolding to build applications from a view-centric perspective
- Add common web application elements such as sessions, cookies, and authentication
- Build applications that combine data from multiple tables
- Send and receive email messages from your applications
"Learning Rails 3 feels like a brisk pair programming session with professionals who know how to use Ruby on Rails to get things done, and get them done well."
-Alan Harris, author of Sinatra: Up and Running
Table of contents
- Learning Rails 3
- A Note Regarding Supplemental Files
-
Preface
- Who This Book Is For
- Who This Book Is Not For
- What Youâll Learn
- Ruby and Rails Style
- Other Options
- Rails Versions
- If You Have Problems Making Examples Work
- If You Like (or Donât Like) This Book
- Conventions Used in This Book
- Using Code Examples
- Safari® Books Online
- How to Contact Us
- Acknowledgments
- 1. Starting Up Ruby on Rails
- 2. Rails on the Web
- 3. Adding Web Style
- 4. Managing Data Flow: Controllers and Models
- 5. Accelerating Development with Scaffolding and REST
- 6. Presenting Models with Forms
- 7. Strengthening Models with Validation
- 8. Improving Forms
- 9. Developing Model Relationships
- 10. Managing Databases with Migrations
- 11. Debugging
- 12. Testing
- 13. Sessions and Cookies
- 14. Users and Authentication
- 15. Routing
- 16. From CSS to SASS
- 17. Managing Assets and Bundles
- 18. Sending Code to the Browser: JavaScript and CoffeeScript
- 19. Mail in Rails
- 20. Pushing Further into Rails
- A. An Incredibly Brief Introduction to Ruby
- B. An Incredibly Brief Introduction to Relational Databases
- C. An Incredibly Brief Guide to Regular Expressions
- D. Glossary
- Index
- About the Authors
- Colophon
- Copyright
Product information
- Title: Learning Rails 3
- Author(s):
- Release date: July 2012
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449343439
You might also like
video
Radical candor: be a better boss
Bad bosses make people miserable. They kill innovation, stifle growth, increase costs, and create instability. Well-meaning …
book
Modern Software Engineering: Doing What Works to Build Better Software Faster
Improve Your Creativity, Effectiveness, and Ultimately, Your Code In Modern Software Engineering, continuous delivery pioneer David …
book
Building Micro-Frontends
What's the answer to today's increasingly complex web applications? Micro-frontends. Inspired by the microservices model, this …
book
Deciphering Data Architectures
Data fabric, data lakehouse, and data mesh have recently appeared as viable alternatives to the modern …