Book Image

Getting Started with Ionic

By : Rahat Khanna
Book Image

Getting Started with Ionic

By: Rahat Khanna

Overview of this book

Hybrid Apps are a promising choice in mobile app development to achieve cost effectiveness and rapid development. However, they were not preferred over native apps until few years back due to a poor performance and bad user experience, but everything has changed with the release of Ionic. It has evolved as the most popular choice for Hybrid Mobile App development as it tends to match the native experience and provides robust components/tools to build apps. Getting Started with Ionic equips any web developer with the basic knowledge needed to use modern web technologies to build amazing hybrid mobile apps using Ionic. This fast-paced, practical book explains all the important concepts of AngularJS and Cordova Framework required to develop apps, then gives you a brief introduction to hybrid mobile applications. It will guide you through setting up the environment to develop mobile apps, and through the multiple options and features available in Ionic so you can use them in your mobile apps. Features such as the Side Menu, Tabs, Touch Interactions, and native features such as Bar Code, Camera, and Geolocations are all covered.. Finally, we’ll show you how to use Cordova plugins and publish your apps.
Table of Contents (17 chapters)
Getting Started with Ionic
Credits
Foreword
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

E-commerce sample app – BookStore


From the subsequent sections, we will be creating a sample app while learning about different Ionic components and features. Using this approach, you will be able to develop a complete app at the end of this chapter. The code samples used in the following chapters will be available online.

E-commerce is a hot category for Mobile Apps these days, so we will be creating an e-commerce app for books and will call it BookStore. The features of this app and its basic architecture is discussed here.

Features

The e-commerce sample app BookStore will be a basic shopping and book management app that has a list of books with the ability to buy or rent them. The proposed features we intend to cover in the code samples are as follows:

  • List of book categories

  • Book listings under categories and popular/featured listings

  • User account section:

    • Login/register

    • Profile

    • Purchased books/rented books

    • Maps

  • Shopping section:

    • Add to cart

    • Edit cart

    • Checkout

Architecture and design

We will be using...