制作混合应用程序的最佳技术是什么:android,iOS和web? [英] What is the best technology to make an hybrid application for : android, iOS and web ?

查看:56
本文介绍了制作混合应用程序的最佳技术是什么:android,iOS和web?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用visual studio进行编程:vb.net,c#,asp.net和RPG。



我想开发一个新的应用程序,比如必须运行的日历on:mobile,tablet,web。

数据库可以是Sql Server或DB2(取决于客户)。



我一直在阅读很多文章:telerik,xamarin,ibm worklight,试图决定合适的技术。



首选:ibm worklight。也许是因为我对java和eclipse不太了解,但我不明白它是如何工作的。这是一个非常复杂的配置和各种插件组合在一起。关于worklight的好处是它有一个混合项目(android,iOS和web),甚至可以轻松地连接到DB2。虽然我不明白我是否可以开发没有Mac的iOS项目。简单来说就太复杂了。



第二选择:因为DB是如此不同,我认为WCF是使用Visual Studio和Xamarin与DB连接的正确技术。我认为与VS的集成太贵了。我根本没试过。



第三选择:然后我看到了带有Telerik插件的Visual Studio 2013和它的AppBuilder项目。我刚看了一眼,但我没有看到设计师。它似乎必须全部由HTML 5制作。



最终我迷路!!!!



也许我还没有看到其他可能的平台。在我做出选择之前,我想确定我评估了市场上的所有产品。



有没有人在这么多平台上开发过软件?

我上面写的技术有人吗?

有人可以建议我或者给我一些关于最佳技术的提示吗?



提前致谢。

I program with visual studio : vb.net, c#, asp.net and RPG.

I want to develop a new application like a calendar which must run on : mobile, tablet , web.
The database can be Sql Server or DB2 (depending on the customer).

I have been reading a lot of articles about: telerik, xamarin, ibm worklight, trying to decide the right technology.

First choice: ibm worklight. Maybe because I don't know so much about java and eclipse, but I didn't understand how it works. It's a very complex configuration and a mix of plugins put together. The benefits about worklight is that it has an hybrid project (android, iOS and web) which even connect easely to DB2. Although I didn't understand if I could develop iOS project without Mac. In few words too complex.

Second choice: because the DB is so different, I thought that WCF was the right technology for the connection with DB with Visual Studio and Xamarin. I think the integration with VS is too expensive. I didn't try it at all.

Third choice : then I saw visual studio 2013 with the Telerik plugin and it's AppBuilder project. I just took a look, but I didn't see a designer. It seems it must be made all by HTML 5.

Eventually I got lost !!!!

Maybe I haven't seen other possible platform. Before I take a choice I want to be sure I evaluated all the products on the market.

Has anybody developed a software on so many platforms ?
Has anybody on a technology I wrote above ?
Can anybody suggest me or give me a hint about the best technology to use ?

Thanks in advance.

推荐答案

好吧,微软推荐使用json的Web API

,它可以在你与中间件轻松交互的任何地方使用。

like理想情况下,您的网站上的代理,使用您拥有的任何基础设施,如果您的客户端不是浏览器,最好是WCF。

http://www.asp.net/web-api/videos/getting-started/aspnet-web-api [ ^ ]
Well, Microsoft suggest Web API
using json which can be used from everywhere you easily interact asyncronously with your middleware.
like a proxy on your website ideally, using whatever infrastructure you have, like preferably WCF if you have clients that are not browser.
http://www.asp.net/web-api/videos/getting-started/aspnet-web-api[^]


以Native方式运行,最好的方法是使用JSON Web Services分别使用Eclipse和X-Code开发它。单独开发UI并使用Web服务进行业务逻辑。



否则,如果您使用Xamarin进行开发,则需要Mac OS用于I-Phone应用程序,并且只需部分代码(像Business Logic一样可以共享。如果你能支付年度许可费,Xamarin是好的。即使可以共享C#代码,技能集要求也更高。 Android应用程序的设计模式类似于您在Eclipse中的操作方式,类似于iOS,它类似于X-Code。只使用的语言是C#而不是Java和X-Code。



另一种选择是Phone Gap。我用过这个,对于有C#Background的开发人员来说非常有意义。您可以在Windows 8.1上使用VS 2012进行开发,并且可以在云上测试APK,XAP等可执行文件。如果您的应用程序与操作系统特定的本机功能没有太大关系,那么Phone Gap是最简单的方法。



我的推荐是Purely Native Separate Codes,其次是HTML 5(PhoneGap Free)或企业),最后是Xamarin。
Going Native way, best way is to develop it using Eclipse and X-Code separately using JSON Web Services. Develop UI separately and use Web services for Business Logic.

Else if you develop with Xamarin you will need Mac OS for I-Phone application, and only part of code (like Business Logic) can be shared. Xamarin is good if you can pay for yearly license. The skill set requirement is higher even though the C# Code can be shared. The design pattern of Android Application resembles how you do in Eclipse and similarly for iOS it resembles to X-Code. Only the language used is C# instead of Java and X-Code respectively.

Another alternative is Phone Gap. I used this and it is very much meaningful for a developer with C# Background. You can develop using VS 2012 on Windows 8.1 and you can test executables like APK, XAP etc. on cloud. If your Application have not much to do with OS specific native features then Phone Gap is easiest way.

My recommendation is Purely Native Separate Codes, secondly HTML 5 (PhoneGap Free or Enterprise), and lastly Xamarin.


这篇关于制作混合应用程序的最佳技术是什么:android,iOS和web?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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