Book Image

Learning Ionic, Second Edition - Second Edition

By : Arvind Ravulavaru
Book Image

Learning Ionic, Second Edition - Second Edition

By: Arvind Ravulavaru

Overview of this book

Ionic makes it incredibly easy to build beautiful and interactive mobile apps using HTML5, SCSS, and Angular. Ionic also makes app development easier, faster, and more fun. This hands-on guide will help you understand the Ionic framework and how you can leverage it to create amazing real-time applications. We begin by covering the essential features of Angular 2, and then dive straight into how Ionic fits in today’s world of hybrid app development and give you a better understanding of the mobile hybrid architecture along the way. Further on, you will learn how to work with Ionic decorators, services, and components, which will allow you to build complex apps using the Ionic framework. We will take a look at theming Ionic apps using the built-in SCSS setup. After that, we will explore Ionic Native, and you will learn how to integrate device-specific features, such as notifications, with the Ionic app. To complete our learning, we will be building a Rider app, using Ionic and Uber API, to book a ride. Next, you will learn how to unit test, end-to-end test, monkey test, and execute device testing on AWS Device farm. Then, we will take a look at migrating the existing Ionic 1 apps to Ionic 2 and deploy them to the App Store. The final chapter on Ionic 3 wraps up this book by explaining the new features of Ionic 3 at the time of writing this book. By the end of this book, you will be able to develop, deploy, and manage hybrid mobile applications built with Cordova, Ionic, and Angular. All the examples in this book are valid for both Ionic 2 and Ionic 3.
Table of Contents (13 chapters)

Why migration?

So far, in this book, we have gone through the process of building apps with Ionic 2, without the knowledge of Ionic 1. But as far as the real world goes, there are a few thousand apps already deployed with Ionic 1. Those apps can take advantage of the improved features of Ionic 2 to make the app experience better.

Migrating code in the world of software is a daunting task. In our case, the migration is even more complex because we are not just upgrading the libraries of Ionic 1 to Ionic 2 but upgrading the language itself on which these are written for example, ES5 to ES6 and TypeScript.

The new ecosystem for JavaScript apps primarily revolves around ES6, TypeScript, and Web Components. Adapting to these to take advantage of the latest technologies is what Angular 2 has done. Ionic 2 has also done this.

IMHO, with so many changes, migrating a fully functioning app from Ionic 1 to Ionic 2 should be...