Ionic 2 Cookbook - Second Edition

Over 30 life-changing recipes to help you create cutting edge, hybrid apps with Ionic 2
Preview in Mapt

Ionic 2 Cookbook - Second Edition

Hoc Phan

4 customer reviews
Over 30 life-changing recipes to help you create cutting edge, hybrid apps with Ionic 2
Mapt Subscription
FREE
$29.99/m after trial
eBook
$25.20
RRP $35.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$25.20
$44.99
$29.99p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Ionic 2 Cookbook - Second Edition Book Cover
Ionic 2 Cookbook - Second Edition
$ 35.99
$ 25.20
Network Analysis using Wireshark 2 Cookbook - Second Edition Book Cover
Network Analysis using Wireshark 2 Cookbook - Second Edition
$ 43.99
$ 30.80
Buy 2 for $35.00
Save $44.98
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781786465962
Paperback320 pages

Book Description

Developing real-time apps is the need of the hour, and apps that deal with humongous amounts of user data and real-time information that needs to be updated frequently are in high demand. Currently, one of the most popular frameworks for this task is Ionic Framework, which is undergoing a major makeover.

This book will get you started with Ionic and help you create Angular 2 components that interact with templates. From there, you'll work with Ionic components and find out how to share data efficiently between them. You'll discover how to make the best use of the REST API to handle back-end services and then move on to animating the application to make it look pretty.

You'll learn to add in a local push notification in order to test the app. You'll work with Cordova to support native functionalities on both iOS and Android. From there, you'll get to grips with using the default themes for each platform as well as customizing your own. Finally, you'll see how best to deploy your app to different platforms.

This book will solve all your Ionic-related issues through dedicated recipes that will help you get the best out of Ionic.

Table of Contents

Chapter 1: Creating Our First App with Ionic 2
Introduction
Setting up a development environment
Creating a HelloWorld app via the CLI
Creating a HelloWorld app via Ionic Creator
Viewing the app using your web browser
Viewing the app using the Ionic CLI
Viewing the app using Xcode for iOS
Viewing the app using Genymotion for Android
Viewing the app using Ionic View
Chapter 2: Adding Ionic 2 Components
Introduction
Adding multiple pages using tabs
Adding left and right menu navigation
Navigating multiple pages with state parameters
Chapter 3: Extending Ionic 2 with Angular 2 Building Blocks
Introduction
Creating a custom pizza ordering component
Creating a custom username input directive
Creating a custom pipe
Creating a shared service to provide data to multiple pages
Chapter 4: Validating Forms and Making HTTP Requests
Introduction
Creating a complex form with input validation
Retrieving data via a mocked API using a static JSON file
Integrating with Stripe for online payment
Chapter 5: Adding Animation
Introduction
Embedding full screen inline video as background
Creating a physics-based animation using Dynamics.js
Animating the slide component by binding a gesture to the animation state
Adding a background CSS animation to the login page
Chapter 6: User Authentication and Push Notification Using Ionic Cloud
Introduction
Registering and authenticating users using Ionic Cloud
Building an iOS app to receive push notifications
Building an Android app to receive push notifications
Chapter 7: Supporting Device Functionalities Using Ionic Native
Introduction
Taking a photo using the camera plugin
Sharing content using the social sharing plugin
Displaying a term of service using InAppBrowser
Creating a Taxi app using the Google Maps plugin and geocode support
Chapter 8: Theming the App
Introduction
Viewing and debugging themes for a specific platform
Customizing themes based on the platform
Chapter 9: Publishing the App for Different Platforms
Introduction
Adding versioning to future proof the app
Building and publishing an app for iOS
Building and publishing an app for Android

What You Will Learn

  • Create custom UIs using Angular 2 directives
  • Make the best use of REST APIs to submit forms
  • Create beautiful animations and graphics in the application
  • Embed videos and other media into the app
  • Access native device functionalities such as a camera and maps using ngCordova
  • Theme the application based on the various platform styles available
  • Publish your application to a variety of platforms
  • Leverage Angular 2 events and Ionic-specific events to communicate

Authors

Table of Contents

Chapter 1: Creating Our First App with Ionic 2
Introduction
Setting up a development environment
Creating a HelloWorld app via the CLI
Creating a HelloWorld app via Ionic Creator
Viewing the app using your web browser
Viewing the app using the Ionic CLI
Viewing the app using Xcode for iOS
Viewing the app using Genymotion for Android
Viewing the app using Ionic View
Chapter 2: Adding Ionic 2 Components
Introduction
Adding multiple pages using tabs
Adding left and right menu navigation
Navigating multiple pages with state parameters
Chapter 3: Extending Ionic 2 with Angular 2 Building Blocks
Introduction
Creating a custom pizza ordering component
Creating a custom username input directive
Creating a custom pipe
Creating a shared service to provide data to multiple pages
Chapter 4: Validating Forms and Making HTTP Requests
Introduction
Creating a complex form with input validation
Retrieving data via a mocked API using a static JSON file
Integrating with Stripe for online payment
Chapter 5: Adding Animation
Introduction
Embedding full screen inline video as background
Creating a physics-based animation using Dynamics.js
Animating the slide component by binding a gesture to the animation state
Adding a background CSS animation to the login page
Chapter 6: User Authentication and Push Notification Using Ionic Cloud
Introduction
Registering and authenticating users using Ionic Cloud
Building an iOS app to receive push notifications
Building an Android app to receive push notifications
Chapter 7: Supporting Device Functionalities Using Ionic Native
Introduction
Taking a photo using the camera plugin
Sharing content using the social sharing plugin
Displaying a term of service using InAppBrowser
Creating a Taxi app using the Google Maps plugin and geocode support
Chapter 8: Theming the App
Introduction
Viewing and debugging themes for a specific platform
Customizing themes based on the platform
Chapter 9: Publishing the App for Different Platforms
Introduction
Adding versioning to future proof the app
Building and publishing an app for iOS
Building and publishing an app for Android

Book Details

ISBN 139781786465962
Paperback320 pages
Read More
From 4 reviews

Read More Reviews

Recommended for You

Angular 2 By Example Book Cover
Angular 2 By Example
$ 35.99
$ 25.20
Learning Angular 2 Book Cover
Learning Angular 2
$ 31.99
$ 22.40
Mastering Web Application Development with AngularJS Book Cover
Mastering Web Application Development with AngularJS
$ 26.99
$ 5.40
AngularJS Web Application Development Blueprints Book Cover
AngularJS Web Application Development Blueprints
$ 29.99
$ 21.00
AngularJS UI Development Book Cover
AngularJS UI Development
$ 26.99
$ 18.90
Mastering Angular 2 Components Book Cover
Mastering Angular 2 Components
$ 35.99
$ 25.20