分享

Quick Installation

 昵称5FK7g 2007-08-30

Quick Installation

There are three main ways to install Dojo:

  1. Install nothing! Use Dojo from AOL‘s Content Distribution Network (CDN).
  2. Install the latest release on your server
  3. Install directly from source control

Use Dojo from CDN

This method is quick and painless! You simply load Dojo through <script> tags pointing to the AOL CDN. You don‘t need to invest any of your own server disk space or resources nor will you need to install Dojo locally in many cases.

All of the examples in this book load Dojo through this method. You can literally copy and paste any example onto your own web server and it will work as-is! These changes are in-process

Use Dojo from your Own Server

For you traditionalists out there, you can download, install and use Dojo the old fashioned way.

  1. Download the latest 0.9 build from http:///downloads.
  2. Uncompress the file onto your web server. Assuming you install it under the directory /js, when you‘re done, the file system should look something like this:
    dir_list.png
  3. With your browser, open http:///js/dojo-0.9.0/dijit/themes/themeTester.html You should see a page like this:
    themeTester.png

You‘ve got a working Dojo!

Getting the Nightly Build

Finally, for those of you who live on the edge ... you can get the latest, greatest code directly from the Subversion code repository.

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多