Why we are switching to Ionic from native iOS
Posted By : Avilash Choudhary | 21-Jun-2016
We all are enjoy developing native iOS Apps with swift or Objective-C and at the end we have wonderful iOS App for iOS devices such as phones and tablets. But we are not targeting the whole market just the some percentage of users. If you want to increase your user base then you have to go for other platform also, for that you need to hire another resource, to make available your app to the other platforms.After that you will have to maintain the two code bases.
Now enter into the world of hybrid development, which will keep you to a single code-base for multiple platforms such as iOS and Android. Hybrid development runs in a browser and it wraps the code so that it runs on mobile operating systems for Android and iOS.
Ionic, we use HTML5,CSS with AngularJS and uses Cordova to have access for native device functions. Its free and support is growing day by day. Ionic apps also have good performance,
we can not achieve the same performance as in native apps but they are really good. If you are looking for gaming applications then its best to go for native
Lets talk about the Structure:
While starting you will see many files which might create confusion in the beginning. but after you will be used to it.
Package.json define the NodeJS modules
bower.json for bower packages
config.xml all the properties of your project
gulpfile.js for GulpJS tasks
All these files define the base of your Ionic project.
there are some other directories
plugins/ all installed cordova plugins
www/ this is the your single code base
You will start from index.html or app.js inside www folder, which is the base of your app. The best thing to use Ionic is to create all layout in HTML files with the help of CSS. Suppose you have your website and you want to create the mobile app for that, then you can use the most of HTML of your website into the app when building in Ionic. Its also easier to build layouts in Ionic because it has built-in directives. Another good thing, at the end you will have single code base for multiple platforms.
THANKS
Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests. Click Agree and Proceed to accept cookies and go directly to the site or click on View Cookie Settings to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site.
About Author
Avilash Choudhary
Avilash has excellent experience in developing mobile and web applications using jQuery , Javascript and PhoneGap. His hobbies are watching and playing cricket.