Synopses & Reviews
Ready to learn Rails? Get up to speed using the frameworks latest release. In this Live Edition, Learning Rails has been updated to cover Rails 2.3.5, making it an ideal guide for Rails beginners.
Unlike most Rails books, Learning Rails is for web developers, and not for programmers. Rather than begin with the inner layers of a Rails web application -- the models and controllers -- this book approaches Rails development from the outer layer: the view side of an application. Youll start from the foundations of the Web you already know, and learn how to create something visible with Rails before reaching the more difficult database models and controller code. Each chapter includes exercises and review questions so you can test your understanding as you go.
O'Reilly Live Edition books give you access to updates to topics in between editions of a book. A Live Edition is an electronic and print-on-demand version of the book that is updated when there is a significant change to the software or technology the book covers, keeping you on top of .X releases or major fixes.
- Present 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 simple to more 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 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
Provides information on creating Web-based applications using Ruby.
Rails Cookbook is packed with the solutions you need to be a proficient developer with Rails, the leading framework for building the new generation of Web 2.0 applications. Recipes range from the basics, like installing Rails and setting up your development environment, to the latest techniques, such as developing RESTful web services.
With applications that are code light, feature-full and built to scale quickly, Rails has revolutionized web development. The Rails Cookbook addresses scores of real-world challenges; each one includes a tested solution, plus a discussion of how and why it works, so that you can adapt the techniques to similar situations. Topics include:
- Modeling data with the ActiveRecord library
- Setting up views with ActionView and RHTML templates
- Building your application's logic into ActionController
- Testing and debugging your Rails application
- Ensuring that your application is security and performs well
- Deploying your application with Mongrel and Apache
- Using Capistrano to automate deployment
- Using the many Rails plugins
- Working with graphics
Whether you're new to Rails or an experienced developer, you'll discover ways to test, debug and secure your applications, incorporate Ajax, use caching to improve performance, and put your application into production. Want to get ahead of the Web 2.0 curve? This valuable cookbook will save you hundreds of hours when developing applications with Rails.
Rails is one of the leading frameworks for developing the new generation of Web 2.0 applications using the increasingly popular Ruby scripting language. This title is for all web developers, regardless of experience, who want to learn about the fastest growing web application framework on the market.
About the Author
Rob Orsini is the author of the Rails Cookbook (O'Reilly). He's also the founder and CEO of Tuple Shop, Inc., a web software consulting company specializing in Rails and Python development. Previously, Rob was webmaster at Industrial Light & Magic (a Lucasfilm company), and software engineer at O'Reilly Media. Rob has been programming the web since the late nineties, and enjoys the leading edge of development with dynamic languages such as Ruby and Python. Additionally, Rob is a jazz musician, a builder, and a loving husband and father.
Table of Contents