Angular once upon a time
Fri 12/10/2018 22 mins read 1820 views
The Magic of Ionic Framework
Hello, probably many of you reading this article are wondering: What Ionic is? Why Ionic? What are its strengths and weaknesses? How to program Ionic?…
These inquiries will be discussed within the scope of this article. However, before going into the main topic, we would like to introduce a bit about “Mobile App”, “Web app” and let you know why Ionic was born.
As you know, since the smartphones appeared, the term “Mobile App” was formed to refer to software that works for them. Upon arrival, Mobile App only came in natively, which means apps are developed specifically for an operating system (OS) such as iOS, Android, and Windows Mobile in the respective programming language on each OS. For example, you must use Objective C or Swift to develop an app running on iOS, Java on Android, or C# on Windows Mobile. Each native app can only run on one platform and cannot be transformed to another platform. This means that when you develop an iOS app, it cannot run on Android Phone or Windows Phone and vice versa. The biggest advantage of native apps is that they allow users to access all the native features easily and they produce the highest performance. In addition, since native apps offer the greatest and the most complete experience, they still account for a vast majority of applications nowadays.
So What is Hybrid App?
So, does the above introduction has anything to do with our Ionic? The answer is yes, because Ionic is the framework for building hybrid applications. Ionic is built on top of the Cordova platform, and we can understand simply as follows: Ionic plays the role of handling part of the user interface, it will have to work with Angular, which will handle the logic of the application.
Cordova is a multi-platform framework that compiles the application into a form that can be installed and run within the mobile web view. So, what are the reasons for choosing Ionic? You can see in the specification of hybrid app that it is possible to build an application that run on all platforms, and the application still behaves like a native application with pre-built native plugins provided by Cordova. Is it still not great?
Up till now, Ionic has come out to the third version. However, as a matter of fact, you can only see a significant difference between Ionic first and second versions. Any of the later versions are just upgrades from Ionic second version so far.
What is the future of Ionic?
The scope of this article will not be big enough to cover all the new and good things that Ionic 1 or Ionic 2 brings to us. We can say that updating Ionic from version 1 to version 2 is a big revolution for Ionic. With those who have good background in Web, using Ionic to expand their career path is a smart choice. For the large community, with all the benefits including the ability to operate well on two major mobile operating systems (iOS, Android), specific documentation, variety of examples, intensive care from developers, we think this framework is the future for Client-oriented programmers.