My IONIC Experience!
I’m finally getting to write about what I think of the ‘awesomeness of the ionic framework’. I learnt about ionic a little while after I graduated off college (Secondary School for Nigeria), but before this I really did thought I knew all about HTML and CSS without knowing I was just beginning (am just beginning to scratch the surface about 5–6 years from then). Not forgetting the topic here, I began so interested in ionic just because of one thing my instructor said back then:
“You can build a cross platform app with just one ionic source code”
The major relief this brought to me was the fact that I don’t need to learn Java, Swift, .NET e.t.c to be able to build android, ios, windows and web apps, all I needed was to master my HTML, CSS and JavaScript skills. Plus when I discovered electron can be integrated in to ionic, then I became like what else does a front-end developer wants.
Even though I was caught most of the times sleeping in my instructor’s class, I had a lot of interest in it. Now this brings me to the real excitement. Having following up with ionicframework development updates, I learn’t about the new set of product they have in the works, I became so excited and couldn’t wait for them to release those products. I became excited that I began to share the gospel of ionic to everyone around me (I actually really did, I think I was able to convert about three people, no joke), the only thing I didn’t do was share flyers(because none was available) and host crusades(I couldn’t afford it) 😆.
Some times around 2016, I discovered PWA. As a developer, I have to follow the trend to be able to satisfy clients and my employer’s needs(to also brag among my developer friends). As usually I started going through articles and Google’s documentation, the whole service-worker thingy and push notifications. Just for me to notice ionic is actually PWA ready, then am like 😧. What else can I ask for. All that was required for me is to build my project to the web:
npm run ionic:build --prod
With that I have my web app ready to be deployed. The whole ionic team deserves some accolades.
Get Emmanuel Aina’s stories in your inbox
Join Medium for free to get updates from this writer.
Well, time for confession. There are times I run into development errors/issues (kinda difficult to trace) that I spend about a week or two trying to fix. Seriously speaking, in times like this I usually get good follow up responses from the ionic team and the developers community towards helping me solve my problems. At least, no one is perfect. 🤷. The fact that ionic was based on Angular Js, debugging is much easier so I had ionic community + Angular Js community behind me to fix my issues.
A friend once upon a time reached out to me to help build an app which I accepted, he wanted an android app. I did build it and he came back requesting for a web version, I wasn’t afraid of building it because I knew it was just a command away but how do I host it. Began reading posts, articles and blogs till I found Firebase. As a newbie, I couldn’t believe that I could actually set up and host an app with HTTPS between about 30 mins (with my shitty network then).
Now let’s talk about this new thing the ionic team is working on STENCIL. I’ll call it a web component builder. It is used to build web components that can be used with plain JavaScript or any JavaScript framework.
The new ionic 4 is built with stencil which now means you can use ionic with any JavaScript framework or core JavaScript. Isn’t that fun?
In addition to that, they built Capacitor, an API that can be used to utilize the device hardware features like camera, GPS etc. You’ll say this is same as Cordova, but you can’t use Cordova on the web or with PWAs, that’s where the ionic Capacitor comes into play.
These new products are currently in beta and alpha versions which am also helping to test (that’s to show how eager I am to use it). Did I mention that you can also use stencil like a framework independently to build a standalone app?
That’s how I prefer to use it any ways, it’s just incredibly faster and PWA ready. So since I can use ionic for almost anything, what else.







