- eBook:Ajax and REST Recipes: A Problem-Solution Approach
- Author:Christian Gross
- Edition:1st ed. edition
- Data:December 18, 2006
- Pages:346 pages
The book mainly focuses on illustrating and explaining how to build applications that use jаvascript, Ajax, and REST Web Services, along with some user interface issues. Specifically, the following topics are covered: implementing jаvascript unit tests, explaining the intent of dynamic languages, Web Services and service-oriented architecture (SOA), defining and implementing contracts using REST, understanding why jаvascript functions have state; implementing jаvascript "Generics", which are a mixture between real Generics and a replacement algorithm, using code blocks, using functions to make decisions, understanding the difference of jаvascript 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 have learned to modularize your web application by decoupling the client from the server. The decoupling allows a client developer to focus on writing the best jаvascript and Ajax code, and a server developer to write the best business and data objects.
CHAPTER 2. jаvascript Recipes
CHAPTER 3. Dynamic Content Recipes
CHAPTER 4. Implementing an SOA Architecture
CHAPTER 5. Implementing a Universal Web Service Architecture
CHAPTER 6. Implementing Web Services for Large or Slow Data Sets
CHAPTER 7. Implementing an Ajax Shopping Cart
CHAPTER 8. Don’t Submit Your Forms—Ajax Them