Book Image

Learning Dojo

By : Peter Svensson
Book Image

Learning Dojo

By: Peter Svensson

Overview of this book

<p>Dojo is a popular AJAX-specific open-source JavaScript framework for building powerful web applications. It provides a well conceived API and set of tools to assist you and fix the issues experienced in everyday web development. Your project size is no concern while using Dojo. It is the best scalable solution to all your size-related issues.<br /> <br />This book starts by giving you tips and tricks for programming with JavaScript. These tricks will help you with Dojo. With every chapter, you will learn advanced JavaScript techniques. You will learn to leverage Dojo for a clean web application architecture using JSON or XML.</p>
Table of Contents (13 chapters)
Learning Dojo
Credits
About the Author
About the Reviewer
Preface
Free Chapter
1
Introduction to Dojo

Summary


  • Programming with Ajax requires a knowledge of event-driven programming.

  • Dojo provides APIs for all HTTP methods: GET, POST, PUT, and DELETE.

  • It is possible to send all the values of a form in a Dojo Ajax call by defining the DOM id of the form element, using the form property in a dojo.xhr call.

  • It is also possible to 'fake' form postings and insert arbitrary data into a POST Ajax call.

  • Dojo also has a JSON-RPC remote procedure call API, which lets you define any HTTP URL as a function.