AngularJS Directives
暫譯: AngularJS 指令
Alex Vanston
- 出版商: Packt Publishing
- 出版日期: 2013-08-30
- 售價: $1,470
- 貴賓價: 9.5 折 $1,397
- 語言: 英文
- 頁數: 110
- 裝訂: Paperback
- ISBN: 1783280336
- ISBN-13: 9781783280339
-
相關分類:
Angular
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$880$695 -
$660$627 -
$1,710$1,625 -
$299$236 -
$620$490 -
$1,080$853 -
$680$537 -
$590$466 -
$1,225Practical Electronics for Inventors, 3/e (Paperback)
-
$2,000$1,900 -
$580$452 -
$980$833 -
$1,130$893 -
$480$408 -
$350$277 -
$450$356 -
$580$493 -
$940$700 -
$650$514 -
$1,880$1,786 -
$980$833 -
$520$411 -
$580$458 -
$250$198 -
$490$387
商品描述
Intermediate JavaScript developers could take a big step forward with this essential step-by-step tutorial to AngularJS directives. By the end you'll be building dynamic web applications with multiple modules.
Overview
- Learn how to build an AngularJS directive
- Create extendable modules for plug-and-play usability
- Build apps that react in real-time to changes in your data model
In Detail
AngularJS, propelled by Google, is quickly becoming one of the most popular JavaScript MVC frameworks available, working to invert the development paradigm and bring data-driven modularity to the web frontend. Directives serve as the core building blocks in AngularJS and enable you to create reusable models that mold around your data structures and breathe new life into the intersection of HTML and JavaScript.
AngularJS Directives serves as an in-depth study of some of the core features of AngularJS and provides you with all the knowledge you need to create fully dynamic web applications that respond in real-time to changes in data. You'll learn how to build directives from the ground up as well as some of the best practices for architecting them. By the end of this book, you'll be able to create a web application comprised of multiple modules all working together seamlessly to provide the best possible user experience.
AngularJS Directives starts by investigating the best practices for single-page application development overall before diving into how AngularJS directives fulfill those goals. At each step, you'll learn both the how and why of what we're building, and by the end, you'll not only know the facts necessary to create a directive, but you’ll also have the knowledge to decide how best to assemble it.
You'll also learn why it's best to build applications with the data-model as your foundation, how to craft new dynamic modules that communicate with each other, how to build widgets that can be embedded in third-party websites, and even how to create custom inputs so your users can intuitively interact with your data. In AngularJS Directives, you'll learn all the necessary tools to begin architecting your own directives and how to use them in the construction of a more dynamic Web.
What you will learn from this book
- Craft a dynamic module that reflects data changes in real-time
- Create an interconnected single-page application
- Build third-party widgets
- Consume existing content and integrate it into your directive
- Integrate AngularJS with jQuery plugins
- Communicate with other modules via messaging
- Unit test your AngularJS directive
- Set up and execute browser functionality tests with the Angular Scenario Runner
Approach
This book uses a practical, step-by-step approach, starting with how to build directives from the ground up before moving on to creating web applications comprised of multiple modules all working together to provide the best user experience possible.
Who this book is written for
This book is intended for intermediate JavaScript developers who are looking to enhance their understanding of single-page web application development with a focus on AngularJS and the JavaScript MVC frameworks.
It is expected that readers will understand basic JavaScript patterns and idioms and can recognize JSON formatted data.
商品描述(中文翻譯)
中階 JavaScript 開發者可以透過這本必備的逐步教學,對 AngularJS 指令邁出一大步。到最後,您將能夠建立具有多個模組的動態網頁應用程式。
概述
- 學習如何建立 AngularJS 指令
- 創建可擴展的模組以實現即插即用的可用性
- 構建能夠即時響應數據模型變更的應用程式
詳細內容
AngularJS 由 Google 推動,迅速成為最受歡迎的 JavaScript MVC 框架之一,旨在顛覆開發範式,並將數據驅動的模組化帶入網頁前端。指令作為 AngularJS 的核心構建塊,使您能夠創建可重用的模型,這些模型圍繞您的數據結構並為 HTML 和 JavaScript 的交集注入新生命。
《AngularJS 指令》深入研究了 AngularJS 的一些核心特性,並提供了創建完全動態的網頁應用程式所需的所有知識,這些應用程式能夠即時響應數據的變更。您將學習如何從零開始構建指令,以及一些最佳實踐來架構它們。到本書結束時,您將能夠創建一個由多個模組組成的網頁應用程式,這些模組無縫協作,以提供最佳的用戶體驗。
《AngularJS 指令》首先調查了單頁應用程式開發的最佳實踐,然後深入探討 AngularJS 指令如何實現這些目標。在每一步中,您將學習我們所構建的內容的如何與為何,並且到最後,您不僅會知道創建指令所需的事實,還會擁有決定如何最佳組裝它的知識。
您還將學習為什麼以數據模型作為基礎來構建應用程式是最佳選擇,如何製作能夠相互通信的新動態模組,如何構建可以嵌入第三方網站的小工具,甚至如何創建自定義輸入,以便用戶能夠直觀地與您的數據互動。在《AngularJS 指令》中,您將學習所有必要的工具,以開始架構自己的指令,以及如何在構建更動態的網頁時使用它們。
您將從本書中學到什麼
- 製作一個能夠即時反映數據變更的動態模組
- 創建一個互聯的單頁應用程式
- 構建第三方小工具
- 使用現有內容並將其整合到您的指令中
- 將 AngularJS 與 jQuery 插件整合
- 通過消息傳遞與其他模組進行通信
- 對您的 AngularJS 指令進行單元測試
- 使用 Angular Scenario Runner 設置並執行瀏覽器功能測試
方法
本書採用實用的逐步方法,從如何從零開始構建指令開始,然後轉向創建由多個模組組成的網頁應用程式,這些模組共同協作以提供最佳的用戶體驗。
本書的讀者對象
本書旨在為中階 JavaScript 開發者而寫,這些開發者希望增強對單頁網頁應用程式開發的理解,重點在於 AngularJS 和 JavaScript MVC 框架。
預期讀者將理解基本的 JavaScript 模式和慣用語,並能夠識別 JSON 格式的數據。