万本电子书0元读

万本电子书0元读

顶部广告

Ionic 2 Cookbook - Second Edition电子书

售       价:¥

11人正在读 | 0人评论 9.8

作       者:Hoc Phan

出  版  社:Packt Publishing

出版时间:2016-11-01

字       数:141.9万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Over 30 life-changing recipes to help you create cutting edge, hybrid apps with Ionic 2 About This Book 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 Who This Book Is For This book is for front end JavaScript developers who know the basics of JavaScript programming. No prior knowledge of Ionic is required to get the most of this book. 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 In Detail 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. Style and approach This book is a recipe-based solution to all your Ionic 2 related problems and will help you create cutting edge real-time apps with ease through simple-to-understand step-by-step recipes.
目录展开

Ionic 2 Cookbook Second Edition

Table of Contents

Ionic 2 Cookbook Second Edition

Credits

About the Author

About the Reviewers

www.PacktPub.com

eBooks, discount offers, and more

Why Subscribe?

Preface

What this book covers

What you need for this book

Who this book is for

Sections

Getting ready

How to do it…

How it works…

There's more…

See also

Conventions

Reader feedback

Customer support

Downloading the example code

Downloading the color images of this book

Errata

Piracy

Questions

1. Creating Our First App with Ionic 2

Introduction

Setting up a development environment

Getting ready

How to do it…

There's More…

Creating a HelloWorld app via the CLI

How to do it…

How it works…

Creating a HelloWorld app via Ionic Creator

Getting ready

How to do it…

There's More…

Viewing the app using your web browser

Getting ready

How to do it…

How it works…

Viewing the app using the Ionic CLI

Getting Ready

How to do it…

Viewing the app using Xcode for iOS

How to do it…

There's more…

Viewing the app using Genymotion for Android

How to do it…

Viewing the app using Ionic View

How to do it…

There's more…

2. Adding Ionic 2 Components

Introduction

Adding multiple pages using tabs

Getting ready

How to do it…

How it works…

See also

Adding left and right menu navigation

Getting ready

How to do it…

How it works…

See also

Navigating multiple pages with state parameters

Getting ready

How to do it…

How it works…

See also

3. Extending Ionic 2 with Angular 2 Building Blocks

Introduction

Creating a custom pizza ordering component

Getting ready

How to do it...

How it works…

See also

Creating a custom username input directive

Getting ready

How to do it...

How it works…

See also

Creating a custom pipe

Getting ready

How to do it...

How it works…

See also

Creating a shared service to provide data to multiple pages

Getting ready

How to do it...

How it works…

See also

4. Validating Forms and Making HTTP Requests

Introduction

Creating a complex form with input validation

Getting ready

How to do it…

How it works…

See also

Retrieving data via a mocked API using a static JSON file

Getting ready

How to do it...

How it works…

See also

Integrating with Stripe for online payment

Getting ready

How to do it...

How it works…

See also

5. Adding Animation

Introduction

Embedding full screen inline video as background

Getting ready

How to do it...

How it works…

Creating a physics-based animation using Dynamics.js

Getting ready

How to do it...

How it works…

See also

Animating the slide component by binding a gesture to the animation state

Getting ready

How to do it...

How it works…

See also

Adding a background CSS animation to the login page

Getting ready

How to do it...

How it works…

See also

6. User Authentication and Push Notification Using Ionic Cloud

Introduction

Registering and authenticating users using Ionic Cloud

Getting ready

How to do it...

How it works...

Building an iOS app to receive push notifications

Getting ready

How to do it...

How it works...

There's more...

Building an Android app to receive push notifications

Getting ready

How to do it...

How it works...

There's more...

7. Supporting Device Functionalities Using Ionic Native

Introduction

Taking a photo using the camera plugin

Getting ready

How to do it...

How it works…

There's more…

Sharing content using the social sharing plugin

Getting ready

How to do it…

How it works…

There's more…

Displaying a term of service using InAppBrowser

Getting ready

How to do it...

How it works…

There's more…

Creating a Taxi app using the Google Maps plugin and geocode support

Getting ready

How to do it...

How it works…

There's more…

8. Theming the App

Introduction

Viewing and debugging themes for a specific platform

Getting ready

How to do it…

How it works…

There's more…

Customizing themes based on the platform

Getting ready

How to do it…

How it works…

There's more…

9. Publishing the App for Different Platforms

Introduction

Adding versioning to future proof the app

Getting ready

How to do it...

How it works…

Building and publishing an app for iOS

Getting ready

How to do it…

How it works…

There's more…

Building and publishing an app for Android

Getting ready

How to do it…

How it works…

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部