Prototype and Scriptaculous in Action
Dave Crane, Bear Bibeault, Tom Locke
- 出版商: Manning
- 出版日期: 2007-03-23
- 售價: $1,575
- 貴賓價: 9.5 折 $1,496
- 語言: 英文
- 頁數: 544
- 裝訂: Paperback
- ISBN: 1933988037
- ISBN-13: 9781933988030
-
相關分類:
Ajax、JavaScript
立即出貨(限量) (庫存=3)
買這商品的人也買了...
-
$380$300 -
$880$581 -
$780$702 -
$600$474 -
$650$507 -
$550$468 -
$640$506 -
$490$417 -
$1,500$1,425 -
$1,840$1,748 -
$800$680 -
$1,430$1,359 -
$420$412 -
$880$616 -
$620$527 -
$299Professional XNA Game Programming: For Xbox 360 and Windows
-
$880$695 -
$780$616 -
$580$452 -
$600$480 -
$2,010$1,910 -
$299Painting the Web
-
$1,550$1,473 -
$1,550$1,473 -
$299SQL for Microsoft Access, 2/e (Paperback)
相關主題
商品描述
Description
“Shows how Prototype and Scriptaculous let you concentrate on whats important: implementing your ideas.”
—Thomas Fuchs, Creator of Scriptaculous, from the Foreword“Of all the books on my shelf, this is the one I go to the most.”
—Philip Hallstrom, CardPlayer.com“Simplifies Ajax development—a great reference.”
—Mark Eagle, MATRIX Resources, Inc.“Cant wait to implement ideas from this book!”
—Jeff Cunningham, The Weather Channel InteractiveCommon Ajax tasks should be easy, and with Prototype and Scriptaculous they are. Prototype and Scriptaculous are libraries of reusable JavaScript code that simplify Ajax development. Prototype provides helpful methods and objects that extend JavaScript in a safe, consistent way. Its clever Ajax request model simplifies cross-browser development. Scriptaculous, which is based on Prototype, offers handy pre-fabricated widgets for rich UI development.
Prototype and Scriptaculous in Action is a comprehensive, practical guide that walks you feature-by-feature through the two libraries. First, youll use Scriptaculous to make easy but powerful UI improvements. Then youll dig into Prototypes elegant and sparse syntax. See how a few characters of Prototype code can save a dozen lines of JavaScript. By applying these techniques, you can concentrate on the function and flow of your application instead of the coding details. This book is written for web developers with a working knowledge of JavaScript.
Table of Contents
foreword
preface
acknowledgments
about this book
about the title
about the cover illustration
Part 1 Getting Started
- 1 Introducing Prototype and Scriptaculous
- 1.1 A brief history of Ajax
- 1.2 What is Prototype?
- 1.3 What is Scriptaculous?
- 1.4 Applying Prototype and Scriptaculous
- 1.5 Summary
- 2 Introducing QuickGallery
- 2.1 Design and implementation
- 2.2 Evaluating the classic web app model
- 2.3 Summary
- 3 Simplifying Ajax with Prototype
- 3.1 Redesigning for Ajax
- 3.2 Using XML and Ajax
- 3.3 Using JSON and Ajax
- 3.4 Summary
- 4 Using Prototypes Advanced Ajax Features
- 4.1 Prototypes advanced Ajax classes
- 4.2 Using HTML and Ajax
- 4.3 Comparing data- and content-centric Ajax
- 4.4 Summary
Part 2 Scriptaculous Quickly
- 5 Scriptaculous Effects
- 5.1 Quick win: adding an effect with only one line
- 5.2 Setting up Scriptaculous and the examples
- 5.3Types of Scriptaculous effects
- 5.4 Understanding the effects
- 5.5 Easy toggling of Show and Hide effects
- 5.6 Working with transitions
- 5.7 Gaining control during effects
- 5.8 Canceling effects
- 5.9 Controlling multiple effects
- 5.10 Summary
- 6 Scriptaculous Controls
- 6.1 Using the sample programs for this chapter
- 6.2 The in-place text editor
- 6.3 The InPlaceCollectionEditor
- 6.4 The Ajax autocompleter control
- 6.5 The Scriptaculous local autocompleter control
- 6.6 The slider control
- 6.7 Summary
- 7 Scriptaculous Drag and Drop
- 7.1 The sample code for this chapter
- 7.2 The sample code for this chapter
- 7.3 Dragging things around
- 7.4 Dropping dragged things
- 7.5 Sorting by drag and drop
- 7.6 Summary
Part 3 Prototype in Depth
- 8 All About Objects
- 8.1 Introducing the Scratchpad application
- 8.2 The Object type
- 8.3 Objects and Prototype
- 8.4 Summary
- 9 Fun with Functions
- 9.1 JavaScript functions
- 9.2 Extending functions with Prototype.js
- 9.3 Summary
- 10 Arrays Made Easy
- 10.1 Introducing Arrays
- 10.2 The native JavaScript Array
- 10.3 Prototype.js and Arrays
- 10.4 Methods of the Enumerable object
- 10.5 Working with Hashes and ObjectRanges
- 10.6 Summary
- 11 Back to the Browser
- 11.1 A crash course in DOM methods
- 11.2 Prototype and the DOM
- 11.3 Extending the Event object
- 11.4 Working with HTML forms
- 11.5 Summary
Part 4 Advanced Topics
- 12 Prototype and Scriptaculous in Practice
- 12.1 QuickGallery application requirements
- 12.2 Building the slideshow editor
- 12.3 Adding Ajax-based persistence
- 12.4 Creating the toolbar
- Building the slideshow player 384
- 12.5 Putting it all together
- 12.6 Summary
- 13 Prototype, Scriptaculous, and Rails
- 13.1 Generating JavaScript
- 13.2 Ajax helpers
- 13.3 Scriptaculous helpers
- 13.4 To JavaScript or not to JavaScript
- 13.5 The next level: RJS
- 13.6 Summary
HTTP Primer
Measuring HTTP Traffic
Installing and Running Tomcat 5.5
Installing and Running PHP
Porting Server-Side Techniques
index
商品描述(中文翻譯)
描述
“展示了Prototype和Scriptaculous如何讓你專注於最重要的事情:實現你的想法。” ——Thomas Fuchs,Scriptaculous的創始人,來自前言
“在我書架上的所有書中,這是我最常翻閱的一本。” ——Philip Hallstrom,CardPlayer.com
“簡化了Ajax開發-一本很好的參考書。” ——Mark Eagle,MATRIX Resources, Inc.
“迫不及待地想要實現這本書中的想法!” ——Jeff Cunningham,The Weather Channel Interactive
常見的Ajax任務應該是簡單的,而且使用Prototype和Scriptaculous可以實現這一點。Prototype和Scriptaculous是可重用的JavaScript代碼庫,可以簡化Ajax開發。Prototype提供了有用的方法和對象,以安全、一致的方式擴展JavaScript。它聰明的Ajax請求模型簡化了跨瀏覽器開發。基於Prototype的Scriptaculous提供了方便的預製小部件,用於豐富的UI開發。
《Prototype and Scriptaculous in Action》是一本全面而實用的指南,逐個功能地介紹了這兩個庫。首先,您將使用Scriptaculous進行簡單但強大的UI改進。然後,您將深入研究Prototype的優雅而簡潔的語法。看看幾個Prototype代碼字符如何節省十幾行JavaScript代碼。通過應用這些技術,您可以專注於應用程序的功能和流程,而不是編碼細節。本書適用於具有JavaScript工作知識的Web開發人員。
目錄
前言
前言
致謝
關於本書
關於標題
關於封面插圖
第1部分 入門
1 介紹Prototype和Scriptaculous
1.1 Ajax的簡要歷史
1.2 什麼是Prototype?
1.3 什麼是Scriptaculous?
1.4 應用Prototype和Scriptaculous
1.5 總結
2 介紹QuickGallery
2.1 設計和實現
2.2 評估經典Web應用程序模型
2.3 總結
3 簡化Ajax與Prototype
3.1 為Ajax重新設計
3.2 使用XML和Ajax
3.3 使用JSON和Ajax
3.4 總結
4 使用Prototype的高級Ajax功能
4.1 Prototype的高級Ajax類
4.2 使用HTML和Ajax
4.3 比較數據和內容導向的Ajax
4.4 總結
第2部分 Scriptaculous快速入門
5 Scriptaculous效果
5.1 快速勝利:一個```