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


  • A Dijit is a Dojo widget, and the terms can be used interchangeably.

  • Dojo has a large number of useful widgets which are simple to use and easy to extend.

  • A Dijit is a Dojo class which inherits from dijit._Widget.

  • A Dijit can use templates, either as inline strings or using external HTML template files.

  • Dojo can use both simple templating and the Django Template Language (DTL).

  • Using attach and extension points, it becomes manageable to extend the functionality of a Dijit.

  • Using Dojo's own file structure for custom widgets leverages the class loading features greatly.

  • Dojo supports Internationalization for Dijits and provides structure for custom i18n endeavors.

  • A number of simple formatting functions are provided for dates, currencies, and number formatting.