Skip to main content

Posts

Showing posts with the label How to setup DOJO Application?

DOJO Toolkit hello world example

The Hello world example as below, < ! DOCTYPE html > < html > < head > < meta charset = "utf-8" > < title > dojo toolkit hello world example < /title > < script src = "//ajax.googleapis.com/ajax/libs/dojo/1.10.4/dojo/dojo.js" data - dojo - config = "async: true" > < /script > < /head > < body > < h1 id = "selectorId" > Hello < /h1 > < script > require([ 'dojo/dom' , 'dojo/dom-construct' ], function (dom, dom_Construct) { var node = dom.byId( 'selectorId' ); dom_Construct.place( '<span> Anil Singh!</span>' , node); }); < /script > < /body > < /html > The output look like,

How to setup DOJO Application?

DOJO is a rapid development toolkit for web oriented software on desktop and mobile and internet applications without using the browser’s inbuilt graphics technology. There are basic tow ways for setup the initial configurations. 1.       AOL CDN or Google CDN (Content Delivery Network). 2.       Installing in your Server.