Mobile development under Xamarin VS PHONEGAP

Source: Internet
Author: User

Cross-platform development

Mobile app development is a scary thing for many developers. Many companies want to be able to improve their business by developing mobile applications, and often lack professional objective C or Java mobile developers to develop native apps. Not only that, each popular mobile platform has its own development language, development tools and features, which means that the development of an application takes three times times the development time and needs to maintain three projects. So the cost of developing native applications is very large.

Fortunately, there are a lot of companies that are already researching how to make native app development simple, so far there are two main ways to develop multiple platforms: the first is to populate the native app with the Web application as the kernel (the solution provided by PhoneGap). This approach can appeal to web developers who want to move to mobile development, and the application developed in this way is to package websites like mobile apps. The second approach is to use a cross-platform development tool that provides a common language development native app (the solution provided by Xamarin). Xamarin (xamarin.forms) allows developers to develop in C # and then build ios,android with Xamarin.Forms transformations, and the Windows phone app, Xamarin is more popular with. Net developers.

The two tools use different solutions for developers with different technical backgrounds to achieve cross-platform application development. With the popularity of the two platforms, many control vendors have also developed tools that support both platforms, such as Wijmo 5 for PhoneGap, Xuni for Xamarin.Forms, and so on, making mobile development faster and more efficient, although there are a number of tools that support both platforms, But either Phoegap or Xamarin is not absolutely good or bad, so how to choose depends largely on which tool is more beneficial to the business. Below we will compare phonegap and Xamarin in detail.

PhoneGap

When developers use PhoneGap, they can be developed using JAVASCRIPT,HTML5,CSS. PHONEGAP provides a common API interface for accessing mobile device features, such as sensors, cameras, and so on. These applications, called hybrid applications, are neither native (rendered in webview) nor web-only (requires access to the native device API, which is the form of an installation package) to extend the PhoneGap functionality using other plug-ins. The most important thing is that phonegap is free and open source.

Xamarin

Xamarin provides leverage. Net (Mono) is a platform for open source implementations that developers can use in C # once, and Xamarin.form can generate both ios,android and Windows Phone applications. Xamarin development can use Visual Studio or its own Xamarin studio. Xamarin provides efficient performance and enhanced code reuse to take advantage of the C # language and the. Net platform.

Xamarin VS PhoneGap

Xamarin.Forms PhoneGap
Encoding using C # or XAML language Using JAVASCRIPT,HTML,CSS encoding
Developing iOS, Android,windowsphone apps Support iOS, Android,windowsphone,blackberry,symbian,bada,webos
Require Xamarin license Free Open Source
Generate native Apps The application is not entirely native
Efficient General performance
The application has a good user interface on every platform Additional accessibility tools are required to implement a good user interface on each platform
A large number of shared resources Open Source Library, framework, related platform optimized fragmentation
Summarize

Each developer needs to choose a solution that is right for them to develop. PhoneGap can improve the skills of web development, and Xamarin is committed to. NET technology, which is the most straightforward solution. Regardless of which solution you choose, each control vendor provides two platform-wide development tools to help developers with mobile application development.

Original link: http://stage.goxuni.com/xamarin-and-phonegap-comparison/

Mobile development under Xamarin VS PHONEGAP

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.