📄 quick installation the dojo toolkit.mht
字号:
fragments,=20
we'll tell you any modifications needed to run the example on CDN.</P>
<H2>Use Dojo from your Own Server</H2>
<P>For you traditionalists out there, you can download, install and use =
Dojo the=20
old fashioned way. </P>
<OL>
<LI>Download the latest build from <A =
title=3Dhttp://dojotoolkit.org/downloads=20
=
href=3D"http://dojotoolkit.org/downloads">http://dojotoolkit.org/download=
s</A>.=20
<LI>Uncompress the file onto your web server. Assuming you install it =
under=20
the directory /js, when you're done, the file system should look =
something=20
like this:<BR><A title=3D"View: dir_list.png"=20
href=3D"http://www.dojotoolkit.org/files/dir_list_0.png"><IMG =
class=3Dinline=20
title=3Ddir_list.png alt=3Ddir_list.png=20
src=3D"http://www.dojotoolkit.org/files/dir_list_0.png"></A>=20
<LI>With your browser, open=20
http<B></B>://yoursite.com/js/dijit/themes/themeTester.html You should =
see a=20
page like this: <BR><A title=3D"View: themeTester.png"=20
href=3D"http://www.dojotoolkit.org/files/themeTester_0.png"><IMG =
class=3Dinline=20
title=3DthemeTester.png alt=3DthemeTester.png=20
src=3D"http://www.dojotoolkit.org/files/themeTester_0.png"></A> =
</LI></OL>
<P>You've got a working Dojo!</P>
<H2>Getting the Nightly Build</H2>
<P>Finally, for those of you who live on the edge ... you can <A=20
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-4-meta-dojo/get-co=
de-subversion">get=20
the latest, greatest code</A> directly from the Subversion code =
repository.=20
<DIV class=3Dbook-navigation>
<DIV class=3D"page-links clear-block"><A class=3Dpage-previous=20
title=3D"Go to previous page" =
href=3D"http://dojotoolkit.org/book/dojo-book-0-9-0">=E2=80=B9=20
The Book of Dojo</A><A class=3Dpage-up title=3D"Go to parent page"=20
href=3D"http://dojotoolkit.org/book/dojo-book-0-9-0">up</A><A =
class=3Dpage-next=20
title=3D"Go to next page"=20
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/hello-world-tutorial">H=
ello=20
World - Dojo for the Attention-Impaired =E2=80=BA</A></DIV></DIV></DIV>
<DIV class=3Dlinks>
<UL class=3D"links inline">
<LI class=3D"first book_printer"><A class=3Dbook_printer=20
title=3D"Show a printer-friendly version of this book page and its =
sub-pages."=20
href=3D"http://dojotoolkit.org/book/export/html/768">Printer-friendly=20
version</A>=20
<LI class=3Dcomment_forbidden><SPAN class=3Dcomment_forbidden><A=20
=
href=3D"http://dojotoolkit.org/user/login?destination=3Dnode/768%2523comm=
ent-form">Login</A>=20
or <A=20
=
href=3D"http://dojotoolkit.org/user/register?destination=3Dnode/768%2523c=
omment-form">register</A>=20
to post comments</SPAN>=20
<LI class=3D"last subscriptions_del_node"><A =
class=3Dsubscriptions_del_node=20
title=3D"Stop receiving an e-mail whenever a new comment is posted to =
this Book page."=20
href=3D"http://dojotoolkit.org/subscriptions/del/node/768">Unsubscribe =
post</A>=20
</LI></UL></DIV></DIV>
<DIV id=3Dcomments><A id=3Dcomment-5788></A>
<DIV class=3Dcomment>
<H3 class=3Dtitle><A class=3Dactive=20
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-1-life-dojo/quick-=
installation#comment-5788">AOL=20
CDN Link</A></H3>
<DIV class=3Dsubmitted>Submitted by nileshbansal on Fri, 09/07/2007 - =
22:45.</DIV>
<DIV class=3Dcontent>
<P>To use 0.9.0 from AOL's CDN, just include this script tag in your=20
page:<BR><script type=3D"text/javascript"=20
src=3D"http://o.aolcdn.com/dojo/0.9.0/dojo/dojo.xd.js"></script>=
<BR>See=20
<A title=3Dhttp://build.dojotoolkit.org/0.9.0/=20
href=3D"http://build.dojotoolkit.org/0.9.0/">http://build.dojotoolkit.org=
/0.9.0/</A>=20
for more details.</P></DIV>
<DIV class=3Dlinks>
<UL class=3Dlinks>
<LI class=3D"first last comment_forbidden"><SPAN =
class=3Dcomment_forbidden><A=20
=
href=3D"http://dojotoolkit.org/user/login?destination=3Dnode/768%2523comm=
ent-form">Login</A>=20
or <A=20
=
href=3D"http://dojotoolkit.org/user/register?destination=3Dnode/768%2523c=
omment-form">register</A>=20
to post comments</SPAN> </LI></UL></DIV></DIV><A =
id=3Dcomment-8505></A>
<DIV class=3Dcomment>
<H3 class=3Dtitle><A class=3Dactive=20
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-1-life-dojo/quick-=
installation#comment-8505">Dojo=20
works locally, as well</A></H3>
<DIV class=3Dsubmitted>Submitted by peller on Fri, 11/09/2007 - =
17:43.</DIV>
<DIV class=3Dcontent>
<P>Because it's a client-side framework, most of Dojo will work when =
installed=20
on your filesystem, accessed with file: URLs. This can be a convenient =
way to=20
experiment with Dojo. Once you start to interact with server data, =
browser=20
security requires that you deploy your page on a web server.</P></DIV>
<DIV class=3Dlinks>
<UL class=3Dlinks>
<LI class=3D"first last comment_forbidden"><SPAN =
class=3Dcomment_forbidden><A=20
=
href=3D"http://dojotoolkit.org/user/login?destination=3Dnode/768%2523comm=
ent-form">Login</A>=20
or <A=20
=
href=3D"http://dojotoolkit.org/user/register?destination=3Dnode/768%2523c=
omment-form">register</A>=20
to post comments</SPAN> </LI></UL></DIV></DIV><A =
id=3Dcomment-9457></A>
<DIV class=3Dcomment>
<H3 class=3Dtitle><A class=3Dactive=20
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-1-life-dojo/quick-=
installation#comment-9457">CDN=20
Link</A></H3>
<DIV class=3Dsubmitted>Submitted by bahwi on Wed, 11/28/2007 - =
14:33.</DIV>
<DIV class=3Dcontent>
<P>So the "instructions are available" link goes back to this webpage, =
and there=20
are no instructions for the CDN link at all. There is a comment with the =
0.9=20
version, so I will include a link to the info for the 1.0.0 version as=20
well.<BR><A =
title=3Dhttp://dojotoolkit.org/2007/11/06/dojo-1-0-0-available-aol-cdn=20
href=3D"http://dojotoolkit.org/2007/11/06/dojo-1-0-0-available-aol-cdn">h=
ttp://dojotoolkit.org/2007/11/06/dojo-1-0-0-available-aol-cdn</A></P></DI=
V>
<DIV class=3Dlinks>
<UL class=3Dlinks>
<LI class=3D"first last comment_forbidden"><SPAN =
class=3Dcomment_forbidden><A=20
=
href=3D"http://dojotoolkit.org/user/login?destination=3Dnode/768%2523comm=
ent-form">Login</A>=20
or <A=20
=
href=3D"http://dojotoolkit.org/user/register?destination=3Dnode/768%2523c=
omment-form">register</A>=20
to post comments</SPAN> </LI></UL></DIV></DIV></DIV><!-- /main_content =
region --></DIV></DIV>
<DIV class=3D"col-c content-region-container">
<DIV id=3Dsidebar-right-container></DIV></DIV><BR class=3Dclear></DIV>
<DIV class=3Dcols-a50b50 id=3Dafter-content-block>
<DIV class=3D"col-a content-region-container" =
id=3Dafter-content-block-1></DIV>
<DIV class=3D"col-b content-region-container" =
id=3Dafter-content-block-2><BR=20
class=3Dclear></DIV><BR class=3Dclear></DIV><BR clear=3Dall></DIV>
<DIV class=3Dcontent-region-container>
<DIV id=3Dnavigation-block>
<DIV id=3Dbreadcrumb-block>
<DIV id=3Dbreadcrumbs>
<DIV class=3Dbreadcrumb><A href=3D"http://dojotoolkit.org/">Home</A> =
=C2=BB <A=20
href=3D"http://dojotoolkit.org/book/dojo-book-0-9-0">The Book of =
Dojo</A> =C2=BB Quick=20
Installation</DIV></DIV></DIV>
<DIV class=3Dcols-abcd id=3Dmain-menu-block><!-- Block: menu -->
<DIV class=3D"block block-menu" id=3Dblock-menu-573>
<DIV class=3Dcontent>
<UL class=3Dmenu>
<LI class=3Dleaf id=3Dmenu-item-574><A title=3D"See the Dojo Toolkit =
in action!"=20
href=3D"http://dojotoolkit.org/demos">Demos</A>=20
<LI class=3Dexpanded id=3Dmenu-item-575><A=20
title=3D"Get started with the Dojo Toolkit, fast"=20
href=3D"http://dojotoolkit.org/docs/quickstart">Quick Start</A>=20
<UL class=3Dmenu>
<LI class=3Dleaf id=3Dmenu-item-576><A title=3D"Get the toolkit"=20
href=3D"http://dojotoolkit.org/downloads">Downloads</A>=20
<LI class=3Dleaf id=3Dmenu-item-577><A title=3D"See examples of the =
Dojo Toolkit"=20
href=3D"http://dojotoolkit.org/demos">Examples</A>=20
<LI class=3Dleaf id=3Dmenu-item-639><A=20
href=3D"http://dojotoolkit.org/spotlight">Spotlight</A> </LI></UL>
<LI class=3Dexpanded id=3Dmenu-item-578><A=20
href=3D"http://dojotoolkit.org/about">About</A>=20
<UL class=3Dmenu>
<LI class=3Dleaf id=3Dmenu-item-579><A=20
href=3D"http://dojotoolkit.org/about">Overview</A>=20
<LI class=3Dleaf id=3Dmenu-item-580><A=20
href=3D"http://dojotoolkit.org/about/features">Features</A>=20
<LI class=3Dleaf id=3Dmenu-item-581><A=20
href=3D"http://dojotoolkit.org/about/press">Press</A>=20
<LI class=3Dleaf id=3Dmenu-item-582><A=20
href=3D"http://dojotoolkit.org/about/contact">Contact</A>=20
</LI></UL></LI></UL></DIV></DIV><!-- Block: menu -->
<DIV class=3D"block block-menu" id=3Dblock-menu-589>
<DIV class=3Dcontent>
<UL class=3Dmenu>
<LI class=3Dexpanded id=3Dmenu-item-583><A=20
href=3D"http://dojotoolkit.org/downloads">Downloads</A>=20
<UL class=3Dmenu>
<LI class=3Dleaf id=3Dmenu-item-584><A=20
href=3D"http://dojotoolkit.org/downloads">Current releases</A>=20
<LI class=3Dleaf id=3Dmenu-item-585><A=20
href=3D"http://archive.dojotoolkit.org/nightly/">Nightly builds</A>=20
<LI class=3Dleaf id=3Dmenu-item-586><A=20
href=3D"http://archive.dojotoolkit.org/">Archives</A>=20
<LI class=3Dleaf id=3Dmenu-item-587><A=20
href=3D"http://trac.dojotoolkit.org/roadmap?show=3Dall">Change =
logs</A>=20
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -