Angular Services

Sohail Salehi

  • 出版商: Packt Publishing
  • 出版日期: 2017-02-24
  • 定價: $1,330
  • 售價: 6.0$798
  • 語言: 英文
  • 頁數: 294
  • 裝訂: Paperback
  • ISBN: 1785882619
  • ISBN-13: 9781785882616
  • 相關分類: Angular
  • 立即出貨 (庫存=1)

商品描述

Design state-of-the-art applications with customized Angular services

About This Book

  • Leverage the latest Angular and ES2016 features to create services
  • Integrate third-party libraries effectively and extend your app s functionalities
  • Implement a real-world case study from scratch and level up your Angular skills

Who This Book Is For

If you are a JavaScript developer who is moving on to Angular and have some experience in developing applications, then this book is for you. You need not have any knowledge of on Angular or its services.

What You Will Learn

  • Explore various features and topics involved in modules, services, and dependency injection
  • Sketch and create wire-frames for your project
  • Use controllers to collect data and populate them into NG UIs
  • Create a controller and the required directives to build a tree data structure
  • Implement a logic to decide the relevancy of any given evidence
  • Create a partially-AI service
  • Build controllers to set the template for the report
  • Collect, investigate, perform decision making, and generate reports in one the big automated process

In Detail

A primary concern with modern day applications is that they need to be dynamic, and for that, data access from the server side, data authentication, and security are very important. Angular leverages its services to create such state-of-the-art dynamic applications.

This book will help you create and design customized services, integrate them into your applications, import third-party plugins, and make your apps perform better and faster. This book starts with a basic rundown on how you can create your own Angular development environment compatible with v2 and v4. You will then use Bootstrap and Angular UI components to create pages. You will also understand how to use controllers to collect data and populate them into NG UIs.

Later, you will then create a rating service to evaluate entries and assign a score to them. Next, you will create "cron jobs" in NG. We will then create a crawler service to find all relevant resources regarding a selected headline and generate reports on it. Finally, you will create a service to manage accuracy and provide feedback about troubled areas in the app created.

This book is up to date for the 2.4 release and is compatible with the 4.0 release as well, and it does not have any code based on the beta or release candidates.

Style and approach

This step-by-step tutorial starts by showing how you can create your first Angular services, then customizing it to suit your needs, and finally implementing some real-world case studies on your own to make you confident designing your own application using effective services from scratch.

商品描述(中文翻譯)

設計最先進的應用程式,使用自訂的 Angular 服務

關於本書

- 利用最新的 Angular 和 ES2016 功能來建立服務
- 有效整合第三方庫並擴展應用程式的功能
- 從頭開始實現一個真實案例,提升你的 Angular 技能

本書適合對 JavaScript 有一定開發經驗並轉向 Angular 的開發者。你不需要對 Angular 或其服務有任何了解。

你將學到什麼

- 探索模組、服務和依賴注入中涉及的各種功能和主題
- 為你的項目草擬和創建線框圖
- 使用控制器收集數據並將其填充到 NG UI 中
- 創建控制器和所需的指令來構建樹狀數據結構
- 實現判斷任何給定證據的相關性的邏輯
- 創建部分 AI 服務
- 建立控制器來設置報告的模板
- 在一個大型自動化過程中收集、調查、做出決策並生成報告

詳細內容

現代應用程式的一個主要關注點是它們需要是動態的,因此從伺服器端訪問數據、數據驗證和安全性非常重要。Angular 利用其服務來創建這樣的最先進動態應用程式。

本書將幫助你創建和設計自訂的服務,將它們整合到你的應用程式中,導入第三方插件,使你的應用程式更高效、更快速。本書首先介紹如何建立與 v2 和 v4 兼容的 Angular 開發環境。然後,你將使用 Bootstrap 和 Angular UI 元件來創建頁面。你還將了解如何使用控制器收集數據並將其填充到 NG UI 中。

接下來,你將創建一個評分服務來評估條目並為其分配分數。然後,你將在 NG 中創建「cron jobs」。然後,我們將創建一個爬蟲服務,以找到與所選標題相關的所有資源並生成報告。最後,你將創建一個管理準確性並提供有關應用程式中問題區域的反饋的服務。

本書基於 2.4 版本,也與 4.0 版本兼容,並且沒有基於 beta 或發行候選版本的任何代碼。

風格和方法

這本逐步教程首先展示如何創建你的第一個 Angular 服務,然後根據你的需求進行自定義,最後通過一些真實案例研究來幫助你自信地從頭開始設計自己的應用程式,並使用有效的服務。