Planet of NCCUCS
adobe photoshop 8.0 warez Adobe Premiere Pro CS5 can t reinstall adobe creative suite download adobe photoshop 8 0 cs Adobe Illustrator CS5 adobe premiere pro 1.5 serial key adobe acrobat reader 6.0 free Adobe Dreamweaver CS5 adobe course indesign software adobe photoshop free cursive fonts Adobe Photoshop CS5 Extended adobe photoshop elements 4 help sound adobe photoshop logos Adobe Creative Suite 5 Master Collection adobe creative suite torrents adobe photoshop and trial version Adobe Acrobat 9 Pro Extended adobe photoshop shape tools adobe photoshop free trial software Adobe Contribute CS5 wartz adobe acrobat adobe creative suite 2 academic Adobe Indesign CS5 adobe acrobat approval adobe premiere preview download Adobe Flash Catalyst CS5 602 acrobat adobe reader update adobe acrobat 7 reader update Adobe Flex Builder 3 Pro opening pps in adobe photoshop

除了 Google AJAX Libraries API 以外的選擇

作者:TaopaiC on 五月 29, 2008 Posted in RSS | | 觀看文章來源

Google AJAX Libraries API 提供幾個知名的 javascript 函式庫的 hosting, 但是 google 就沒有提供肥滋滋的 ExtJS, 除此之外還有啥選擇呢?

如果你是使用…

YUI - The Yahoo! User Interface Library

官方就提供 CDN 了..例如:
<script type="text/javascript" src="http://yui.yahooapis.com/2.5.1/build/yahoo/yahoo-min.js" ></script>

DOJO

AOL 有提供 dojo 的 CDN , 例如
<script type="text/javascript" src="http://o.aolcdn.com/dojo/1.1.1/dojo/dojo.xd.js"></script>

JQuery

官方有
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.pack.js"></script>
或者是放於 google code
<script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.2.6.js"></script>
( 誰可以告訴我, 直接使用以上這兩個連結合法嗎? )
老實說, 這兩個比不上 Google AJAX lib API 提供的, 前者用 AmazonS3 只有 ETAG , 後者的過期時間才一個禮拜. 反正很多人使用放於 google code 的 jquery , 所以 google 乾脆把他變成官方服務吧..

cachefile.net

這是本篇的主角, 在 google 之前就有好心人提供差不多的服務, cachefile 不只有很多 js lib , 還有圖示等等, 例如知名的 famfamfam icon 也有 (在此) . 使用方法就自行找該檔案連結, 例如:
<script type="text/javascript" src="http://cachefile.net/scripts/dojo/1.0.0/dojo/dojo.js"></script>
除此之外, 還可以自行控制過期時間
<script type="text/javascript" src="http://cachefile.net/scripts/dojo/1.0.0/dojo/dojo.js
?expires=Thu,+01+Jan+2009+00:00:00+GMT”></script>

注意: 控制過期時間因為有 query string 所以是不同的 URI , 無法享受到快取的優點.

:, ,

讀過本文的讀者, 也對以下文章有興趣

No comments for this entry yet...

Comments are closed.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

最新文章

照片

R0012028R0012036R0013553R0013551R0013550R0013549R0013560R0013558R0013569R0013561R0013570R0013571R0013580R0013581R0013556R0013567R0013563R0013572R0011783R0012312