Ionic is mobile app development framework for web developers. It helps web developers to create the Hybrid mobile application. The ionic framework is complete open-source SDK for hybrid mobile app development.By using Ionic you can create a Mobile application on various platforms like Android, IOS, and windows using a single codebase.
Read Best IONIC Interview Questions and Answers
11. What is the difference between HTML5, Native and a Hybrid app?
12. Ionic File and Folder Structure (v1 and v2)
13. What is Ionic Framework?
IONIC framework is an HTML5 platform that enables web developers to build hybrid mobile apps. Hybrid apps are those apps that have access to native perform layer and are small websites running in browser shell in the apps. It is a powerful HTML5
SDK that helps to build mobile apps using HTML
18. How to use service/providers in Ionic?
Services play an important role in Ionic framework as they provide information to our application and perform various tasks for us. ConnectivityMonitor, SimpleAlert, data, GoogleMaps, etc. are some of the services which are built in ionic framework. There are few concepts which are to be kept in mind while creating a service. Importing a service, adding a provider to it, and injecting it is the most important thing. The services should be imported in the classes where they are to be used. When it is injected inside a constructor, a new member variable is created which can be accessed from anywhere within the class. A provider can be added in a service by two ways. Either it can be added to an individual component, or it can be added globally to the application when bootstrapping the root component.
19. How many types of storage available in Ionic framework?
The easy way to store key or values and JSON objects are known as storage in Ionic Framework. In this various storage, engines are used. While on the web application, the storage will tend to use IndexedDB, WebSQL, and local storage. Various types of storage are available in Ionic framework. Some of them are –
- HTML5 local storage
- Cookie and session storage
- Webservice/api storage
- Cordova storage.
22. How to use observables in an Ionic framework? Observables
are something that are not specific to Ionic or Angular and are provided by the RxJS
library. Observables are almost similar to the promises but can do a lot more. It can deal with multiple values at a time rather than just resolving one value. You can even subscribe to an observable to manipulate the data which is associated with it. Observables are considered to be “lazy”, i.e. they won’t get executed until and unless they are subscribed to. Various operations can be applied to the observables for modifying it and returning a new one. You can even create your own observable. The observable patterns are combined into one with the help of subject which is preferred for simple implementations.