Rails Cookbook, Covers Rails 1.2

Recipes for Rapid Web Development with Ruby

Paperback Engels 2007 1e druk 9780596527310
€ 46,49
Levertijd ± 16 werkdagen
Gratis verzonden

Samenvatting

'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
- Building responsive web applications using JavaScript and Ajax
- 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.

Specificaties

ISBN13:9780596527310
Taal:Engels
Bindwijze:paperback
Aantal pagina's:514
Uitgever:O'Reilly
Druk:1
Hoofdrubriek:IT-management / ICT

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Inhoudsopgave

Foreword
Preface
1. Getting Started
Introduction
Joining the Rails Community
Finding Documentation
Installing MySQL
Installing PostgreSQL
Installing Rails
Fixing Ruby and Installing Rails on OS X 10.4 Tiger
Running Rails in OS X with Locomotive
Running Rails in Windows with Instant Rails
Updating Rails with RubyGems
Getting Your Rails Project into Subversion
2. Rails Development
Introduction
Creating a Rails Project
Jump-Starting Development with Scaffolding
Speeding Up Rails Development with Mongrel
Enhancing Windows Development with Cygwin
Understanding Pluralization Patterns in Rails
Developing Rails in OS X with TextMate
Cross-Platform Developing with RadRails
Installing and Running Edge Rails
Setting Up Passwordless Authentication with SSH
Generating RDoc for Your Rails Application
Creating Full-Featured CRUD Applications with Streamlined
3. Active Record
Introduction
Setting Up a Relational Database to Use with Rails
Programmatically Defining Database Schema
Developing Your Database with Migrations
Modeling a Database with Active Record
Inspecting Model Relationships from the Rails Console
Accessing Your Data via Active Record
Retrieving Records with find
Iterating Over an Active Record Result Set
Retrieving Data Efficiently with Eager Loading
Updating an Active Record Object
Enforcing Data Integrity with Active Record Validations
Executing Custom Queries with find_by_sql
Protecting Against Race Conditions with Transactions
Adding Sort Capabilities to a Model with acts_as_list
Performing a Task Whenever a Model Object Is Created
Modeling a Threaded Forum with acts_as_nested_set
Creating a Directory of Nested Topics with acts_as_tree
Avoiding Race Conditions with Optimistic Locking
Handling Tables with Legacy Naming Conventions
Automating Record Timestamping
Factoring Out Common Relationships with Polymorphic Associations
Mixing Join Models and Polymorphism for Flexible Data Modeling
4. Action Controller
Introduction
Accessing Form Data from a Controller
Changing an Application's Default Page
Clarifying Your Code with Named Routes
Configuring Customized Routing Behavior
Displaying Alert Messages with Flash
Extending the Life of a Flash Message
Following Actions with Redirects
Afgekapt op 60 regels

Managementboek Top 100

€ 46,49
Levertijd ongeveer 16 werkdagen
Gratis verzonden

Rubrieken

Producten

    Auteurs

      Trefwoorden

        Artikelen

          Rails Cookbook, Covers Rails 1.2