一种上下文感知编程模型——IPM的实施
The Implementation of IPM——a Kind of Programming Model of Context-Aware Application
-
摘要: 提出了一种面向上下文的编程模型IPM(Isotope Programming Model)并介绍了IPM的实施.IPM对已有的面向对象模型进行扩展,引入了新的语言元素,将上下文感知应用的编程对程序员简化,使其只关心程序的逻辑,而不用关心上下文数据的变化.将IPM与现有的面向对象的编程方法进行对比,体现了IPM在上下文感知应用开发中的优越性.Abstract: The paper proposes a context-oriented programming model which is named Isotope Programming Model (IPM). The paper also discusses the implementation of IPM. IPM extends the object-oriented programming model and introduces new language elements, which simplifies the development of context-aware application and makes programmer only care about the logic of programming and free from the change of context data. The paper also eompares the IPM with object-oriented programming model and embodies the advantages of IPM in the fields of the development of context-aware application.