Journal of Jianghan University(Natural Science Edition) ›› 2011, Vol. 39 ›› Issue (2): 56-60.
Previous Articles Next Articles
LI Yi
Received:
Online:
Published:
Abstract: With the development of Web technology, developers have more language feature requirements on JavaScript. In order to improve development efficiency and quality of web applications, an object-oriented programming framework based on JavaScript closure was built. By using closure, the framework realized all features of object-oriented programming based on class, including encapsulation, inheritance and polymorphism. And moreover, gives a demonstration example of the framework.
Key words: closure, class, object-oriented
CLC Number:
TP312
LI Yi. Object-oriented Programming Framework based on JavaScript Closure[J]. Journal of Jianghan University(Natural Science Edition), 2011, 39(2): 56-60.
0 / / Recommend
Add to citation manager EndNote|Reference Manager|ProCite|BibTeX|RefWorks
URL: https://qks.jhun.edu.cn/jhdx_zk/EN/
https://qks.jhun.edu.cn/jhdx_zk/EN/Y2011/V39/I2/56