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.
在軟件開發中,一個框架是一個被定義的支持結構,在其中其他項目可以被組織和開發。一個框架代表性地包含需要小的組件、支持程序、類庫、和一個腳本
語言。這些也可能是其他軟件包括幫助開發和不同的項目組件編制。如你看到的,dojo可能是框架的一部分,但是本質上它本身不是一個框架。
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.
庫被定義為一個相關功能和被用來開發軟件的子程序的集合。他們區別于執行,在其中他們不是獨立的程序;更適合的,他們是“助手”代碼,用來支持通過通用
成為一體的功能容易來進行管理。在讀完這些,你可能說,“嗨!dojo是一個庫的集合”,你可能是正確的,然而,dojo不僅僅是做為一個庫的集合。
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.
現在說說toolkits.
一個工具通常被用在參考圖形用戶界面工具。基礎地,一個類庫主要集中在創建一個GUI。是地,dojo可被歸入這個類別,實際上我們命名暗示了它,為什么
我們叫dojo是一個工具?當然不是因為它主要集中在GUI開發,正確么?很好,其實很簡單,因為pojo不僅僅是一個庫的集合。