검색결과 리스트
Web에 해당되는 글 30건
- 2011/11/05 html5 data-attribute javascript로 사용하기
- 2011/07/26 CommonJS - not just for browsers any more!
- 2011/01/26 dojox.chartting Chart2D
- 2010/12/31 Sencha Touch
- 2010/12/14 HTML5 - Web SQL Database
- 2010/12/14 HTML5 - Web Storage
- 2010/12/14 HTML5 API - Storage
- 2010/11/04 Event System of Dojo Toolkit
- 2010/11/04 Powerful Easy APIs of Dojo toolkit
- 2010/11/04 Dojo toolkit Installing
글
Web/Javascript 2011/11/05 21:57html5 data-attribute javascript로 사용하기
Using data- attributes with JavaScript Now that we understand what custom data- attributes are and when we can use them, we should probably take a look at how we can interact with them using JavaScript. If we wanted to retrieve or update these attributes using existing, native JavaScript, then we can do so using the getAttribute and setAttribute methods as shown below:
'Web > Javascript' 카테고리의 다른 글
| html5 data-attribute javascript로 사용하기 (0) | 2011/11/05 |
|---|---|
| CommonJS - not just for browsers any more! (0) | 2011/07/26 |
| jQuery 압축 (0) | 2010/11/02 |
| jQuery widget 에 관하여. (0) | 2010/10/21 |
| jQuery 간단 스터디 계속 - Class 지향 플러그인 개발등 (0) | 2010/10/20 |
| jQuery에 대한 간단한 스터디 정리 (0) | 2010/10/01 |
트랙백
댓글
글
Web/Javascript 2011/07/26 14:15CommonJS - not just for browsers any more!
CommonJS - not just for browsers any more!
정말 신선하고, 충격적이며 멋있는 주제가 아닐수 없다 +_+a
미루고 미루다가 드디어 한번 구경해 보게 되었다
http://www.commonjs.org/
그동안 javascript는 브라우저에서만 수행되는 인터프리터 언어로서 취급 되어져 왔다.
나도 그리 생각했었다.
하지만 javascript의 영역이 계속 넓혀지고 있다.
The official JavaScript specification defines APIs for some objects that are useful for building browser
javascript는 이제 브라우저를 뛰쳐 나가고 싶어졌고, 많은 개발자들이 이 꿈을 지원해주고있다.
향후 아래와 같은 환경에서도 이제 js는 큰 역할을 짊어 질수 있을것 같다.
• Server-side JavaScript applications
• Command line tools
• Desktop GUI-based applications
• Hybrid applications
The CommonJS API will fill that gap by defining APIs that handle many common application needs, ultimately providing a standard library as rich as those of Python, Ruby and Java.
CommonJS에서 제안하고 있는 표준스팩들은 아래와 같다.
http://www.commonjs.org/specs/
•Modules
•Binary strings and buffers
•Charset encodings
•Binary, buffered, and textual input and output (io) streams
•System process arguments, environment, and streams
•File system interface
•Socket streams
•Unit test assertions, running, and reporting
•Web server gateway interface, JSGI
•Local and remote packages and package management
위 제안들을 모두 구현한 구현체가 0.x대 버전을 넘어 1.x대로 진화하는 이후 부터 어떤 일들이 벌어질지 정말 기대된다.
이미 CommonJS에서 제안한 표준에 따라 구현된 구현체들이 상당하다.
아래 주소에서 확인 가능하다.
http://www.commonjs.org/impl/
Node.js 역시 CommonJS의 제안한 표준을 따라 CommonJS에서 정의한 모듈들을 일부 구현하였다.
현재 Node.js는 아래와 같은 상태로서
v0.4.10 (stable)
v0.5.2 (unstable)
http://nodejs.org/#download
0.4 ~0.5 대 버전임에도 불구하고, 벌써부터 Node.js등을 열심히 지지고 볶고 있는 사람들이 많아진것을 구글링을 통해 쉽게 알수 있다.
간단하게 CommonJS에서 제안하고 있는 JS모듈을 Node.js에서 어떻게 사용하는지 모양을 살펴보자.
흔히 FF에 console에서 로그를 찍어보기 위해 console.log(), console.dir() 메소드를 사용하는데,
http://wiki.commonjs.org/wiki/Console에 해당 모듈도 논의의 대상으로서 리스트에 올라 있다.
현재 Console의 논의 상태와 제안 내용을 살펴 볼수 있다.
11년 7월 현재 아직 PROPOSED, DISCUSSED, SOME IMPLEMENTATIONS 상태임을 알수 있다.
Node.js에서는 이미 이 제안을 참고하여 구현되어있고, 해당 모듈의 사용이 가능하다.
Node.js에서 100%는 아니지만 몇몇 기능을 구현하였고 아래와 같은 형태로 사용이 가능하다.
var maLog = require("console");
maLog.log("Hello world~!!");
-출력결과 당연히 Hello world~!! 라는 주어진 문자열을 출력
>Hello world~!!
maLog.dir(maLog);
-출력결과 당연히 maLog 객체에 assign된 console 모듈 내용을 출력한다.
- 현재 Node.js에서는 Console스펙의 16가지 기능중 9가지 기능을 구현 제공하고 있음을 알수 있다.
>
{ log: [Function],
info: [Function],
warn: [Function],
error: [Function],
dir: [Function],
time: [Function],
timeEnd: [Function],
trace: [Function],
assert: [Function]
}
슬슬 Node.js를 열심히 만져 보아야겠다.
'Web > Javascript' 카테고리의 다른 글
| html5 data-attribute javascript로 사용하기 (0) | 2011/11/05 |
|---|---|
| CommonJS - not just for browsers any more! (0) | 2011/07/26 |
| jQuery 압축 (0) | 2010/11/02 |
| jQuery widget 에 관하여. (0) | 2010/10/21 |
| jQuery 간단 스터디 계속 - Class 지향 플러그인 개발등 (0) | 2010/10/20 |
| jQuery에 대한 간단한 스터디 정리 (0) | 2010/10/01 |
트랙백
댓글
글
Web/Dojo 2011/01/26 14:50dojox.chartting Chart2D
dojox 패키지는 dojo committer들이 제공한 다양한 서브프로젝트들의 모음이다.
안정성(?)은 보장하지 않지만, 퀄리티가 상당하다.
최근 업무의 일환으로 dojox의 Chart패키지를 이용하여 간단히 bar chart와 trends chart를 프로젝트에 적용하게 되었는데,
사용법이 매우 간단한데 비해 퀄리티가 너무 좋다는 생각이 들었다.

