期刊文献+

基于函数式编程语言的事件驱动模型的设计与实现 被引量:2

DESIGN AND IMPLEMENTATION OF EVENT-DRIVEN MODEL BASED ON FUNCTIONAL PROGRAMMING LANGUAGE
下载PDF
导出
摘要 函数式编程语言在移动游戏研发中使用十分普遍,例如客户端的Lua、Java Script,服务端的Ruby、Erlang、Java Script。但目前对移动游戏开发框架的设计大多是基于传统面向对象的方法,并没有很好地利用函数式编程语言的特性。针对项目代码模块的通信问题,通过借鉴面向对象(OOP)中的观察者模式以及现有的函数式编程语言的开源框架Node.js,设计并实现一种适用于函数式编程语言的事件驱动模型FPEDM(Functional Programming Event Driven Model)。该模型具有简单易用,扩展性强,与移动游戏软件耦合度低、复用性好的特点,应用到项目开发中可大大提高开发效率,简化项目框架的复杂度。 Functional programming language (FPL) has been widely used in the development of mobile games, such as Lua and JavaScript on client, Ruby, Erlang and JavaScript on server. However, most of the designs in regard to mobile game development framework are based on traditional object-oriented method, they do not make good use of the characteristics of FPL. In this paper, focuses on the communication in modules of project code, we designed and implemented an event-driven model applicable to FPL, named FPEDM, by referring the observer pattern of object-oriented programming (OOP) and existing open source framework of FPL Node. js. The model is simple and easy to use, has strong scalability, low coupling dependency with specific mobile game projects, and good reusability. By applying it to project development, the development efficiency can be greatly improved, the complexity of the project framework can be simplified as well.
出处 《计算机应用与软件》 CSCD 2016年第9期7-9,37,共4页 Computer Applications and Software
基金 国家自然科学基金项目(61073163) 上海市企业自主创新专项资金项目(沪CXY-2013-88)
关键词 函数式编程 事件驱动模型 Functional programming Event-driven model
  • 相关文献

参考文献8

二级参考文献16

  • 1田春虎.国内语义Web研究综述[J].情报学报,2005,24(2):243-249. 被引量:37
  • 2刘洋,桂小林,徐玉文.网格工作流中基于优先级的调度方法研究[J].西安交通大学学报,2006,40(4):411-414. 被引量:7
  • 3DUBREUIL M, GAGNE C, PARIZEAU M. Analysis of a master-slave architecture for distributed evolutionary computations [J].IEEE Transactions on Systems, Man and Cybernetics, part B: Cybernetics, 2006, 36 (1): 229-235.
  • 4HEYMANN E, SENAR M A, LUQUE E, et al. Efficient resource management applied to master-worker applications [J]. Journal of Parallel and Distributed Computing, 2004, 64(6): 767-773.
  • 5CESAR E, MORENO A, SORRIBES J, et al. Modeling master/worker applications for automatic performance tuning[J].Parallel Computing, 2006, 32(7/8): 568-589.
  • 6MORAJKO A, MARGALEF T, LUQUE E. Design and implementation of a dynamic tuning environment [J].Journal of Parallel and Distributed Computing, 2007, 67(4): 474-490.
  • 7WELSH M, CULLER D, BREWER E. SEDA: architecture for well-connected scalable internet services[J].Eighteenth Symposium on Operating Systems Principles, 2001, 35(5) :230-243.
  • 8WANG Yongjian, LUAN Zhongzhi, QIAN Depei, et al. DDGrid: a grid computing environment with massive concurrency and fault-tolerance support [C]// Proceedings of 7th International Conference on Grid and Cooperative Computing. Piscataway, NJ, USA: IEEE Computer Society, 2008. 5-14.
  • 9MCLAUGHLIN Brett.What is node?[M].California:O'Reilly Media,2011.
  • 10TILKOY Stefan,VINOSKI Steve.Node.js:using Java Script to build high-performance network programs[J].IEEE Internet Computing,2010,14(6):80-83.

共引文献45

同被引文献15

引证文献2

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部