Framework(框架)
In software development, a framework is a defined
support structure in which other project can be organized and
developed. A framework typically consists of several smaller
components; support programs, libraries, and a scripting language.
There may also be other software involved to aid in development and
meshing of the different components of a project. As you can see, dojo
could be part of a framework, but it isn't a framework in itself.
在軟件開發(fā)中,一個(gè)框架是一個(gè)被定義的支持結(jié)構(gòu),在其中其他項(xiàng)目可以被組織和開發(fā)。一個(gè)框架代表性地包含需要小的組件、支持程序、類庫、和一個(gè)腳本
語言。這些也可能是其他軟件包括幫助開發(fā)和不同的項(xiàng)目組件編制。如你看到的,dojo可能是框架的一部分,但是本質(zhì)上它本身不是一個(gè)框架。
Library(庫)
A
library is defined as a collection of related functions and subroutines
used to develop software. They are distinguished from executables in
that they are not independant programs; rather, they are "helper" code
that provide access to common functions in one easy to manage location.
After reading this you are probably saying, "Hey! dojo is a collection
of libraries!", and you would be correct; however, dojo is much more
than just a collection of libraries.
庫被定義為一個(gè)相關(guān)功能和被用來開發(fā)軟件的子程序的集合。他們區(qū)別于執(zhí)行,在其中他們不是獨(dú)立的程序;更適合的,他們是“助手”代碼,用來支持通過通用
成為一體的功能容易來進(jìn)行管理。在讀完這些,你可能說,“嗨!dojo是一個(gè)庫的集合”,你可能是正確的,然而,dojo不僅僅是做為一個(gè)庫的集合。
Toolkit(工具)
Now on to
toolkits. A toolkit is generally used in reference to graphical user
interface (GUI) toolkits. Basically, a library that is mainly focused
on creating a GUI. Yes, dojo could also fall under this category, in
fact our name implies it. Why do we call dojo a toolkit? Certainly not
because it focuses mainly on GUI development, right? Well quite simply,
because dojo is so much more than just a collection of libraries.
現(xiàn)在說說toolkits.
一個(gè)工具通常被用在參考圖形用戶界面工具。基礎(chǔ)地,一個(gè)類庫主要集中在創(chuàng)建一個(gè)GUI。是地,dojo可被歸入這個(gè)類別,實(shí)際上我們命名暗示了它,為什么
我們叫dojo是一個(gè)工具?當(dāng)然不是因?yàn)樗饕性贕UI開發(fā),正確么?很好,其實(shí)很簡單,因?yàn)閜ojo不僅僅是一個(gè)庫的集合。