首页 | 官方网站   微博 | 高级检索  
     

基于闭包的JavaScript面向对象编程框架
引用本文:李轶.基于闭包的JavaScript面向对象编程框架[J].江汉大学学报(自然科学版),2011,39(2):56-60.
作者姓名:李轶
作者单位:江汉大学数学与计算机科学学院,湖北武汉,430056
摘    要:Web技术的发展促使开发者对JavaScript语言提出了更多要求.为提高Web应用的开发效率及质量,构建了一个基于JavaScript闭包的面向对象编程框架.通过闭包的运用,实现了基于类面向对象编程封装、继承及多态的特征.在此基础上,给出了框架使用示例.

关 键 词:闭包    面向对象

Object-oriented Programming Framework based on JavaScript Closure
LI Yi.Object-oriented Programming Framework based on JavaScript Closure[J].Journal of Jianghan University:Natural Sciences,2011,39(2):56-60.
Authors:LI Yi
Affiliation:LI Yi (School of Mathematics and Computer Science,Jianghan University,Wuhan 430056,Hubei,China)
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.
Keywords:closure  class  object-oriented  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号