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


  • Dojo has many widgets that simplify the building of HTML forms.

  • All form widgets are derived from a common base class, which gives them similar behavior.

  • The form can be submitted in a simple manner, regardless of the internal complexity of the widgets that make up the form.

  • Many form widgets support populating themselves with selectable data from the server.

  • Many widgets support complex validation rules and can signal to the user when the input deviates from them.

  • Many widgets can format the data presented in a locale-dependent way, so that currency and dates are displayed according to the user's current locale.

  • Using Dojo's date functions, it is possible to add or subtract months, weeks and years, letting Dojo handle leap-years, different amount of days in a month, and so on.