Programming with Ajax requires a knowledge of event-driven programming.
Dojo provides APIs for all HTTP methods:
GET, POST, PUT
, andDELETE
.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 adojo.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.
Learning Dojo
By :
Learning Dojo
By:
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
Useful JavaScript and Dojo Tricks
Basic Dijit Knowledge
Ajax Communication
Forms
Layout
Data, Trees, and Grids
Customer Reviews