Ajax and REST Recipes: A Problem-Solution Approach

  • 6h 13m
  • Christian Gross
  • Apress
  • 2006

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.

About the Author

Christian Gross is a consultant with vast experience in the client/server world. He has consulted for Microsoft on DNA solutions, and he has held consulting positions with Daimler Benz, Microsoft, NatWest, and other major corporations. Gross was a contributor to Professional Active Server Pages, Professional SQL Server 6.5 Administration, Professional NT Internet Information Server Administration, and Programming Microsoft Windows 2000 Unleashed. He is the author of A Programmer's Introduction to Windows DNA.

In this Book

  • Getting Started
  • JavaScript Recipes
  • Dynamic Content Recipes
  • Implementing an SOA Architecture
  • Implementing a Universal Web Service Architecture
  • Implementing Web Services for Large or Slow Data Sets
  • Implementing an Ajax Shopping Cart
  • Don’t Submit Your Forms—Ajax Them

YOU MIGHT ALSO LIKE