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?
Rhodes,Phonegap和Appcelerator如何能够使用Javascript或Ruby,并将它们编译成应用程序SDK的二进制文件,这些应用程序SDK通常需要用Obj-C,Java等编写应用程序?
4 个解决方案
#1
3
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.
Phonegap使用默认的浏览器呈现引擎,并使用它来显示您的应用程序。然后,javascript由框架的本机(已编译)部分处理。
Appcelerator uses something simular, but compiles the whole application if i remember correctly.
Appcelerator使用类似的东西,但如果我没记错的话,编译整个应用程序。
MoSync uses a somewhat simular setup as javaME.
MoSync使用一些有点类似的设置作为javaME。
Rhodes uses local server. It uses this to communicate with the device.
Rhodes使用本地服务器。它使用它来与设备通信。
#2
4
Jeff Haynie, Appcelerator co-founder, explains how Titanium Mobile works here.
Appcelerator联合创始人Jeff Haynie解释了Titanium Mobile如何在这里工作。
#3
2
A Javascript interpreter is built into the webkit browser engine, and the iPhone/iOS SDK gives enough access to this interpreter to run nearly an entire app written in Javascript, with just a tiny Objective C wrapper to start things up.
Webkit浏览器引擎中内置了一个Javascript解释器,iPhone / iOS SDK提供了对这个解释器的足够访问,可以运行几乎整个用Javascript编写的应用程序,只需一个小的Objective C包装器即可启动。
Android supports native ARM machine code though the NDK, so nearly any language with a compiler that can create a stand-alone ARM binary (but requiring little to no OS access) can be used as a library and accessed via the NDK interface from a Java app stub.
Android通过NDK支持本机ARM机器代码,因此几乎任何具有可以创建独立ARM二进制文件(但几乎不需要OS访问)的编译器语言都可以用作库,并通过Java的NDK接口访问应用存根。
#4
1
I've created an open source project http://propertycross.com that helps select a cross-platform mobile framework by showing the same application implemented with Sencha, Titanium, Xamarin and more. The project also includes details of how each framework works. It should help you compare end-user experience, code, developer experience and code shared between the various options.
我创建了一个开源项目http://propertycross.com,它通过显示使用Sencha,Titanium,Xamarin等实现的相同应用程序来帮助选择跨平台移动框架。该项目还包括每个框架如何工作的细节。它应该可以帮助您比较最终用户体验,代码,开发人员体验和各种选项之间共享的代码。
#1
3
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.
Phonegap使用默认的浏览器呈现引擎,并使用它来显示您的应用程序。然后,javascript由框架的本机(已编译)部分处理。
Appcelerator uses something simular, but compiles the whole application if i remember correctly.
Appcelerator使用类似的东西,但如果我没记错的话,编译整个应用程序。
MoSync uses a somewhat simular setup as javaME.
MoSync使用一些有点类似的设置作为javaME。
Rhodes uses local server. It uses this to communicate with the device.
Rhodes使用本地服务器。它使用它来与设备通信。
#2
4
Jeff Haynie, Appcelerator co-founder, explains how Titanium Mobile works here.
Appcelerator联合创始人Jeff Haynie解释了Titanium Mobile如何在这里工作。
#3
2
A Javascript interpreter is built into the webkit browser engine, and the iPhone/iOS SDK gives enough access to this interpreter to run nearly an entire app written in Javascript, with just a tiny Objective C wrapper to start things up.
Webkit浏览器引擎中内置了一个Javascript解释器,iPhone / iOS SDK提供了对这个解释器的足够访问,可以运行几乎整个用Javascript编写的应用程序,只需一个小的Objective C包装器即可启动。
Android supports native ARM machine code though the NDK, so nearly any language with a compiler that can create a stand-alone ARM binary (but requiring little to no OS access) can be used as a library and accessed via the NDK interface from a Java app stub.
Android通过NDK支持本机ARM机器代码,因此几乎任何具有可以创建独立ARM二进制文件(但几乎不需要OS访问)的编译器语言都可以用作库,并通过Java的NDK接口访问应用存根。
#4
1
I've created an open source project http://propertycross.com that helps select a cross-platform mobile framework by showing the same application implemented with Sencha, Titanium, Xamarin and more. The project also includes details of how each framework works. It should help you compare end-user experience, code, developer experience and code shared between the various options.
我创建了一个开源项目http://propertycross.com,它通过显示使用Sencha,Titanium,Xamarin等实现的相同应用程序来帮助选择跨平台移动框架。该项目还包括每个框架如何工作的细节。它应该可以帮助您比较最终用户体验,代码,开发人员体验和各种选项之间共享的代码。