Prototype and script.aculo.us: You Never Knew JavaScript Could Do This!
暫譯: Prototype 與 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 代碼的腳本!

網頁應用程式變得越來越豐富,每天都有更多的互動功能。但 JavaScript、DOM、CSS 以及其他一系列網頁標準相當複雜,結果並不總是符合瀏覽器的標準。

Prototype 和 script.aculo.us 函式庫是實實在在的寶藏,平滑地解決了瀏覽器之間的所有常見差異,讓大多數常用功能的實現變得輕鬆。透過這本書,你可以迅速掌握這些非凡函式庫的全部力量。

深入了解 Prototype,這個讓 JavaScript 更加強大的函式庫,它的語法看起來與 Ruby 代碼相似。探索 DOM、處理事件、駕馭 AJAX,並徹底簡化大多數腳本代碼:所有這些都變得簡單且非常可攜帶,使用 Prototype 來實現。

在高級 UI 功能方面,script.aculo.us 是每位網頁開發者的夢想成真:無論你需要創建自動完成的文本輸入、實現內嵌編輯器、提供自定義的拖放行為、用視覺效果吸引用戶的注意,還是簡單地更有效地構建 DOM 片段,這裡都有,而且也很輕量。

這本書將引導你了解這些功能的所有細節,讓你在無數示例中使用許多伺服器端技術,如 PHP、原生 Ruby 和 Ruby on Rails,涵蓋每一個方面。進階用戶還將學習這些函式庫的設計理念,以及如何為自己的需求做出貢獻和擴展。