
Ruby on Rails: Up and Running
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
Additional editions

Content
- Intro
- Table of Contents
- Preface
- Who Should Read This Book?
- Conventions Used in This Book
- Using Code Examples
- Platforms
- Safari® Enabled
- How to Contact Us
- Acknowledgments
- Zero to Sixty: Introducing Rails
- Rails Strengths
- Putting Rails into Action
- Organization
- The Web Server
- Choosing a Server
- WEBrick
- Apache
- lighttpd
- Mongrel
- Other web servers
- Creating a Controller
- Running the Controller
- Building a View
- Tying the Controller to the View
- Expressions and Scriptlets
- Under the Hood
- What's Next?
- Active Record Basics
- Active Record Basics
- Wrapping, Not Mapping
- A Brief Example
- The Secret Sauce
- Introducing Photo Share
- Defining the Model
- Configuring Active Record
- Schema Migrations
- Basic Active Record Classes
- Wrapping the Table
- The Rails Console
- Attributes
- Columns
- Accessors
- Identifiers
- Complex Classes
- Inheritance
- Composition
- Behavior
- Finders
- Validation
- Transactions
- Moving Forward
- Active Record Relationships
- belongs_to
- has_many
- has_one
- has_and_belongs_to_many
- Join models
- acts_as_list
- Trees
- What You Haven't Seen
- Looking Ahead
- Scaffolding
- Using the Scaffold Method
- A List of Photos
- More Metaprogramming
- Replacing Scaffolding
- Scaffolding Is Dynamic
- Pros and Cons
- Generating Scaffolding Code
- Inside the Generated Code
- The Best of Both Worlds
- Moving Forward
- Extending Views
- The Big Picture
- Seeing Real Photos
- View Templates
- Layouts
- Setting the Default Root
- Stylesheets
- Hierarchical Categories
- Assign a Category to a Photo
- Styling the Slideshows
- Creating Your Own Helper Functions
- Creating the Stylesheet
- Ajax
- How Rails Implements Ajax
- Playing a Slideshow
- Using Drag-and-Drop to Reorder Slides
- Drag and Drop Everything (Almost Everything)
- Filtering by Category
- Testing
- Background
- Ruby's Test::Unit
- Testing in Rails
- Unit Tests, Functional Tests, and Integration Tests
- Environments
- Fixtures
- Unit tests
- Functional tests
- Integration tests
- Advanced Testing
- ZenTest
- Selenium
- Wrapping Up
- Installing Rails
- Windows
- Instant Rails
- RadRails
- OS X
- TextMate and RadRails
- Linux
- Quick Reference
- General
- Testing
- RJS (Ruby JavaScript)
- Active Record
- Controllers
- Views
- Ajax
- Configuring Your Application
- Index
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.