Create real-time hybrid applications with the leader of HTML5 frameworks: Ionic Framework
About This Book
- Step into the world of amazingly interactive and real-time app development using Ionic 2
- Leverage the powerful Angular 2 along with Ionic to develop cutting edge apps
- Detailed code examples and explanations will help you get up and running with Ionic quickly and easily
Who This Book Is For
What You Will Learn
- Understanding the world of the mobile hybrid architecture
- Scaffolding and working with Ionic templates
- Transforming a single page app to a multi-page app using Navigation Controller
- Integrating Ionic components, decorators, and services and rapidly developing complex applications
- Theming Ionic apps as well as customizing components using SCSS
- Working with Ionic Native to interface with device features, such as camera, notifications, and battery
- Building a production grade app using Ionic and Uber API to let users book a ride
- Migrating an Ionic 1 app to Ionic 2 or Ionic 3
- Performing unit testing, end-to-end testing, and device testing on your apps
- Deploying Ionic apps to store and manage their subsequent releases
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.
Style and approach
A step-by-step, practical approach to learning Ionic using the example of designing an online course app. Each topic is explained sequentially in the process of creating a course. This includes explanations of both basic and advanced features of Ionic.
Table of Contents
- Angular - A Primer
Welcome to Ionic
- Mobile Hybrid architecture
- What is Apache Cordova?
- What is Ionic 2?
- Ionic 3
- Software setup
- Hello Ionic
- The browser developer tools setup
- The Ionic project structure
- Scaffolding the tabs template
- Scaffolding the side menu template
- Ionic Components and Navigation
- Ionic Decorators and Services
- Ionic and SCSS
- Setting up a platform-specific SDK
- Testing the setup
- Getting started with Cordova plugins
- Working with Cordova plugins using Ionic Native
- Building the Riderr App
- Ionic 2 Migration Guide
Testing an Ionic 2 App
- Testing methodologies
- Setting up the unit testing environment
- E2E testing
- Code coverage
- AWS Device Farm
- Automation testing
- Releasing the Ionic App
- Ionic 3
- Ionic CLI
- Ionic help and docs
- Ionic Creator
- Ionic Cloud
- Title: Learning Ionic - Second Edition
- Release date: April 2017
- Publisher(s): Packt Publishing
- ISBN: 9781786466051