简体   繁体   English

Monocross和Monotouch(xamarin)之间的区别?

[英]Difference between Monocross & Monotouch (xamarin)?

i am right now exploring the capabilities of Monotouch (by Xamarin) with other solution such as Monocross? 我现在正在探索Monotouch(由Xamarin开发)与其他解决方案(例如Monocross)的功能吗?

So can any one explain when to use Monotouch and when to Monocross. 因此,任何人都可以解释何时使用Monotouch以及何时使用Monocross。

What is the advantage & disadvantage of these framework wrt native app development? 这些框架本机应用程序开发的优缺点是什么?

Just to try to add visually to Stephane's answer, here's a diagram slightly adapted from one of my presentations: 只是为了直观地添加到Stephane的答案中,以下是根据我的一个演示文稿稍微改编而成的图表:

图表


Note that you don't have to use a shared library like MonoCross, MvvmCross, etc. You can always write your own architecture. 请注意,您不必使用诸如MonoCross,MvvmCross等共享库。您始终可以编写自己的体系结构。 This is like in web apps - you don't have to use WebForms, ASP.Net Mvx, FubuMvc, etc - you can just use Request and Response and talk more directly with the web server. 这就像在Web应用程序中一样-不必使用WebForms,ASP.Net Mvx,FubuMvc等-您可以仅使用Request and Response并直接与Web服务器进行通信。

So, you can just write your own code to adapt your app to each platform like: 因此,您可以编写自己的代码以使您的应用适应每个平台,例如:

图表


Which approach you should take - depends on the requirements of you and your app... and on personal opinion too. 您应该采用哪种方法-取决于您和您的应用程序的要求...以及个人意见。

Monocross is a cross platform MVC framework. Monocross是一个跨平台的MVC框架。 As a framework, it's open source. 作为框架,它是开源的。 But you need either monotouch or mono for android in order to deploy on the devices. 但您需要Android的monotouch或mono才能在设备上进行部署。

Those 2 stuffs doesn't compare. 那两个东西没有比较。 They sum up. 他们总结。

With tools like Monocross or MvvmCross, you really get a crossplatform code sharing framework, and that's your advantage over coding in native languages. 使用Monocross或MvvmCross之类的工具,您将真正获得一个跨平台的代码共享框架,这是您使用本机语言进行编码的优势。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM