ionic-team / ionic-learn

learn.ionicframework.com
61 stars 44 forks source link

Why Ionic Framework? #218

Closed boostup closed 9 years ago

boostup commented 9 years ago

Hello, I was wondering if this post (I just finished now), could be of any interest to you, or even be published on the Ionic Blog.

Here is a copy of its contents.


Why Ionic Framework?

The Ionic Framework is your best bet when it comes to develop cross-platform, hybrid Android/iOS/Windows Phone apps.

Ionic Framework 1.1.x is based on AngularJS 1.4.x, and relies on Apache Cordova to provide the native part of the app.

A note about Cordova: to simplify, PhoneGap existed before Cordova, but when Adobe took it over, they created Cordova as the open source portion of PhoneGap Build. So, today, PhoneGap, or PhoneGap Build refers to Cordova + Abobe's paying services around Cordova.

One of the things I've come to appreciate with Ionic, are the strong decisions which have been made on my behalf as a developer: AngularJS , SASS(vs LESS), gulp (vs grunt).

The problem with other hybrid development environments (see my other post Alternatives to Ionic Framework) is that I, as a developer, need to make these choices myself, and have to make them all work together in synfony. However, I do not pretend to be an architect, I'm just a coder...

There are so many challenges to overcome already when you code mobile cross-platform apps that, I like not having to ask myself so many other 'metaphysical' questions. And even if you manage to do this on your own, you're still faced with the lack of a mobile UI set of components, and one that seriously takles the singularities of each platforms (iOS, Android and Windows Phone).

Let's take tabs as example. On Android, tabs are on top of the screen. On iOS, tabs are on the bottom of the screen. And this is just ONE example... there are tons of others:

And this is just the tip of the iceberg in terms of real life project problems you will need to find 'industrial' grade solutions to...

In my opinion, alternative frameworks do not bring such a full front-end solution as Ionic's. Or, if they do, they're still not mature enough compared to Ionic's. I have therefore made the conscious decision to give Ionic my full attention.

So, why is that ?

Ionic has inspired me as mobile developer.

I can hear it whispering into my ears:

THE cross-platform hybrid development toolchain you've been looking for for years is here, and it is here to stay! and the best part: I'm might not even have to deal with native development anymore. No more having to code twice, or thrice.

With Ionic, I feel it is the end of an era, and the start of a very exiting one, yelding the excalibur's promise: ONE code base for all!

No more coding once for iOS, once for Android, and once again for all futur challengers such as Windows Phone, and god only knows what else is coming !!!

According to Gartner, by 2016, more than 50% of mobile apps will be hybrid ones.

All in all, Ionic allows you to concentrate on what you want to do, and not how to do it****. Furthermore, the Ionic learning curve is easy compared to other solutions I've tried. And if you're an AngularJS developer, you're at luck. The Ionic learning curve really just consists of :