Ionic 2 Cookbook , 2nd Edition
- Length: 320 pages
- Edition: 2nd Revised edition
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2016-11-30
- ISBN-10: 1786465965
- ISBN-13: 9781786465962
- Sales Rank: #2217532 (See Top 100 Books)
Key Features
- Leverage Ionic 2 and its exciting new features to create cutting edge real-time apps
- Work through simple recipes to address your problems directly and solve them effectively
- Get examples at each step to guide you on your learning curve
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.
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
About the Author
Hoc Phan is a technologist with a wide range of experiences in frontend development, cloud computing, and big data. He started programming at the age of 12, with Pascal and Assembly, on the Intel 80286 computer. He learned to start practicing right away, even before figuring out the important concepts. Hoc worked on many JavaScript projects in the past by teaching himself the framework using various online sources. He was one of the first few developers who tested Ionic for its feasibility as a JavaScript replacement of the native language of a device. He wrote the Ionic Cookbook (for more information, visit https://www.amazon.com/Ionic-Cookbook-Hoc-Phan/dp/1785287974), which was very well received.
He has worked for both start-ups and large companies. By frequently speaking at local meetups as well as cloud computing/big data industry events and conferences, he learns from other experts. He holds an MBA degree from the University of Washington’s Michael G. Foster School of Business.
Table of Contents
Chapter 1. Creating Our First App with Ionic 2
Chapter 2. Adding Ionic 2 Components
Chapter 3. Extending Ionic 2 with Angular 2 Building Blocks
Chapter 4. Validating Forms and Making HTTP Requests
Chapter 5. Adding Animation
Chapter 6. User Authentication and Push Notification Using Ionic Cloud
Chapter 7. Supporting Device Functionalities Using Ionic Native
Chapter 8. Theming the App
Chapter 9. Publishing the App for Different Platforms