Ajax and REST Recipes: A Problem-Solution Approach (Paperback)

Christian Gross

  • 出版商: Apress
  • 出版日期: 2006-12-18
  • 定價: $1,575
  • 售價: 1.9$299
  • 語言: 英文
  • 頁數: 346
  • 裝訂: Paperback
  • ISBN: 1590597346
  • ISBN-13: 9781590597347
  • 相關分類: Ajax
  • 立即出貨(限量) (庫存=1)

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

相關主題

商品描述

Description

Ajax and REST Recipes: A Problem-Solution Approach will serve all of your Ajax needs, by providing adaptable solutions for common tasks you'll want to implement on web sites using the next generation of Ajax and REST techniques. As a JavaScript developer, your time is precious, so you'll want to solve problems that present themselves in your work as quickly as possible. You can pick up the code provided in this book, adapt it, or plug it straight into your own applications.

The book mainly focuses on illustrating and explaining how to build applications that use JavaScript, Ajax, and REST Web Services, along with some user interface issues. Specifically, the following topics are covered: implementing JavaScript unit tests; explaining the intent of Dynamic Languages, Web Services and SOA; defining and implementing contracts using REST; understanding why JavaScript Functions have state; implementing JavaScript "Generics", which are a mixture between real Generics and a replacement algorithm; using code blocks; using functions to make decisions; understanding the difference of JavaScript code that behaves like a value type or a reference type; implementing proxies, delegates, mixins, and overloaded functions; implementing a complete Ajax and Web Service architecture; defining a Web Service using REST; handling large or slow or real-time data sets; implementing shopping cart type architectures; and solving the back button problem using Ajax.

Having read this book you will learn how to modularize your web application by decoupling the client from the server. The decoupling allows a client developer to focus on writing the best JavaScript and Ajax code, and a server developer to write the best business and data objects.

商品描述(中文翻譯)

描述

《Ajax and REST Recipes: A Problem-Solution Approach》將為您提供適應性解決方案,滿足您在使用下一代Ajax和REST技術建立網站時所需實現的常見任務。作為JavaScript開發人員,您的時間寶貴,因此您希望能夠盡快解決工作中出現的問題。您可以使用本書提供的代碼,進行調整,或直接將其插入到自己的應用程序中。

本書主要關注於說明和解釋如何構建使用JavaScript、Ajax和REST Web服務的應用程序,以及一些用戶界面問題。具體而言,涵蓋了以下主題:實現JavaScript單元測試;解釋動態語言、Web服務和SOA的意圖;使用REST定義和實現合約;理解為什麼JavaScript函數具有狀態;實現JavaScript的“泛型”,它是真正的泛型和替換算法的混合;使用代碼塊;使用函數進行決策;理解行為類似值類型或引用類型的JavaScript代碼的區別;實現代理、委託、混入和重載函數;實現完整的Ajax和Web服務架構;使用REST定義Web服務;處理大型、緩慢或實時數據集;實現購物車類型的架構;使用Ajax解決後退按鈕問題。

閱讀本書後,您將學會通過將客戶端與服務器解耦來模塊化您的Web應用程序。這種解耦使得客戶端開發人員可以專注於編寫最佳的JavaScript和Ajax代碼,而服務器開發人員可以編寫最佳的業務和數據對象。