万本电子书0元读

万本电子书0元读

顶部广告

Learning Ionic - Second Edition电子书

售       价:¥

2人正在读 | 0人评论 9.8

作       者:Arvind Ravulavaru

出  版  社:Packt Publishing

出版时间:2017-04-28

字       数:31.1万

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

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

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
"Create real-time hybrid applications with the leader of HTML5 frameworks: Ionic Framework About This Book ?Step into the world of amazingly interactive and real-time app development using Ionic 2 ?Leverage the powerful Angular 2 along with Ionic to develop cutting edge apps ?Detailed code examples and explanations will help you get up and running with Ionic quickly and easily Who This Book Is For This book is for JavaScript developers with basic skills. No previous knowledge of Ionic is required for this book. What You Will Learn ?Understanding the world of the mobile hybrid architecture ?Scaffolding and working with Ionic templates ?Transforming a single page app to a multi-page app using Navigation Controller ?Integrating Ionic components, decorators, and services and rapidly developing complex applications ?Theming Ionic apps as well as customizing components using SCSS ?Working with Ionic Native to interface with device features, such as camera, notifications, and battery ?Building a production grade app using Ionic and Uber API to let users book a ride ?Migrating an Ionic 1 app to Ionic 2 or Ionic 3 ?Performing unit testing, end-to-end testing, and device testing on your apps ?Deploying Ionic apps to store and manage their subsequent releases In Detail Ionic makes it incredibly easy to build beautiful and interactive mobile apps using HTML5, SCSS, and Angular. Ionic also makes app development easier, faster, and more fun. This hands-on guide will help you understand the Ionic framework and how you can leverage it to create amazing real-time applications. We begin by covering the essential features of Angular 2, and then dive straight into how Ionic fits in today's world of hybrid app development and give you a better understanding of the mobile hybrid architecture along the way. Further on, you will learn how to work with Ionic decorators, services, and components, which will allow you to build complex apps using the Ionic framework. We will take a look at theming Ionic apps using the built-in SCSS setup. After that, we will explore Ionic Native, and you will learn how to integrate device-specific features, such as notifications, with the Ionic app. To complete our learning, we will be building a Rider app, using Ionic and Uber API, to book a ride. Next, you will learn how to unit test, end-to-end test, monkey test, and execute device testing on AWS Device farm. Then, we will take a look at migrating the existing Ionic 1 apps to Ionic 2 and deploy them to the App Store. The final chapter on Ionic 3 wraps up this book by explaining the new features of Ionic 3 at the time of writing this book. By the end of this book, you will be able to develop, deploy, and manage hybrid mobile applications built with Cordova, Ionic, and Angular. All the examples in this book are valid for both Ionic 2 and Ionic 3. Style and approach A step-by-step, practical approach to learning Ionic using the example of designing an online course app. Each topic is explained sequentially in the process of creating a course. This includes explanations of both basic and advanced features of Ionic. "
目录展开

Title Page

Copyright

Credits

About the Author

Acknowledgements

About the Reviewer

www.PacktPub.com

Customer Feedback

Dedication

Dedication2

Preface

What this book covers

What you need for this book

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

Angular - A Primer

What is new in Angular?

TypeScript primer

Variable typing

Defining types

Classes

Interface

Modules and imports

Angular

Components

Zones

Templates

Giphy app

Architecture

API

Angular CLI

Installing software

Text editors

Scaffolding an Angular 2 app

Building the Giphy app

Summary

Welcome to Ionic

Mobile Hybrid architecture

What is Apache Cordova?

What is Ionic 2?

Ionic 3

Software setup

Installing Node.js

Installing Git

Text editors

Installing TypeScript

Installing Cordova and Ionic CLI

The platform guide

Hello Ionic

The browser developer tools setup

Google Chrome

Mozilla Firefox

The Ionic project structure

The config.xml file

The src folder

Scaffolding the tabs template

Scaffolding the side menu template

Summary

Ionic Components and Navigation

Core components

The Ionic Grid system

Ionic components

Buttons

Lists

Cards

Ionic icons

Modals

Segment

Ionic navigation

Basic navigation

Ionic CLI Sub-Generator

Multi page navigation

Summary

Ionic Decorators and Services

Decorators

Ionic module

Component decorator

Navigation

Passing data between pages

Config service

Platform service

Storage service

Summary

Ionic and SCSS

What is Sass?

Ionic and SCSS

Page-level overrides

Platform-level overrides

Component-level overrides

Theme a sample component

Summary

Ionic Native

Setting up a platform-specific SDK

The Android setup

The iOS setup

Testing the setup

Testing for Android

Testing for iOS

Getting started with Cordova plugins

The Ionic plugin API

Add a plugin

Remove a plugin

List added plugins

Search plugins

Ionic Native

Ionic Native test drive

The Cordova whitelist plugin

Working with Cordova plugins using Ionic Native

Device

Toast

Dialogs

Local notifications

Geolocation

Summary

Building the Riderr App

App overview

Uber APIs

Authentication

Registering with Uber

API

Building Riderr

Scaffolding the app

Uber API service

Integration

Installing dependencies

Testing the app

Summary

Ionic 2 Migration Guide

Why migration?

Todo app - Ionic v1

Building the app

Migration plan

Summary

Testing an Ionic 2 App

Testing methodologies

Setting up the unit testing environment

Setting up the project

Writing unit tests

Executing unit tests

driftyco/ionic-unit-testing-example

E2E testing

Setting up the project

Writing E2E tests

Executing E2E tests

Code coverage

AWS Device Farm

Setting up AWS Device Farm

Setting up Todo app

Monkey testing the Todo app

Manually testing the Todo app on various devices

Automation testing

Summary

Releasing the Ionic App

Preparing the app for distribution

Setting up Icons & Splash screens

Updating the config.xml

The PhoneGap build service

Generating Installers using Cordova CLI

Android installer

iOS installer

Ionic package

Uploading a project to Ionic cloud

Generating the required keys

Summary

Ionic 3

Angular 4

Ionic 3

Ionic 3 updates

TypeScript update

Ionic Page decorator

Lazy Loading

Ionic 2 versus Ionic 3

Summary

Appendix

Ionic CLI

Ionic login

Ionic start

No Cordova

Initializing a project with SCSS support

Listing all Ionic templates

App ID

Ionic link

Ionic info

Ionic state

Ionic resources

Ionic server, emulate, and run

Ionic upload and share

Ionic help and docs

Ionic Creator

Ionic Cloud

Auth

IonicDB

Deploy

Push

Package

Summary

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

发表评论

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

买过这本书的人还买过

读了这本书的人还在读

回顶部