Book description
If you’re a web developer or designer ready to learn Ruby on Rails, this hands-on guide is the ideal way to get started. Rather than toss you into the middle of the framework’s Model-View-Controller architecture, as many books do, Learning Rails 5 begins with the foundations of the Web you already know.
You’ll learn how to create something visible with Rails’ view layer before diving into the more difficult inner layers: the database models and controller code. All you need to begin your Rails journey 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
- Use Rails scaffolding and REST to build effective applications quickly
- Connect forms to models and create code that maps directly to database structures
- Build applications that combine data from multiple tables
- Use migrations to track changes to your database over time
- Add common elements such as sessions, cookies, and authentication
Table of contents
- Foreword
- Preface
- 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
Product information
- Title: Learning Rails 5
- Author(s):
- Release date: August 2016
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491926154
You might also like
book
Architecting Data-Intensive Applications
Architect and design data-intensive applications and, in the process, learn how to collect, process, store, govern, …
audiobook
How to Get the Best From Introverts and Extroverts
Welcome to Audio Learning from Assemble You. Swiss psychologist Carl Jung introduced the concept of introversion …
book
Radar Trends to Watch: July 2022
Read about the latest developments on O'Reilly Media's Radar.
book
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …