Book description
While most books written about Rails cater to programmers looking for information on data structures, Learning Rails targets web developers whose programming experience is tied directly to the Web. Rather than begin with the inner layers of a Rails web application--the models and controllers--this unique book approaches Rails development from the outer layer: the application interface. You'll learn how to create something visible with Rails before reaching the more difficult database models and controller code. With Learning Rails, you can start from the foundations of web design you already know, and then move more deeply into Ruby, objects, and database structures. This book will help you:
Present web content by building an application with a basic view and a simple controller, while learning Ruby along the way
Build forms and process their results, progressing from the simple to the more complex
Connect forms to models by setting up a database, and use Rails' ActiveRecord to 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
Create simple but dynamic interfaces with Rails and Ajax
Once you complete Learning Rails, you'll be comfortable working with the Rails web framework, and you'll be well on your way to becoming a Rails guru.
Publisher resources
Table of contents
-
Learning Rails
- A Note Regarding Supplemental Files
- Preface
- 1. Starting Up Ruby on Rails
- 2. Rails on the Web
- 3. Adding Web Style
- 4. Controlling 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. Creating Dynamic Interfaces with Rails and Ajax
- 17. Mail in Rails
- 18. Securing, Managing, and Deploying Your Rails Projects
- 19. Making the Most of Rails—And Beyond
- A. An Incredibly Brief Introduction to Ruby
- B. An Incredibly Brief Introduction to Relational Databases
- C. An Incredibly Brief Guide to Regular Expressions
-
D. A Catalog of Helper Methods
- Calling Helper Methods
- ActiveRecordHelper
- AssetTagHelper
- AtomFeedHelper and AtomFeedHelper::AtomFeedBuilder
- BenchmarkHelper, CacheHelper, and CaptureHelper
- DateHelper
- DebugHelper
- FormHelper, FormTagHelper, and FormOptionsHelper
- JavaScriptHelper
- NumberHelper
- PrototypeHelper
- RecordIdentificationHelper
- SanitizeHelper
- ScriptaculousHelper
- TagHelper
- TextHelper
- UrlHelper
- E. Glossary
- Index
- About the Authors
- Colophon
Product information
- Title: Learning Rails
- Author(s):
- Release date: November 2008
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596518776
You might also like
book
Software Engineering at Google
Today, software engineers need to know not only how to program effectively but also how to …
book
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …
book
The Well-Grounded Rubyist, Third Edition
In The Well-Grounded Rubyist, Third Edition expert authors David A. Black and Joseph Leo deliver Ruby …
book
Kubernetes in Action
Kubernetes in Action teaches you to use Kubernetes to deploy container-based distributed applications. You'll start with …