随着计算机应用的迅速普及,软件需求日益增长。应用程序的跨平台转换对资源重用、降低成本、提高软件开发的效率以及解决当前自主研发的操作系统平台有着大量的应用程序缺口等方面有着重大意义。论文借鉴逆向工程、模型驱动开发理念,提出一种基于模型的应用程序跨平台转换方法,讨论了转换过程中的相关策略;并应用该方法实现从Java源代码到PHP的转化。
With the rapidly growing of computer use, the demand of software increasingly grows. The application cross-platform con- version has vital meanings in resources reuse, costs reduce and improve the efficiency of software development, as well as to solve the current self-developed operating system platform with numerous applications gap. This article draws lessons from the theory of reverse engineering and model-driven development, then presents a method of model-based application cross-platform conversion, discusses strategies in conver- sion process and using the method achieve the conversion of from Java source code to PHP.