首页  软件  游戏  图书  电影  电视剧

请输入您要查询的图书:

 

图书 Rails经典实例(影印版)
内容
编辑推荐

Rails是业界领先的新一代Web 2.0应用程序开发框架,在本书中为你准备了Rails开发专家的各种解决方案。讨论范围覆盖了从基本概念,如安装Rails及设置开发环境,到最新的各种技巧,如开发符合REST协议规范的Web服务等。并且本书每个问题的解答部分均包含了经测试验证的解决方案,加上关于怎样解决和为什么如此解决的讨论。无论是Rails新手,还是经验丰富的资深开发者,你都将从本书中发现一系列有效方法。

内容推荐

Rails是业界领先的新一代Web 2.0应用程序开发框架,而这本《Rails Cookbook》里充满了为了让你成为Rails开发专家而准备的各种解决方案。讨论范围覆盖了从基本概念,如安装Rails及设置开发环境,到最新的各种技巧,如开发符合REST协议规范的Web服务等。

Rails可提供更轻量级的代码、更丰富的功能和更快捷的量身定制过程,由此带来了一场Web开发革命。《Rails Cookbook》应对来自真实世界的各种挑战,每个问题的解答部分均包含了经测试验证的解决方案,加上关于怎样解决和为什么如此解决的讨论。因此你不仅可以知其然,还能知其所以然,以便将相关技巧直接运用于类似的场景。议题涵盖:

以Active Record库进行数据建模

以Action View和RHTML模板创建视图

在Action Controller中构建你的应用程序逻辑

测试并调试你的Rails应用程序

以JavaScript和Ajax构建交互式Web应用程序

确保你的应用程序的安全性和可用性

以Mongrel和Apache部署你的应用程序

使用Capistrano实现自动化部署

使用大量Rails插件

无论是Rails新手,还是经验丰富的资深开发者,你都将从本书中发现一系列有效方法,涉及测试、调试和保护你的应用程序、引入Ajax、运用缓存改善性能以及将应用程序放入生产环境等方方面面。想抢占Web 2.0的潮流先机么?这本极具价值的书会让你在开发Rails应用程序的过程中节省数百小时的宝贵时间。

目录

Foreword

Preface

1.Getting Started

 1.1 Joining the Rails Community

 1.2 Finding Documentation

 1.3 Installing MySQL

 1.4 Installing PostgreSQL

 1.5 Installing Rails

 1.6 Fixing Ruby and Installing Rails on OS X 10.4 Tiger

 1.7 Running Rails in OS X with Locomotive

 1.8 Running Rails in Windows with Instant Rails

 1.9 Updating Rails with RubyGems

 1.10 Getting Your Rails Project into Subversion

2.Rails Development

 2.1 Creating a Rails Project

 2.2 Jump-Starting Development with Scaffolding

 2.3 Speeding Up Rails Development with Mongrel

 2.4 Enhancing Windows Development with Cygwin

 2.5 Understanding Pluralization Patterns in Rails

 2.6 Developing Rails in OS X with TextMate

 2.7 Cross-Platform Developing eith RadRails

 2.8 Installing and Running Edge Rails

 2.9 Setting Up Passwordless Authentication with SSH

 2.10 Generating RDoc for Your Rails Application

 2.11 Greating Full-Featured CRUD Applications with Streamlined

3.Active Record

 3.1 Setting Up a Relational Database to Use with Rals

 3.2 Peogrammatically Defining Database Schema

 3.3 Developing Your Database with Migrations

 3.4 Modeling a Database with Active Record

 3.5 Inspecting ModelRelationships from the Rails Console

 3.6 Accessing Your Data via Active Record

 3.7 Retrieving Records with find

 3.8 Iterating Over an Active Record Result Set

 3.9 Retrieving Data Efficiently with Eager Loading

 3.10 Updating an Active Record Object

 3.11 Enforcing Data Integrity with Active Record Validations

 3.12 Executing Custom Queries with find_by_sql

 3.13 Protecting Against Race Conditions with Transactions

 3.14 Adding Sort Capabilities to a Model with acts_as_list

 3.15 Performing a Task Whenever a Model Object Is Created

 3.16 Modeling a Threaded Forum with acts_as_nested_set

 3.17 Creating a Directory of Nested Topics with acts_as_tree

 3.18 Avoiding Race Conditions with Optimistic Locking

 3.19 Handling Tables with Legacy Naming Conventions

 3.20 Automating Record Timestamping

 3.21 Factoring Out Common Relationships with Polymorphic Associations

 3.22 Mixing Join Models and Polymorphism for Flexible Data Modeling

4.Action Controller

 4.1 Accessing Form Data from a Controller

 4.2 Changing an Application's Default Page

 4.3 Clarifying Your Code with Named Routes

 4.4 Configuring Customized Routing Behavior

 4.5 Displaying Alert Messages with Flash

 4.6 Extending the Life of a Flash Message

 4.7 Following Actions with Redirects

 4.8 Generating URLs Dynamically

 4.9 Inspecting Requests with Filters

 4.10 Logging with Filters

 4.11 Rendering Actions

 4.12 Restricting Access to Controller Methods

 4.13 Sending Files or Data Streams to the Browser

 4.14 Storing Session Information in a Database

 4.15 Tracking Information with Sessions

 4.16 Using Filters for Authentication

5.Action View

6.RESTful Development

7.Rails Application Testing

8.Java Script and Ajax

9.Action Mailer

10.Debugging Rails Applications

11.Security

12.Performance

13.Hosting and Deployment

14.Extending Rails with Plug-ins

15.Graphics

Appendix:Migrating to Rails 1.2

Index

标签
缩略图
书名 Rails经典实例(影印版)
副书名
原作名
作者 (美)奥西尼
译者
编者
绘者
出版社 东南大学出版社
商品编码(ISBN) 9787564107802
开本 16开
页数 514
版次 1
装订 平装
字数
出版时间 2007-06-01
首版时间 2007-06-01
印刷时间 2007-06-01
正文语种
读者对象 青年(14-20岁),研究人员,普通成人
适用范围
发行范围 公开发行
发行模式 实体书
首发网站
连载网址
图书大类 教育考试-考试-计算机类
图书小类
重量 0.812
CIP核字
中图分类号 TP393.092
丛书名
印张 33.5
印次 1
出版地 江苏
232
178
21
整理
媒质 图书
用纸 普通纸
是否注音
影印版本 原版
出版商国别 CN
是否套装 单册
著作权合同登记号 图字10-2007-087号
版权提供者 O'Reilly Media,Inc.
定价
印数 3000
出品方
作品荣誉
主角
配角
其他角色
一句话简介
立意
作品视角
所属系列
文章进度
内容简介
作者简介
目录
文摘
安全警示 适度休息有益身心健康,请勿长期沉迷于阅读小说。
随便看

 

兰台网图书档案馆全面收录古今中外各种图书,详细介绍图书的基本信息及目录、摘要等图书资料。

 

Copyright © 2004-2025 xlantai.com All Rights Reserved
更新时间:2025/5/7 7:20:48