phonegap和intel xdk或其他之间的区别 [英] Different between phonegap and intel xdk or others

查看:97
本文介绍了phonegap和intel xdk或其他之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,我刚刚开始制作混合移动应用程序,起初我要学习phonegap,但是在阅读了一些文章之后,提到了有关intel XDK的知识,它们可以实现phonegap的功能,但安装起来更为简单(具有ide,模拟器等)

So, i just beginning to make hybrid mobile apps, and at first i'm going to learn phonegap but after reading some article there is mentioned about intel XDK which do what that phonegap can do but in more straight forward instalation(it have ide, emulator and so on)

那么两者之间有什么区别?以及在获取针对移动平台的教程,社区支持和受支持的api方面哪个更好?

so what is the difference between those? and which one is better in term of getting tutorials, community support and supported api for mobile platform?

还是同一件事?由于intel xdk可以与phonegap集成在一起,因此非常令人困惑...

or is it the same thing? since intel xdk can be integrated with phonegap, so it's very confusing...

推荐答案

通常来说,您拥有旨在构建混合应用程序的不同类型的框架:

Generally speaking you have different types of frameworks aimed to build hybrid apps :

  • 针对HTML5内容的框架,例如Cordova或intel XDK(均通过JS字节码),Intel XDK基于Cordova
  • 类似于 Appcelerator Titanium 的框架,它们使用平台的本机控件呈现UI,但仍可通过JS进行工作
  • 免费的(或部分免费的)旨在产生真实本机代码的框架,例如 Unity (基于C#orJS,面向游戏), Kivy (基于Python)或 libgdx (基于Java,面向游戏)
  • 旨在生成真实本机代码(例如, Xamarin (使用C#)或
  • Frameworks targetting HTML5 content like Cordova or intel XDK (both via JS byte code), Intel XDK is based on Cordova
  • Frameworks like Appcelerator Titanium which render the UI using the platform’s native controls but still working via JS
  • Free (or partially free) Frameworks aiming to produce real native code like Unity (C# orJS based, Games oriented), Kivy (Python Based) or libgdx (Java based, Game Oriented)
  • Commercial Frameworks aiming to produce real native code like Xamarin (using C#) or Embarcadero New Frameworks are coming and my list is probably incomplete.

如您所见,现在的选择非常广泛!

As you see, the choice is very broad now !

Cordova和XDK不太容易开始,但是很快就会显示出它们的局限性,因为它们产生的是HTML5,而不是本地代码.

Cordova and XDK are not too difficult to begin with but will show their limits shortly because they produce HTML5, not native code.

如果您只想用HTML/JS编写代码并可以访问移动平台的本机控件,那么钛是一个不错的选择.现在,它具有一个称为Alloy的MVC框架.它甚至会为HelloWorld生成相当大的应用程序,就像大多数这些工具一样!

Titanium is a good choice if you want to code only in HTML/JS and have access to mobile platforms native controls. It has now an MVC Framework called Alloy. It produce rather big applications even for HelloWorld as will do most of these tools !

如果您要构建类似多平台游戏的游戏,团结是最好的. 跨平台的功能令人惊叹

Unity is the best if you want to build something like a multi-platform Game. It cross-platform habilities are amazing

如果您喜欢C#,Xamarin很好,也不是很贵.

Xamarin is good and not very expensive if you like C#.

如果您想使用Python/Pygames工具进行开发,请选择Kivy;如果您是Java迷,请选择libgdx.

Choose Kivy if you want to develop with Python/Pygames tools and libgdx if you are a Java addict.

这篇关于phonegap和intel xdk或其他之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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