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

Chapter 8. Real-World Dojo

In this chapter, we'll discuss things that are practical and useful in a business or organizational setting. The aim is to give you hints on deployment, building, and solutions to common problems actually being thrown upon you by customers or colleagues.

This chapter will cover the following:

  • First, we'll explore the benefits of using resource domains for speeding up page loads and delivering mailable mockups in single files. This has been touched upon throughout the book, so it will be relatively brief, assuming you've caught the most important stuff by now.

  • Then comes a section on how to use Dojo's build system to create your own custom builds. You will want to do that eventually in a production site, to lower the number of files being loaded by the browser and to pack the code reasonably well.

  • Lastly, there's a couple of full examples that you can use as boilerplate code for your own escapades, or as panic, off-the-shelf, and good-enough code for situations when...