Answers

Question and Answer:

  Home  Dojo

⟩ What is Package System in Dojo?

• Dojo consists of JavaScript files

• Package system takes care that only needed files are included

• Each JavaScript file can be named as package dojo.provide(dojo.string)

• By that name the package can be taken in use dojo.require(dojo.string)

• One has not to remember any file or directory names

• Only dojo.js has to be included into HTML document

• That file takes care of initialization of Dojo

• There is a couple of pre packaged builds that consist of different kinds of packages e.g. Widget, event or IO builds.

 189 views

More Questions for you: