注冊 | 登錄讀書好,好讀書,讀好書!
讀書網(wǎng)-DuShu.com
當(dāng)前位置: 首頁出版圖書科學(xué)技術(shù)計(jì)算機(jī)/網(wǎng)絡(luò)圖形圖像、多媒體、網(wǎng)頁制作綜合Rail Cookbook(影印版)

Rail Cookbook(影印版)

Rail Cookbook(影印版)

定 價:¥68.00

作 者: (美)奧西尼 著
出版社: 東南大學(xué)出版社
叢編項(xiàng):
標(biāo) 簽: 程序設(shè)計(jì)

ISBN: 9787564107802 出版時間: 2007-06-01 包裝: 平裝
開本: 16開 頁數(shù): 514 字?jǐn)?shù):  

內(nèi)容簡介

  Rails是業(yè)界領(lǐng)先的新一代Web 2.0應(yīng)用程序開發(fā)框架,而這本《Rails Cookbook》里充滿了為了讓你成為Rails開發(fā)專家而準(zhǔn)備的各種解決方案。討論范圍覆蓋了從基本概念,如安裝Rails及設(shè)置開發(fā)環(huán)境,到最新的各種技巧,如開發(fā)符合REST協(xié)議規(guī)范的Web服務(wù)等。Rails可提供更輕量級的代碼、更豐富的功能和更快捷的量身定制過程,由此帶來了一場Web開發(fā)革命?!禦ails Cookbook》應(yīng)對來自真實(shí)世界的各種挑戰(zhàn),每個問題的解答部分均包含了經(jīng)測試驗(yàn)證的解決方案,加上關(guān)于怎樣解決和為什么如此解決的討。因此你不僅可以知其然,還能知其所以然,以便將相關(guān)技巧直接運(yùn)用于類似的場景。議題涵蓋:以Active Record庫進(jìn)行數(shù)據(jù)建模以Action View和RHTML模板創(chuàng)建視圖在Action Controller中構(gòu)建你的應(yīng)用程序邏輯測試并調(diào)試你的Rails應(yīng)用程序以JavaScript和Ajax構(gòu)建交互式Web應(yīng)用程序確保你的應(yīng)用程序的安全性和可用性以Mongrel和Apache部署你的應(yīng)用程序使用Capistrano實(shí)現(xiàn)自動化部署使用大量Rails插件無論是Rails新手,還是經(jīng)驗(yàn)豐富的資深開發(fā)者,你都將從本書中發(fā)現(xiàn)一系列有效方法,涉及測試、調(diào)試和保護(hù)你的應(yīng)用程序、引入Ajax、運(yùn)用緩存改善性能以及將應(yīng)用程序放入生產(chǎn)環(huán)境等方方面面。想搶占Web 2.0的潮流先機(jī)么?這本極具價值的書會讓你在開發(fā)Rails應(yīng)用程序的過程中節(jié)省數(shù)百小時的寶貴時間。

作者簡介

暫缺《Rail Cookbook(影印版)》作者簡介

圖書目錄

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
 5.1 Simplifying Templates with View Helpers
……
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

本目錄推薦

掃描二維碼
Copyright ? 讀書網(wǎng) m.ranfinancial.com 2005-2020, All Rights Reserved.
鄂ICP備15019699號 鄂公網(wǎng)安備 42010302001612號