18.06.2010
dojo and Notes: Article 2 - Introduction to dojo
>>Author: Bernd Hort
>>Ort: Hamburg
URL: http://www.assono.de/blog/d6plinks/dojo-And-Notes-Article-2-dojo-IntroductionCategory: dojo, Web-Entwicklung, Entwicklung, Lotus Domino
After I covered the mandatory "Hello World" sample in my last dojo article I want to introduce the parts of dojo in this one. dojo consist of three parts.
In the core part of dojo there is
also the base part, which provides a lot of functionality. The base is
the "dojo.js" file. Compressed the file has only 30k.
- Browser recognition
- JSON encoding / decoding
- Packages loading
- Eventhandling
- Animation effects
- AJAX
- CSS utilities
- OOP
- Firebug integration
All the other aspects of the "core"
of dojo are in packages, which could be loaded via the dojo.require("...")
method. Features within the core part are:
- Drag & Drop
- I18N support
- Date formating
- Number formation
- String utils
- Cookie handling
- Extended animations
- Back button handling
The three parts of dojo are also visible in the file system. For a Domino 8.5.1 Server there is a folder "js" under the "domino" directory of the Domino data directory. In this folder are different subfolders for each supported dojo versions. So there is the current 1.3.2 version and an older version 1.1.1. Actually the 1.1.1 version is also installed for a Domino 7.0.4 server. Beside the three folders for the core (dojo) part, dijit and dojoX there is an folder with IBM enhancements.
A good overview of the power of the dojo toolkit could be found on their demo web page.
The dojo article 3 - "Use case 'SpeedAgendaing' and the first step" will start to deal with Lotus Notes and the use of dojo in a Domino web application. I promise.
