▶Book Description
Ionic is the preferred choice for JavaScript developers to develop real-time hybrid applications. This book will get you started with Ionic 3.9 and help you create Angular 5 components that interact with templates.
You will 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 your application to make it look pretty. You then learn to add in a local push notification in order to test the app. Then 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 and customizing your own. We then take you through the advanced Ionic features like lazy loading, deep linking, localizing ionic apps etc. 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
⦁ Help readers to jump-start Ionic apps
⦁ Explore essential features of Ionic with examples
⦁ Learn how to use native device functionalities
⦁ Make the best use of the REST API to handle back-end services
⦁ Work with Cordova to support native functionalities on both iOS and Android.
⦁ Master advanced topics in app development such as deep linking and lazy loading
▶Key Features
⦁ Leverage Ionic 3.9 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 with Angular
▶Who This Book Is For
Ionic Cookbook is for front-end developers who want to create cross-platform mobile apps. This book will help you become a Mobile App developer who is comfortable enough to take on difficult apps by teaching readers about Angular, Cordova, and Sass in depth. The intention of this book is to teach Ionic by solving real-world problems like authentication, push notifications, using the camera to name a few. Nevertheless, if you are new to frontend development, you will still be able to follow the book.
▶What this book covers
⦁ Chapter 1, Creating Our First App with Ionic, introduces the Ionic framework with instructions on how to set up the development environment and quickly create and run your first app.
⦁ Chapter 2, Adding Ionic Components, walks you through some examples of how to manage pages, states, and the overall navigation within the app.
⦁ Chapter 3, Extending Ionic with Angular Building Blocks, takes a deep dive into the Angular components, directives, and the customization of pipes. You will learn how to leverage the Ionic module architecture to create shared services.
⦁ Chapter 4, Validating Forms and Making HTTP Requests, explains how to create a complex form with input validation, retrieve data via REST API calls, and integrate with Stripe for online payment.
⦁ Chapter 5, Adding Animation, provides instructions on how to embed a video as background, create a physics-based CSS animation, and bind gestures to the animation state.
⦁ Chapter 6, User Authentication and Push Notifications, takes a deep dive into registering and authenticating users using Auth0 and sending and receiving push notifications using OneSignal.
⦁ Chapter 7, Supporting Device Functionalities Using Ionic Native, explains how to use Ionic Native to access native device functionalities, such as camera, social sharing, InAppBrowser, and map.
⦁ Chapter 8, Theming the App, focuses on how to customize the app for different platforms using Sass variables.
⦁ Chapter 9, Advanced Topics, teaches how to use advanced ionic features such as lazy loading, deep linking, and localizing ionic apps.
⦁ Chapter 10, Publishing the App for Different Platforms, looks into the process of performing the final steps of getting the app published.