!!!Dojo はじめる [Dojo][JavaScript] http://sitepen.com/labs/guides/?guide=DojoQuickStart !ダウンロード *最新バージョンのDojo Toolkitをダウンロード http://download.dojotoolkit.org/current-stable/ *標準リリースのアーカイブは、dojo-release-#.#.# の tar.gz または、.gz として提供。 *-src サフィックスが付いたアーカイブは、ソースリリースであり、テストや独自にカスタマイズする場合に必要なユーティリティーを含んでいる。 *アーカイブをフォルダに解凍する。 {{ref_image dojo01.jpg}} !動かしてみる *重要なのは、Dojo Toolkitをインストールしたときに、dojo.jsをどこに配置したか知っておくこと。 *パッケージシステムは、依存性やモジュールは dojo.js がページにロードされる時に処理される。 以下のパスから、動作を検証することができる。 *http://localhost:8080/hoge/js/dojo-release-1.1.1/dojo/tests/runTests.html {{ref_image dojo02.jpg}} !サンプル *http://localhost:8080/hoge/js/dojo-release-1.1.1/dijit/tests/ に、以下のようなサンプル ::test_Calendar.html {{ref_image dojo03.jpg}} ::test_Dialog.html {{ref_image dojo04.jpg}} ::test_Tooltip.html {{ref_image dojo05.jpg}} ::test_Tree.html {{ref_image dojo06.jpg}} ::その他 *runTests.html *test.html *test_Calendar.html *test_ColorPalette.html *test_Declaration.html *test_Dialog.html *test_Dialog_focusDestroy.html *test_Editor.html *test_InlineEditBox.html *test_instantiate.html *test_Menu.html *test_ProgressBar.html *test_TitlePane.html *test_Toolbar.html *test_Tooltip.html *test_TooltipDialog.html *test_Tree.html *test_Tree_Notification_API_Support.html