Journal of Jianghan University(Natural Science Edition) ›› 2011, Vol. 39 ›› Issue (2): 56-60.

Previous Articles     Next Articles

Object-oriented Programming Framework based on JavaScript Closure

LI Yi   

  1. School of Mathematics and Computer Science, Jianghan University, Wuhan 430056, Hubei, China
  • Received:2011-03-28 Online:2011-03-20 Published:2013-12-30

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: