Prototype and script.aculo.us: You Never Knew JavaScript Could Do This! (原型與 script.aculo.us:你從未想過 JavaScript 可以這樣做!)

Christophe Porteneuve

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2007-12-17
  • 定價: $1,225
  • 售價: 1.6$199
  • 語言: 英文
  • 頁數: 436
  • 裝訂: Paperback
  • ISBN: 1934356018
  • ISBN-13: 9781934356012
  • 相關分類: JavaScript
  • 立即出貨

買這商品的人也買了...

相關主題

商品描述

Description 

Tired of getting swamped in the nitty-gritty of cross-browser, Web 2.0-grade JavaScript? Get back in the game with Prototype and script.aculo.us, two extremely popular JavaScript libraries, that make it a walk in the park. Be it AJAX, drag and drop, auto-completion, advanced visual effects, or many other great features, all you need is write one or two lines of script that look so good they could almost pass for Ruby code!

Web applications are getting richer and richer, with more interaction baked in every day. But JavaScript, DOM, CSS and a full host of other Web standards are quite complex, and the result isn't always browser compliant.

The Prototype and script.aculo.us libraries are veritable treasure troves, smoothing over all the usual nitty-gritty differences between browsers, and making most common features a breeze to implement. With this book, you can quickly wield the whole power of these extraordinary libraries.

Dive into Prototype, the library that makes JavaScript so much more powerful, and it looks a lot like Ruby code. Exploring the DOM, handling events, taming AJAX, and radically simplifying most of your scripting code: it all becomes easy-and very portable-with Prototype.

When it comes to advanced UI features, script.aculo.us is every web developer's dream come true: whether you need to create auto-completed text inputs, implement in-place editors, provide customized drag-and-drop behaviors, capture your users' attention with visual effects or simply build DOM fragments more efficiently, it's all there, and lightweight too.

This book guides you through all the details of these features, letting you use many technologies on the server side, such as PHP, vanilla Ruby, and Ruby On Rails, in countless examples illustrating every aspect. Power users will also learn the design philosophies of the libraries, and how to contribute to them and augment them for their own needs.

 



 

商品描述(中文翻譯)

描述

厭倦了被淹沒在跨瀏覽器、Web 2.0級別的JavaScript的細節中嗎?使用Prototype和script.aculo.us這兩個非常受歡迎的JavaScript庫,讓你輕鬆應對。無論是AJAX、拖放、自動完成、高級視覺效果還是其他許多優秀功能,你只需要寫一兩行看起來像Ruby代碼一樣好看的腳本!

Web應用程序變得越來越豐富,每天都有更多的互動。但是JavaScript、DOM、CSS和其他一系列Web標準相當複雜,結果並不總是符合瀏覽器的要求。

Prototype和script.aculo.us庫是真正的寶庫,可以消除瀏覽器之間的差異,使大多數常見功能變得輕而易舉。通過這本書,你可以迅速掌握這些非凡庫的全部功能。

深入研究Prototype,這個使JavaScript更加強大且看起來很像Ruby代碼的庫。探索DOM,處理事件,掌握AJAX,並極大地簡化大部分腳本代碼:這一切都變得容易且非常可移植。

當涉及到高級UI功能時,script.aculo.us是每個網絡開發人員夢寐以求的:無論你需要創建自動完成的文本輸入框,實現就地編輯器,提供自定義拖放功能,還是其他功能,script.aculo.us都能滿足你的需求。