Foundation Rails 2

Eldon Alameda

  • 出版商: Friends of Ed
  • 出版日期: 2008-10-23
  • 售價: $1,640
  • 貴賓價: 9.5$1,558
  • 語言: 英文
  • 頁數: 480
  • 裝訂: Paperback
  • ISBN: 1430210397
  • ISBN-13: 9781430210399
  • 相關分類: Ruby
  • 已過版

買這商品的人也買了...

商品描述

You've heard about this amazing web framework called Ruby on Rails that's taken the world by storm but thought it was way too complex for you? Think again.

Foundation Rails 2 takes you through your first steps in Rails, explaining in plain English how to start building dynamic web applications. And there's never been a better time to jump in to the Rails world, as the release of Rails 2 is a major evolutionary leap forward from previous versions.

Unlike other Rails books, this book doesn't throw you into the deep end right away in the hopes that you'll learn to swim. Instead, we'll start out with the basics and continually expand your knowledge until, by the end of the book, we're building a Rails application with dynamic features such as user registration, geocoding, filtering results with AJAX, RSS feeds, and an XML interface. Meanwhile, we'll talk about the important issues that other books often leave out such as testing your application's code, securing your application from hackers, optimizing your code for the best performance, and of course, deploying your application.

This book takes a focused approach to guiding you through understanding how the pieces of Rails work individually and how they fit together. Instead of emphasizing boring theoretical discussions, Foundation Rails 2 lets you get your hands dirty with the framework and learn the hows and whys of Rails faster than ever.

We start with a tour of what makes Rails special and why you need to learn it, move into a gentle introduction to the high points of programming in Ruby, and then take a tour of a sample Rails application. Next, we dig deeper into the core components of Rails before building a complete Rails application together. By the end of this book, not only will you know how to build Rails applications but you'll understand the reasons behind what you do.

In this book, you'll learn

  • The foundations of the Ruby programming language
  • The most important Rails philosophies and conventions that speed up web development
  • How to make working with databases easy and fun using ActiveRecord
  • Automated testing with RSpec to ensure your applications are rock solid
  • How to build a complete Rails application with special discussions on security, performance, and deployment

Summary of Contents

  • Chapter 1 Why Rails
  • Chapter 2 A Short Introduction to Ruby
  • Chapter 3 Touring a Rails Application
  • Chapter 4 Introducing ActiveRecord
  • Chapter 5 Advanced ActiveRecord
  • Chapter 6 Presenting the Views
  • Chapter 7 Exploring Action Pack: Understanding the Controller
  • Chapter 8 Controlling Our Routing
  • Chapter 9 Scaffolding and Plug-ins
  • Chapter 10 Introduction to Testing with RSpec
  • Chapter 11 Building a Complete Application
  • Chapter 12 Enhancing Our Application
  • Chapter 13 Security and Performance Enhancements
  • Chapter 14 Deploying Your Rails Application
  • Appendix A Where to Go from Here
  • Appendix B Rails Installation
  • Appendix C Database Design 101