買這商品的人也買了...
-
$1,570$1,492 -
$970Introduction to Algorithms, 2/e
-
$580$458 -
$1,176Computer Organization and Design: The Hardware/Software Interface, 3/e(IE) (美國版ISBN:1558606041)
-
$900$882 -
$440$348 -
$400$360 -
$520$411 -
$680$646 -
$880$695 -
$850$672 -
$780$663 -
$650$507 -
$1,880$1,786 -
$550$468 -
$580$458 -
$420$357 -
$720$569 -
$580$493 -
$249$249 -
$360$284 -
$880$695 -
$680$530 -
$620$409 -
$490$387
相關主題
商品描述
Description
Learn to build dynamic, interactive web applications using the two most important approaches to web development today: Ajax and the phenomenally efficient Ruby on Rails platform. This book teaches intermediate to advanced web developers how to use both Ajax and Rails to quickly build high-performance, scalable applications without being overwhelmed with thousands of lines of JavaScript code. More than just recipes, you also get a thorough, low-level understanding of what's happening under the hood.Beyond the how-to, Ajax on Rails helps you consider when Ajax is (and isn't) appropriate, and the trade-offs associated with it. For those new to Rails, this book provides a quick introduction, the big picture, a walk through the installation process, and some tips on getting started. If you've already started working with Rails and seek to deepen your skill set, you'll find dozens of examples drawn from real-world projects, exhaustive reference for every relevant feature, and expert advice on how to "Ajaxify" your applications.
- Ajax on Rails includes three fully worked out Rails/Ajax applications, and quick reference sections for Prototype and script.aculo.us.
- Testing lessons show you how to eliminate cross-browser JavaScript errors and DOM debugging nightmares using a combination of Firebug, and Venkman.
- Advanced material explains the most current design practices for Ajax usability. You'll learn to avoid user experience mistakes with proven design patterns.
Preface
1. Introduction
Who This Book Is For
What Ajax Is
What Rails Is
`You Got Your Ajax in My Rails!'
Getting Up to Speed
Summary
2. Getting Our Feet Wet
The Old-Fashioned Way
JavaScript Libraries and Prototype
Bringing Rails into the Picture
Summary
3. Introducing Prototype
Setting the Stage
Ajax Links
Forms
Ajax Forms
Buttons
Form Observers
Summary
4. Introducing script.aculo.us
Visual Effects
Drag and Drop
Summary
5. RJS
Instructions Instead of Data
Putting the R in RJS
A Real-World Example
Summary
6. Ajax Usability
Principles of Usability
The Context of the Web
Usability on the Web
Cross-Platform Development
Summary
7. Testing and Debugging
Debugging
Testing
Summary
8. Security
Healthy Skepticism: Don't Trust User Input
Hashing Passwords
Silencing Logs
The Same-Origin Policy
The Use and Abuse of HTTP Methods
Encryption and Secure Certificates
The Rails Security Mailing List
Summary
9. Performance
Development and Production Environments
Session Stores
Output Caching
Asset Packaging
Dealing with Long-Running Tasks
Summary
10. Prototype Reference
Ajax Support
DOM Manipulation
Core Extensions
11. script.aculo.us Reference
Visual Effects
Drag and Drop
Controls
Element Extensions
DOM Builder
JavaScript Unit Testing
Utility Methods
A. Review Quiz
B. Photo Gallery
C. Intranet Workgroup Collaboration
Index
商品描述(中文翻譯)
**描述**
學習如何使用當今網頁開發的兩種最重要方法:Ajax 和極其高效的 Ruby on Rails 平台,來構建動態、互動的網頁應用程式。本書教導中級到高級的網頁開發者如何使用 Ajax 和 Rails 快速構建高效能、可擴展的應用程式,而不會被成千上萬行的 JavaScript 代碼所淹沒。這不僅僅是食譜,您還將深入了解底層發生了什麼。
- *Ajax on Rails* 包含三個完整的 Rails/Ajax 應用程式,以及 Prototype 和 script.aculo.us 的快速參考部分。
- 測試課程展示如何使用 Firebug 和 Venkman 的組合來消除跨瀏覽器的 JavaScript 錯誤和 DOM 調試噩夢。
- 進階材料解釋了 Ajax 可用性的最新設計實踐。您將學會如何避免用戶體驗錯誤,並使用經過驗證的設計模式。
除了如何做,*Ajax on Rails* 還幫助您考慮何時使用 Ajax(以及何時不使用),以及與之相關的權衡。對於 Rails 新手,本書提供了快速介紹、大局觀、安裝過程的逐步指導,以及一些入門提示。如果您已經開始使用 Rails 並希望深化您的技能,您將找到來自真實世界項目的數十個範例、每個相關功能的詳細參考,以及如何“Ajaxify”您的應用程式的專家建議。
**目錄**
**前言**
**1. 介紹**
- 本書適合誰
- Ajax 是什麼
- Rails 是什麼
- “你在我的 Rails 裡放了 Ajax!”
- 迅速上手
- 總結
**2. 開始實作**
- 傳統方法
- JavaScript 函式庫和 Prototype
- 將 Rails 引入
- 總結
**3. 介紹 Prototype**
- 設定舞台
- Ajax 連結
- 表單
- Ajax 表單
- 按鈕
- 表單觀察者
- 總結
**4. 介紹 script.aculo.us**
- 視覺效果
- 拖放
- 總結
**5. RJS**
- 指令而非數據
- 將 R 放入 RJS
- 一個真實世界的範例
- 總結
**6. Ajax 可用性**
- 可用性原則
- 網路的背景
- 網路上的可用性
- 跨平台開發
- 總結
**7. 測試與除錯**
- 除錯
- 測試
- 總結
**8. 安全性**
- 健康的懷疑:不要信任用戶輸入
- 密碼雜湊
- 靜音日誌
- 同源政策
- HTTP 方法的使用與濫用
- 加密與安全證書
- Rails 安全郵件列表
- 總結
**9. 性能**
- 開發與生產環境
- 會話存儲
- 輸出快取
- 資產打包
- 處理長時間運行的任務
- 總結
**10. Prototype 參考**
- Ajax 支援
- DOM 操作
- 核心擴展
**11. script.aculo.us 參考**
- 視覺效果
- 拖放
- 控制項
- 元素擴展
- DOM 建構器
- JavaScript 單元測試
- 實用方法
**A. 回顧測驗**
**B. 照片畫廊**
**C. 內部網路工作組協作**
**索引**