{"id":2009,"date":"2015-08-04T05:50:56","date_gmt":"2015-08-04T05:50:56","guid":{"rendered":"http:\/\/www.nikola-breznjak.com\/blog\/?p=2009"},"modified":"2015-08-04T05:50:56","modified_gmt":"2015-08-04T05:50:56","slug":"use-ionic-or-cordova","status":"publish","type":"post","link":"https:\/\/nikola-breznjak.com\/blog\/stack-overflow\/use-ionic-or-cordova\/","title":{"rendered":"Use Ionic or Cordova?"},"content":{"rendered":"<p><a href=\"http:\/\/stackoverflow.com\/users\/534755\/nikola\"><img loading=\"lazy\" decoding=\"async\" title=\"profile for Nikola at Stack Overflow, Q&amp;A for professional and enthusiast programmers\" src=\"http:\/\/stackoverflow.com\/users\/flair\/534755.png\" rel=\"lightbox[2009]\" alt=\"profile for Nikola at Stack Overflow, Q&amp;A for professional and enthusiast programmers\" width=\"208\" height=\"58\" \/><\/a><br \/>\nI&#8217;m a big fan of <a href=\"http:\/\/stackoverflow.com\/\">Stack Overflow<\/a> and I tend to contribute regularly (am currently in the <a href=\"http:\/\/stackexchange.com\/leagues\/1\/alltime\/stackoverflow\/2008-07-31\/534755?sort=reputationchange#534755\">top 0.X%<\/a>).\u00a0In this category (<a href=\"http:\/\/www.nikola-breznjak.com\/blog\/category\/stack-overflow\/\">stackoverflow<\/a>)\u00a0of posts, I will be posting my top rated questions and answers. This, btw, is allowed as explained in the meta thread <a href=\"http:\/\/meta.stackoverflow.com\/questions\/266971\/can-i-post-so-questions-and-answers-in-a-personal-blog\/266973\">here<\/a>.<\/p>\n<p>As you may be aware of, lately I&#8217;m really into Ionic framework and am helping out on StackOverflow with the knowledge I gained so far with the framework. In the last\u00a030 days, I&#8217;m the <a href=\"http:\/\/stackoverflow.com\/tags\/ionic\/topusers\">top answerer in the ionic tag<\/a>, and am currently #6 All time answerer:<\/p>\n<p><a href=\"http:\/\/www.nikola-breznjak.com\/blog\/wp-content\/uploads\/2015\/08\/soIonic.jpg\" rel=\"lightbox[2009]\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2010\" src=\"http:\/\/www.nikola-breznjak.com\/blog\/wp-content\/uploads\/2015\/08\/soIonic.jpg\" alt=\"soIonic\" width=\"780\" height=\"750\" srcset=\"https:\/\/nikola-breznjak.com\/blog\/wp-content\/uploads\/2015\/08\/soIonic.jpg 780w, https:\/\/nikola-breznjak.com\/blog\/wp-content\/uploads\/2015\/08\/soIonic-300x288.jpg 300w\" sizes=\"auto, (max-width: 780px) 100vw, 780px\" \/><\/a><\/p>\n<p>I answered\u00a0<a href=\"http:\/\/stackoverflow.com\/questions\/31179211\/use-ionic-or-cordova\/31180666\">this question<\/a>\u00a0by user <a href=\"http:\/\/stackoverflow.com\/users\/1365697\/user1365697\">user1365697<\/a>:<\/p>\n<p>We want to build a simple application that use a lot of videos and images. The application should run on different mobile devices running Andriod and iPhone operating systems. Does Ionic also convert each application to all mobiles options? What do you suggest to use Cordova or Ionic?<\/p>\n<p>My <a href=\"http:\/\/stackoverflow.com\/questions\/31179211\/use-ionic-or-cordova\/31180666#31180666\">answer<\/a> was:<\/p>\n<p>&nbsp;<\/p>\n<blockquote><p><em>Disclamer: This will sound like advertisement, so I have to say I&#8217;m in no way affiliated with Ionic, I just happen to like it so much that I&#8217;m sharing the love for it.<\/em><\/p>\n<p>Ionic is so much more than &#8220;just&#8221; an UI framework. Ionic allows you to:<\/p>\n<ul>\n<li><a href=\"http:\/\/www.nikola-breznjak.com\/blog\/ionic\/create-icons-and-splash-screen-automatically-with-ionic-resources\/\" rel=\"nofollow\">generate icons and splash screens<\/a> for all devices and device sizes with a single command: <code>ionic resources<\/code>. This alone saves you at least a day of image preparing for various sizes.<\/li>\n<li>instantly update your apps with code changes, even when running directly on your device with <code>ionic run --livereload<\/code><\/li>\n<li>build and test iOS and Android versions side-by-side and see changes instantly with <code>ionic serve --lab<\/code><\/li>\n<li>share your Ionic apps with clients, customers, and testers all around the world without ever going through the App Store with <code>ionic share<\/code><\/li>\n<li>easily accessing the full native functionality of the device using ngCordova (here you get to use any Cordova plugin &#8211; so Ionic is indeed much more than Cordova per se)<\/li>\n<\/ul>\n<p>Also, they&#8217;re building a full-stack backend services and tools for your Ionic app like <a href=\"http:\/\/www.nikola-breznjak.com\/blog\/ionic\/ionic-deploy-alpha-enables-app-update-on-the-fly\/\" rel=\"nofollow\">Deploy<\/a> (for deploying a new version without going through Apple review process!), <a href=\"http:\/\/www.nikola-breznjak.com\/blog\/ionic\/ionic-analytics-alpha-lets-you\/\" rel=\"nofollow\">Analytics<\/a>, <a href=\"http:\/\/blog.ionic.io\/announcing-ionic-push-alpha\/\" rel=\"nofollow\">Push notifications<\/a>.<\/p>\n<p>Ionic CLI (command line interface) uses Cordova in the backend and allows you to build (directly using Ionic CLI) apps for iOS and Android (you by doing <code>ionic build ios<\/code> or <code>ionic build android<\/code>and woila).<\/p>\n<p>Ionic uses Angular as a frontend framework so if you&#8217;re familiar with it it will come as a bonus. They&#8217;re<a href=\"http:\/\/blog.ionic.io\/angular-2-ionic\/\" rel=\"nofollow\">working closely with the Angular 2.0 team<\/a> too.<\/p>\n<p>All in all, I personally think Ionic has a bright future, so if nothing else &#8211; give it a try I bet you&#8217;ll like the ease of making an app with it.<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m a big fan of Stack Overflow and I tend to contribute regularly (am currently in the top 0.X%).\u00a0In this category (stackoverflow)\u00a0of posts, I will be posting my&hellip;<\/p>\n","protected":false},"author":1,"featured_media":1991,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43,35],"tags":[],"class_list":["post-2009","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ionic","category-stack-overflow"],"_links":{"self":[{"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/posts\/2009","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/comments?post=2009"}],"version-history":[{"count":1,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/posts\/2009\/revisions"}],"predecessor-version":[{"id":2011,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/posts\/2009\/revisions\/2011"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/media\/1991"}],"wp:attachment":[{"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/media?parent=2009"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/categories?post=2009"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/tags?post=2009"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}