var node = dojo.byId("chart");
안정성(?)은 보장하지 않지만, 퀄리티가 상당하다.
최근 업무의 일환으로 dojox의 Chart패키지를 이용하여 간단히 bar chart와 trends chart를 프로젝트에 적용하게 되었는데,
사용법이 매우 간단한데 비해 퀄리티가 너무 좋다는 생각이 들었다.
dojox.charting.Chart2D 클래스의 Methods Summary
reference : http://dojotoolkit.org/api/
var node = dojo.byId("chart");
var myChart = new dojox.charting.Chart2D(node))
.addPlot("default", { type: "Areas", tension: "X" })
.setTheme(dojox.charting.themes.Shrooms)
.addSeries("Series A", [1, 2, 0.5, 1.5, 1, 2.8, 0.4])
.addSeries("Series B", [2.6, 1.8, 2, 1, 1.4, 0.7, 2])
.addSeries("Series C", [6.3, 1.8, 3, 0.5, 4.4, 2.7, 2])
.render();
dojo campus에서 다양한 활용예를 살펴 볼수 있다.
친절하게 코드들도 모두 포함되어 있으니, 간단히 테스트도 가능하다.
http://dojocampus.org/explorer/#Dojox_Charting_2D_Simple%20Bar%20Chart
'Web > Dojo' 카테고리의 다른 글
| dojox.chartting Chart2D (0) | 2011/01/26 |
|---|---|
| Event System of Dojo Toolkit (0) | 2010/11/04 |
| Powerful Easy APIs of Dojo toolkit (0) | 2010/11/04 |
| Dojo toolkit Installing (0) | 2010/11/04 |
트랙백
댓글
글
Web 2010/12/31 17:14Sencha Touch
Sencha Touch
http://www.sencha.com/products/touch/
jQuery Mobile와 마찬가지로, Web App 즉, touch screen device용 UI 요소를 위한 컴포넌트 js들을 제공하는
HTML5 Mobile Javascript Framework(toolkit) 이다.
상업적 목적을 위하여 사용될 시에는 유료인 라이센스 정책으로 알고 있었는데,
Free Commercial License 로 라이센스 정책을 선회했다고 한다.
Demos : http://www.sencha.com/products/touch/demos.php
API : http://dev.sencha.com/deploy/touch/docs/
한번쯤 살펴보자.
'Web' 카테고리의 다른 글
| Sencha Touch (0) | 2010/12/31 |
|---|---|
| HTML5 - Web SQL Database (0) | 2010/12/14 |
| HTML5 - Web Storage (0) | 2010/12/14 |
| HTML5 API - Storage (0) | 2010/12/14 |
| ant에 dojo build task 삽입하기 (0) | 2010/08/17 |
| CSS Reference (0) | 2009/12/15 |
트랙백
댓글
글
Web 2010/12/14 01:31HTML5 - Web SQL Database
Web SQL Database = Client-Side Database = Browser Database
구조적이고 체계화된 관계형 데이터를 대량으로 저장하기에 적합
HTML5 Web Database Specification
This specification defines an API for storing data in databases that can be queried using a variant of SQL.
W3C : http://dev.w3.org/html5/webdatabase/
온/오프라인 여부에 상관없이 사용 가능한, 브라우저에 내장된 Database
장점
저장소에 영구히 보존 할 수 있고, 리소스 점유율이 많은 덩치큰 데이터를 체계적
으로 관리 할 수 있다.
단점
SQL쿼리를 별도로 익혀야하는 단점이 있다.
관계형 데이타베이스의 경우 저장되는 데이터의 스키마의 유연성이 떨어질 수 있고 SQL 이라는 별도의 독립된 언어를 기반으로 하기 때문에 브라우저간 표준화및 호환성에 문제될 소지가 있다
(MS SQL과 오라클이 자체 비표준 SQL을 지원하는 것처럼 변형된 SQL이 발생할 수 있다는 것이다)
(때문에 현재는 Web SQL Database 사양 책정이 중지된 상태로, IndexedDB라는 스펙이 대안으로 떠오르고 있음)
아래와 같이 Chrome 브라우저의 개발툴 Storage탭으로 생성된 Web Database를 모니터링 가능하다.
transaction : 읽고, 쓰기
readTransaction : 읽기 전용
데이터베이스 개설(이름, 버전, 설명, 용량) -> 테이블 생성 -> Insert, Select, Delete등 행위 수행
- Transaction 안에 쿼리를 실행
간단한 소스 예>>
더보기
'Web' 카테고리의 다른 글
| Sencha Touch (0) | 2010/12/31 |
|---|---|
| HTML5 - Web SQL Database (0) | 2010/12/14 |
| HTML5 - Web Storage (0) | 2010/12/14 |
| HTML5 API - Storage (0) | 2010/12/14 |
| ant에 dojo build task 삽입하기 (0) | 2010/08/17 |
| CSS Reference (0) | 2009/12/15 |
트랙백
댓글
글
Web 2010/12/14 01:22HTML5 - Web Storage
HTML5 - Web Storage
<!--[if !ppt]-->
<!--[endif]-->
(클리앙 사이트에 들어간 상태에서 SessionStorage, LocalStorage를 활성화 시켯다.)
Web Storage = Client Side Storage = Browser Storage
적은양의 간단한 데이터를 저장하기에 적합한 로컬 저장소
It's Key - Value Base
HTML5 Storage Specification
This specification defines an API for persistent data storage of key-value pair data in Web clients.
W3C : http://dev.w3.org/html5/webstorage/
Mozilla : https://developer.mozilla.org/en/dom/storage
Web Storage 의 구분
LocalStorage
SessionStorage
LocalStorage와 SessionStorage의 API 인터페이스는 아래와 같다.
<!--[if !ppt]-->
<!--[endif]-->
<!--[if !ppt]-->
<!--[endif]-->
API : setItem(Key, Value), getItem(Key), removeItem(Key), clear()
LocalStorage
브라우저 종료해도 데이터가 남는다.
<!--[if !ppt]-->
<!--[endif]-->
|
키/값 저장
키/값 로드
키/값 모두 삭제
|
SessionStorage
데이터는 윈도우 객체에 저장된다.(따라서, 브라우저 종료와 동시에 X)
|
키/값 저장
키/값 로드
키/값 모두 삭제
|
LocalStorage 와 SessionStorage는 아래와 같이 크롬 브라우저의 개발툴-Storage탭에서 모니터링과 테스팅이
가능하다.
'Web' 카테고리의 다른 글
| Sencha Touch (0) | 2010/12/31 |
|---|---|
| HTML5 - Web SQL Database (0) | 2010/12/14 |
| HTML5 - Web Storage (0) | 2010/12/14 |
| HTML5 API - Storage (0) | 2010/12/14 |
| ant에 dojo build task 삽입하기 (0) | 2010/08/17 |
| CSS Reference (0) | 2009/12/15 |
트랙백
댓글
글
Web 2010/12/14 00:09HTML5 API - Storage
HTML5 API - Storage
Offline Application Cache
Web Storage
Web SQL Database
Indexed Database
-
Part I. Offline Application Cache
-
Part II. Web Storage
-
Part III. Web SQL Database
-
Part IV. Indexed Database
ThinkFree Show
들어가며 . .Browser Dom Object ModelThinkFree Show
DOM 모델의 확인은 Firebug를 이용하여 확인이 가능하다.
ThinkFree Show Part I. Offline Application CacheThinkFree Show 일반적인 Web Application의 동작을 위한 Resource- css- image- javascript- html일반적 Online Web Application Server측에 Request and downloadOffline에서 정상적으로 동작하는 Web Application오프라인 브라우징 - 오프라인에서도 사이트에 접근 가능속도 향상 - 로컬 영역에 저장해둔 리소스는 빠른 속도로 로드됨서버 부하감소 - 리소스가 변경된 경우에만 다운로드를 시도
캐시 파일 목록을 명시하여 참조example.manifestmanifest="http://foo.example.com/example.manifest">manifest 파일에 캐쉬할 파일들의 목록등의 정보를 명시한다.ThinkFree Show CACHE MANIFEST#캐쉬할 파일들index.htmlstylesheet.cssimages/logo.pngscripts/main.js
1.맨윗줄은 무조건 Cache Manifest를 명시2. #은 주석3. 사이트당 최대 5MB까지 Cache가능4. manifest에 명시된 파일의 다운로드가 실패할 경우 브라우저는 가장 최근에 성공적으 로 다운로드한 파일을 그대로 사용하며, 실패 이벤트를 발생좀 더 복잡한 예ThinkFree Show CACHE MANIFEST# v2# 명시적으로 캐시된 항목CACHE:index.htmlstylesheet.cssimages/logo.pngscripts/main.js# 사용자가 온라인 상태가 되었을 때 필요한 리소스들NETWORK:login.php/myapihttp://api.twitter.com# static.html 파일은 main.py 파일에 접근할 수 없을 때 보여짐FALLBACK:/main.py /static.html
ThinkFree Show 스크립트로 Cache ControlThinkFree Show var appCache = window.applicationCache;var appCache = window.applicationCache;appCache.update(); // 사용자의 캐시를 갱신하도록 시도함...if (appCache.status == window.applicationCache.UPDATEREADY) {appCache.swapCache(); // 가져오기에 성공한 경우 새로운 캐시로 교체}
ThinkFree Show 예 > http://html5.firejune.com/demo/manifest.html
ThinkFree Show Part II. Web StorageThinkFree Show Web Storage = Client Side Storage = Browser Storage적은양의 간단한 데이터를 저장하기에 적합한 로컬 저장소It's Key - Value BaseHTML5 Storage SpecificationThis specification defines an API for persistent data storage of key-value pair data in Web clients.W3C : http://dev.w3.org/html5/webstorage/Mozilla : https://developer.mozilla.org/en/dom/storageWeb Storage 의 구분LocalStorageSessionStorage
ThinkFree Show API : setItem(Key, Value), getItem(Key), removeItem(Key), clear()LocalStorage브라우저 종료해도 데이터가 남는다.ThinkFree Show -
키/값 저장
-
localStorage.setItem( 'gilbird', 2010);
-
-
키/값 로드
-
var year = localStorage.getItem( 'gilbird');
-
-
키/값 모두 삭제
-
localStorage.clear();
-
SessionStorage데이터는 윈도우 객체에 저장된다.(따라서, 브라우저 종료와 동시에 X)ThinkFree Show -
키/값 저장
-
sessionStorage.setItem( 'gilbird', 2010);
-
-
키/값 로드
-
var year = sessionStorage.getItem( 'gilbird');
-
-
키/값 모두 삭제
-
sessionStorage.clear();
-
ThinkFree Show Part III. Web SQL DatabaseThinkFree Show Web SQL Database = Client-Side Database = Browser Database구조적이고 체계화된 관계형 데이터를 대량으로 저장하기에 적합HTML5 Web Database SpecificationThis specification defines an API for storing data in databases that can be queried using a variant of SQL.W3C : http://dev.w3.org/html5/webdatabase/온/오프라인 여부에 상관없이 사용 가능한, 브라우저에 내장된 Database장점저장소에 영구히 보존 할 수 있고, 리소스 점유율이 많은 덩치큰 데이터를 체계적으로 관리 할 수 있다.단점SQL쿼리를 별도로 익혀야하는 단점이 있다.관계형 데이타베이스의 경우 저장되는 데이터의 스키마의 유연성이 떨어질 수 있고 SQL 이라는 별도의 독립된 언어를 기반으로 하기 때문에 브라우저간 표준화및 호환성에 문제될 소지가 있다(MS SQL과 오라클이 자체 비표준 SQL을 지원하는 것처럼 변형된 SQL이 발생할 수 있다는 것이다)(때문에 현재는 Web SQL Database 사양 책정이 중지된 상태로, IndexedDB 스펙이 대안으로 떠오르고 있음)
ThinkFree Show Transactiontransaction : 읽고, 쓰기readTransaction : 읽기 전용
데이터베이스 개설(이름, 버전, 설명, 용량) ->테이블 생성 ->Insert, Select, Delete등 행위 수행- Transaction 안에 쿼리를 실행
소스예ThinkFree Show //DB 개설this.db = window.openDatabase("raeok", "1.0", "테스트용DB", 1024 * 1024); //Field 변수 db에 database 객체 할당//테이블 생성this.db.transaction(function(tx) {tx.executeSql("create table Test(name,age)"); //name, age칼럼을 갖는 Table을 생성});//Select 구문 예this.db.transaction(function(tx) {tx.executeSql("select * from Test", [],function(tx, result){// It's call back method . . .// do something.}});//Delete 구문 예this.db.transaction(function(tx) {tx.executeSql("delete from Test", [],function() {alert("All of list are cleared.");});});
ThinkFree Show Part IV. Indexed Database
ThinkFree Show HTML5 IndexedDB SpecificationThis document defines APIs for a database of records holding simple values and hierarchical objects. Each record consists of a key and some value. Moreover, the database maintains indexes over records it stores. An application developer directly uses an API to locate records either by their key or by using an index. A query language can be layered on this API. An indexed database can be implemented using a persistent B-tree data structure.w3c : http://www.w3.org/TR/IndexedDB/mozilla : https://developer.mozilla.org/en/IndexedDBWeb Database에 비하여 Indexed DB는 스크립트에서 데이터 베이스를 다루기에 좀 더 최적화된 인터페이스를 제공한다.에서 사용할 수 있는 클라이언트 사이드 RDMBS인데, 이를 대체할 HTML5 의 대세는, Indexed Database APIFireFox 4.0에서 지원할 예정 (하지만 아직 FireFox4 Beta6에서도 지원되지 않고 있음 . .)
ThinkFree Show var db = indexedDB.open('books', 'Book store', false);if (db.version !== '1.0') {var olddb = indexedDB.open('books', 'Book store');olddb.createObjectStore('books', 'isbn');olddb.createIndex('BookAuthor', 'books', 'author', false);olddb.setVersion("1.0");}// db.version === "1.0";var index = db.openIndex('BookAuthor');var matching = index.get('fred');if (matching)report(matching.isbn, matching.name, matching.author);elsereport(null);ThinkFree Show -
'Web' 카테고리의 다른 글
| Sencha Touch (0) | 2010/12/31 |
|---|---|
| HTML5 - Web SQL Database (0) | 2010/12/14 |
| HTML5 - Web Storage (0) | 2010/12/14 |
| HTML5 API - Storage (0) | 2010/12/14 |
| ant에 dojo build task 삽입하기 (0) | 2010/08/17 |
| CSS Reference (0) | 2009/12/15 |
트랙백
댓글
글
Web/Dojo 2010/11/04 01:59Event System of Dojo Toolkit
Event System of Dojo Toolkit
http://www.dojotoolkit.org/reference-guide/quickstart/events.html
Dojo의 이벤트 시스템은 두가지 메소드 짝들로 정리 축약이 가능하다 생각한다.
첫번째로 dojo.connect , dojo.disconnect
두번째로 dojo.publish, dojo.subscribe
Connecting to a DOM Event (dojo.connect, dojo.disconnect)
dojo.connect
handle = dojo.connect(Scope of Event [object or null], Event [string], Context of Linked Method [string or null], Linked Method [string or function], Don't Fix Flag [boolean])
var myButton = dojo.byId("myButton");
var eventHandle = dojo.connect(myButton, "onclick", customEvent);
dojo.disconnect(eventHandle);
위와 같은 방식으로 DOM 노드에 이벤트를 connect, disconnect 한다.
브라우저 메모리 관리 효율을 위하여, 사용하지 않는 bind된 이벤트들은
꼼꼼하게 disconnect 시켜주는 것이 좋다.
Example of Code for Reference
더보기
더보기
Event available for Connection
더보기
Event뿐 아니라 Function에도 Event를 connect 할 수 있다.
// example:
// | var btn = new dijit.form.Button();
// | // when foo.bar() is called, call the listener
// | // we're going to
// | // provide in the scope of btn
// | btn.connect(foo, "bar", function(){
// | console.debug(this.toString());
// | });
foo 버튼 객체에서 bar 메소드가 수행되는 시점에 파라미터로 지정된 함수가
수행된다. (요거는 나중에 정말 무지 유용하게 쓸수 있다. 기억해 두자.)
'Web > Dojo' 카테고리의 다른 글
| dojox.chartting Chart2D (0) | 2011/01/26 |
|---|---|
| Event System of Dojo Toolkit (0) | 2010/11/04 |
| Powerful Easy APIs of Dojo toolkit (0) | 2010/11/04 |
| Dojo toolkit Installing (0) | 2010/11/04 |
트랙백
댓글
글
Web/Dojo 2010/11/04 00:53Powerful Easy APIs of Dojo toolkit
Powerful Easy APIs of Dojo toolkit
http://www.dojotoolkit.org/reference-guide/dojo/query.html#dojo-query
기존에 DOM API(browser’s native DOM API)를 이용하여 DOM 요소를 스크립팅하는 방식은 코드도 장황하게 길고,
Dom node를 Traversing하거나 Manipulation할 때 무차별적으로 Loop문을 남용해야 했다.
따라서 성능이 무척 느렷다.
좋지못했던 기존의 예>
더보기
Dojo Core는 이러한 불편한 점을 극복 시켜주는 dojo.query 메소드를 제공하고 있다.
더보기
더보기
CSS Selector와 동일한 표현방식으로 DOM Node를 탐색한다.
더보기
좀 더 Optional한 DOM 노드를 탐색하기 위한 사용범을 아래 사이트에서 간단히 확인 가능하다.http://www.dojotoolkit.org/reference-guide/dojo/query.html#dojo-query
jQuery와 Dojo 모두 Sizzle이라는 pure-JavaScript CSS selector engine을 활용하여 DOM Selector를지원하고 있다. (Sizzle은 Dojo 재단에서 지원하는 OpenSource Project중 하나다.)
'Web > Dojo' 카테고리의 다른 글
| dojox.chartting Chart2D (0) | 2011/01/26 |
|---|---|
| Event System of Dojo Toolkit (0) | 2010/11/04 |
| Powerful Easy APIs of Dojo toolkit (0) | 2010/11/04 |
| Dojo toolkit Installing (0) | 2010/11/04 |
트랙백
댓글
글
Web/Dojo 2010/11/04 00:41Dojo toolkit Installing
dojo toolkit을 이용하여 RIA를 개발하기에 앞서 dojo를 사용하기 위하여,
dojo를 installing하여야 한다.
http://www.dojotoolkit.org/reference-guide/quickstart/install.html
Use Dojo from CDN
AOL or Google에서 제공하는 CDN에서 제공하는 dojo 리소스를 스크립팅하는 방법이다.
항상 외부 인터넷과 연결된 상태의 어플리케이션에게는 적합하겠지만,
로컬 네트워크에서 동작하는 어플리케이션에서는 부적합할 것이다.
예> AOL CDN에 위치한 dojo 를 이용
더보기
User Dojo from your Own Server
전통적인 방식으로 자신의 프로젝트에 Dojo 툴킷 라이브러리를 다운받아 포함하는 방법이다.
http://dojotoolkit.org/download/ 에서 압축된 버전과 압축되지 않은 버전이 동시에 지원된다.
예> 자신의 프로젝트에 포함 시킨뒤 dojo.js 리소스의 경로를 명시한다.
더보기
'Web > Dojo' 카테고리의 다른 글
| dojox.chartting Chart2D (0) | 2011/01/26 |
|---|---|
| Event System of Dojo Toolkit (0) | 2010/11/04 |
| Powerful Easy APIs of Dojo toolkit (0) | 2010/11/04 |
| Dojo toolkit Installing (0) | 2010/11/04 |
RECENT COMMENT