Ionic 2 Cookbook - Second Edition (Ionic 2 食譜 - 第二版)

Hoc Phan

買這商品的人也買了...

相關主題

商品描述

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

  1. Creating Our First App with Ionic 2
  2. Adding Ionic 2 Components
  3. Extending Ionic 2 with Angular 2 Building Blocks
  4. Validating Forms and Making HTTP Requests
  5. Adding Animation
  6. User Authentication and Push Notification Using Ionic Cloud
  7. Supporting Device Functionalities Using Ionic Native
  8. Theming the App
  9. Publishing the App for Different Platforms

商品描述(中文翻譯)

主要特點


  • 利用 Ionic 2 及其令人興奮的新功能創建尖端的即時應用程式

  • 通過簡單的示例解決問題並有效解決問題

  • 在每個步驟中提供示例以指導您的學習曲線

書籍描述

開發即時應用程式是當下的需求,處理龐大量的使用者數據和需要頻繁更新的即時信息的應用程式需求非常高。目前,最受歡迎的框架之一是 Ionic Framework,它正在進行重大改造。

本書將帶您入門 Ionic,並幫助您創建與模板交互的 Angular 2 組件。從那裡,您將使用 Ionic 組件,並了解如何在它們之間高效共享數據。您將發現如何最佳利用 REST API 處理後端服務,然後進一步對應用程式進行動畫處理,使其看起來更漂亮。

您將學習如何添加本地推送通知以測試應用程式。您將使用 Cordova 支持 iOS 和 Android 上的本機功能。從那裡,您將熟悉使用每個平台的默認主題以及自定義主題。最後,您將了解如何將應用程式部署到不同的平台。

本書將通過專門的示例解決您所有與 Ionic 相關的問題,幫助您充分利用 Ionic。

您將學到什麼


  • 使用 Angular 2 指令創建自定義 UI

  • 充分利用 REST API 提交表單

  • 在應用程式中創建美麗的動畫和圖形

  • 將視頻和其他媒體嵌入應用程式

  • 使用 ngCordova 訪問相機和地圖等本機設備功能

  • 根據各種平台風格主題設計應用程式

  • 將應用程式發布到各種平台

  • 利用 Angular 2 事件和 Ionic 專用事件進行通信

關於作者

Hoc Phan 是一位在前端開發、雲計算和大數據領域擁有豐富經驗的技術專家。他在 12 歲時就開始編程,使用的是 Intel 80286 電腦上的 Pascal 和 Assembly 語言。他在弄清楚重要概念之前就開始了實踐。Hoc 過去曾在許多 JavaScript 項目上工作,通過自學使用各種在線資源學習框架。他是最早測試 Ionic 作為設備本地語言 JavaScript 替代方案的開發人員之一。他撰寫了廣受好評的《Ionic Cookbook》(更多信息請訪問 https://www.amazon.com/Ionic-Cookbook-Hoc-Phan/dp/1785287974)。

他曾在初創公司和大公司工作。通過經常在本地聚會以及雲計算/大數據行業活動和會議上演講,他從其他專家那裡學到了很多。他擁有華盛頓大學迈克尔·G·福斯特商學院的工商管理碩士學位。

目錄


  1. 使用 Ionic 2 創建我們的第一個應用程式

  2. 添加 Ionic 2 組件

  3. 使用 Angular 2 構建塊擴展 Ionic 2

  4. 驗證表單並發送 HTTP 請求

  5. 添加動畫

  6. 使用 Ionic Cloud 進行用戶身份驗證和推送通知

  7. 使用 Ionic Native 支持設備功能

  8. 設計應用程式主題

  9. 將應用程式發布到不同平台