Please humor me, as this section is the opinion of one person. This is perhaps the hardest section to write in this article I'm presenting strengths and weaknesses on a topic fraught with religiously held opinions and all without proof. This sample application has one simple task: to send substantial amounts of data back to the server. I intend to make this case with a sample application written in both Cordova and Xamarin. Sometimes mixing the two together gives you the best possible results. Although Cordova is great, it too has foibles. Although Xamarin is great, it has its foibles. In this article, I intend to make the case that it is possible to build your mobile app using the best of each technology. The reality is that good developers take advantage of both platforms where suitable. There's an almost religious war between these two camps. They insist that if you aren't doing 100% native, you're doing it wrong. So why would you not just use Xamarin, always?Īlways! You'll never hear a good developer use that word, although I sometimes run into naysayers. Xamarin, now part of Microsoft, is an incredible alternative that lets you use one language and one code base and target multiple platforms. What if you could have the best of both worlds? Write in C# and run everywhere as native applications. The argument in favor of native is that it provides better performance and better access to leading-edge features on the respective platforms.īut writing native has two huge disadvantages: a much higher learning curve and associated costs. In other words, you wrote “native” code, and didn't use Web-based technologies. You can't target all relevant platforms with a single codebase, and the application looks good, looks consistent, and performs quite well.īut a few years ago, targeting multiple platforms effectively meant that you had to write code for each platform separately. Yes! It's true: write once, run everywhere is finally a reality. In previous articles, I've made the case for looking at Angular2 and Typescript, along with Cordova and Electron as a strategy to lower the learning curve and associated costs in targeting multiple platforms. It's mind boggling how much times have changed. And it may also mean targeting tvOS, WatchOS, Tizen, XBOX, Windows Phone, maybe more. Today, launching a successful product means targeting Mac and Windows, and iOS and Android. Ten years ago, it meant writing a website that worked on Internet Explorer. Fifteen years ago, launching a product meant writing a Windows application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |