跨平台移动应用程序开发框架如何工作? [英] How do cross-platform mobile app development frameworks work?

查看:26
本文介绍了跨平台移动应用程序开发框架如何工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Rhodes、Phonegap 和 Appcelerator 如何能够采用 Javascript 或 Ruby,并将它们编译成二进制文件,用于通常需要使用 Obj-C、Java 和其他语言编写应用程序的应用程序 SDK?

How are Rhodes, Phonegap, and Appcelerator able to take Javascript or Ruby, and compile them into binaries for app SDKs that normally require apps to be written in Obj-C, Java, and others?

推荐答案

Phonegap 使用默认的浏览器渲染引擎,并使用它来显示您的应用程序.然后 JavaScript 由框架的本机(编译)部分处理.

Phonegap uses the default browser rendering engine, and uses that to display your application. The javascript is then handled by the native (compiled) part of the framework.

Appcelerator 使用了一些类似的东西,但如果我没记错的话,它会编译整个应用程序.

Appcelerator uses something simular, but compiles the whole application if i remember correctly.

MoSync 使用与 javaME 有点类似的设置.

MoSync uses a somewhat simular setup as javaME.

Rhodes 使用本地服务器.它使用它与设备进行通信.

Rhodes uses local server. It uses this to communicate with the device.

这篇关于跨平台移动应用程序开发框架如何工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