"Learning Rails" takes a web-centric approach to the popular web application framework, making it easier to get started. Most Rails books are written for programmers who have already worked in other frameworks. They explain how to handle the inner parts of an application first - models and controllers - before moving on to the view. For web developers who know HTML and JavaScript, though, starting with databases is a painful way to learn Rails. This book approaches Rails from the outer layer, letting web designers create something visible before reaching the difficult database models and controller code in the inner layers. With "Learning Rails", you can start from the HTML and programming you already know, and then move more deeply into Ruby, objects, and database structures.Once this book gets you up and running, you'll learn how to: present content by building a simple application with a basic view and a simple controller, while learning Ruby along the way; build forms and process their results, moving from the simple to the complex; connect forms to models by setting up a database, and use Rails' Active Record to create code that maps to database structures; use Rails scaffold to build applications from a view-centric perspective; manage content with Rails using features like routing and layouts; add common web applications elements like sessions, cookies, and authentication; build applications that combine data in multiple tables; test data structures and deploy them to a production environment; create dynamic interfaces with Rails and Ajax.
By the end of this book, you'll be comfortable working in Rails. You won't be a Ruby guru, but you'll be ready to take advantage of other resources for becoming one. This approach may test the patience of hardcore programmers. But, while databases and objects may be at the core of web application development, they aren't necessarily at the core of everyone's web application skills. If you'd rather learn Rails from the outside in, working with the more familiar view side of the application, you're in the right place with "Learning Rails".
- ISBN10 0596803338
- ISBN13 9780596803339
- Publish Date 18 November 2008
- Publish Status Active
- Imprint O'Reilly Media
- Format eBook
- Pages 448
- Language English