Book Image

DART Essentials

Book Image

DART Essentials

Overview of this book

Table of Contents (16 chapters)
Dart Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Index

A

  • Access-Control-Allow-Origin (ACAO) headers / Fetching the JSONP data
  • Angular 2.0
    • about / What is Angular 2.0?
  • Angular built-in ng-* directives / To-do list with AngularDart
  • AngularDart
    • installing / Installing AngularDart
    • component / To-do list with AngularDart
    • view / To-do list with AngularDart
    • model / To-do list with AngularDart
    • performance tips / Performance tips for AngularDart
    • URL, for documentation / Performance tips for AngularDart
  • AngularDart apps
    • testing / Testing AngularDart apps
  • args package
    • CLI arguments, parsing with / Parsing CLI arguments with the args package

B

  • bindings, for exiv2 library
    • writing / Writing bindings for the exiv2 library
  • book component, AngularDart
    • creating / A book component in AngularDart
  • Box2D
    • about / Box2D and play_phaser
    • URL / Box2D and play_phaser
  • built-in types
    • about / Built-in types
    • numbers / Built-in types
    • strings / Built-in types
    • booleans / Built-in types
    • lists / Built-in types
    • maps / Built-in types

C

  • @Component, options
    • selector / To-do list with AngularDart
    • template or templateUrl / To-do list with AngularDart
    • cssUrl / To-do list with AngularDart
    • useShadowDom / To-do list with AngularDart
    • exportExpressions / To-do list with AngularDart
  • callback hell / The Future-Based API
  • chat app, writing with WebSockets server
    • about / Writing a chat app with the WebSockets server
    • client-side WebSockets / Writing a chat app with the WebSockets server, Client-side WebSockets
    • Unix signals, listening to / Listening to Unix signals and basic I/O operations
    • basic I/O operations, listening to / Listening to Unix signals and basic I/O operations
    • server, running as background process / Running the server as a background process
    • MySQL, using as storage / Using MySQL as a storage
  • Chrome 36+ / The Web Components polyfill for older browsers
  • Chromium
    • URL / Music visualizer
  • CLI arguments
    • parsing, with args package / Parsing CLI arguments with the args package
  • creating, HTML5 DeviceOrientation events
    • 3D bookshelf, creating with / A 3D bookshelf with DeviceOrientation events
  • cross-origin resource sharing (CORS)
    • reference / Fetching the JSONP data
  • CSS3 statements
    • transform / Basics of CSS3 transformations
    • transform-style / Basics of CSS3 transformations
    • perspective / Basics of CSS3 transformations
    • transform-origin / Basics of CSS3 transformations
  • CSS3 transformation, versus WebGL
    • reference link / A 3D bookshelf with DeviceOrientation events
  • CSS3 transformations
    • basics / Basics of CSS3 transformations
    • axes / Axes
    • Hello world, in 3D / Hello world in 3D
    • 3D transformed elements, nesting / Nesting 3D transformed elements
  • custom element, Polymer.dart
    • HTML template / Minimalistic custom element in polymer.dart
    • CSS styles (optional) / Minimalistic custom element in polymer.dart
    • Dart script (optional) / Minimalistic custom element in polymer.dart
  • Custom Elements
    • about / Custom Elements
    • using / Using Custom Elements

D

  • 2D canvas
    • drawing into, onTouch events used / Drawing into 2D canvas using onTouch events
  • 3D bookshelf
    • creating, HTML5 DeviceOrientation events used / A 3D bookshelf with DeviceOrientation events
  • Dart
    • about / What is Dart?
    • features / Why choose Dart?
    • environments / Why choose Dart?
    • URL / Installing the Dart SDK
  • dart*typed_data package
    • about / Music visualizer
  • dart*web_audio package
    • about / Music visualizer
  • Dart, using as full-stack language
    • about / Using Dart as a full-stack language
    • Apache, using as proxy / Using Apache as a proxy for the Dart HTTP server
    • nginx, using as proxy / Using nginx as a proxy for the Dart HTTP server
    • Dart, executing as CGI / Executing Dart as CGI and Apache mod_dart
    • Dart, executing as Apache mod_dart / Executing Dart as CGI and Apache mod_dart
  • Dart and JavaScript, combining
    • about / Combining Dart and JavaScript
    • Dart, using in JavaScript / Using Dart in JavaScript
    • JavaScript, using in Dart / Using JavaScript in Dart
  • Dart app
    • greetings, writing / Writing a greeting for all Dartisans
    • pubspec.yaml / pubspec.yaml
    • index.html / index.html
    • main() function / The main() function
  • Dart isolates
    • URL / Multithreading with Dart Isolates
  • Dartium
    • about / Why choose Dart?
  • Dart language tour
    • about / The Dart language tour
    • static checker / The static checker
    • variables / Variables
    • built-in types / Built-in types
    • functions / Functions and parameters
    • parameters / Functions and parameters
    • class properties / Class properties
    • class inheritance / Class inheritance and abstract classes
    • abstract classes / Class inheritance and abstract classes
    • constructors / Constructors
    • exceptions / Exceptions
  • Dart MythBusters
    • about / Dart MythBusters
  • Dart packages
    • URL / Dart packages
  • Dart SDK
    • installing / Installing the Dart SDK
    • Dart Editor / Dart Editor
    • code, running in Dartium / Running and debugging code in Dartium
    • code, debugging in Dartium / Running and debugging code in Dartium
    • Dart, compiling to JavaScript / Compiling Dart to JavaScript
  • Dart team
    • URL / The Dart language tour
  • Dart VM
    • about / Why choose Dart?
  • Dart wrapper, for Google Maps API
    • URL / Position and distance tracker with the GeoLocation API and Google Maps API
  • data bindings
    • about / Data bindings
    • NgOneWay / Data bindings
    • NgTwoWay / Data bindings
    • NgAttr / Data bindings
  • dependency injection pattern / To-do list with AngularDart
  • directory structure recommendations
    • URL / Minimalistic custom element in polymer.dart
  • documentation search app
    • about / The documentation search app
    • Future-based API / The Future-Based API
    • async keyword / Async
    • await keyword / Await
    • Ajax requests, creating in Dart / Creating Ajax requests in Dart
    • Dart packages / Dart packages
    • fuzzy search algorithm, writing / Writing the fuzzy search algorithm
    • HTML elements, handling / Handling HTML elements
  • document fragments / Optimizing DOM tree manipulations
  • DOM tree manipulations
    • optimizing / Optimizing DOM tree manipulations
  • double dot operator / Handling HTML elements

E

  • exceptions
    • about / Exceptions
    • static types, using / Using static types
  • exiv2 library
    • binding, writing for / Writing bindings for the exiv2 library

F

  • Factory design pattern / Using Custom Elements
  • formatters
    • about / Finishing TodoListComponent
    • filter / Finishing TodoListComponent
    • orderBy / Finishing TodoListComponent
  • functions
    • about / Functions and parameters

G

  • generative constructors
    • about / Constructors
  • GeoLocation API
    • using / Position and distance tracker with the GeoLocation API and Google Maps API
  • Google Cloud Platform
    • about / Why choose Dart?
  • Google Maps API
    • using / Position and distance tracker with the GeoLocation API and Google Maps API

H

  • handleMessage()method
    • about / Writing a chat app with the WebSockets server
  • handleWebSocket() method
    • about / Writing a chat app with the WebSockets server
  • HTML Import
    • implementing / Basic HTML Import
  • HTML Imports
    • about / HTML Imports
  • HTTP server
    • writing, with route package / Writing an HTTP server with the route package

I

  • idb.KeyRange item / Indices
  • IndexedDB
    • about / IndexedDB
    • reference / IndexedDB
    • restrictions / IndexedDB
    • initializing / Initializing IndexedDB
    • stored records, fetching / Fetching stored records
    • records, saving / Saving records
    • records, deleting / Deleting records
    • indices / Indices
    • application, polishing / Polishing the application
  • Isolates
    • about / Isolates and Web Workers

J

  • JSONP data, Reddit Read Later app
    • fetching / Fetching the JSONP data

K

  • Kalman filter / Position and distance tracker with the GeoLocation API and Google Maps API
  • Karma
    • about / Testing AngularDart apps
    • URL / Testing AngularDart apps

L

  • life cycle methods, polymer.dart
    • CustomElement.created() / One-way data binding
    • attached() / One-way data binding
    • detached() / One-way data binding
    • attributeChanged() / One-way data binding
  • LocalStorage
    • versus IndexedDB / LocalStorage versus IndexedDB

M

  • --max or -m argument / Unit testing
  • 300 ms tap delay
    • about / 300 ms tap delay
  • matchers
    • isEmpty / Unit testing
    • throws / Unit testing
    • equals / Unit testing
    • completes / Unit testing
    • same / Unit testing
    • isInstanceOf<T> / Unit testing
    • returnsNormally / Unit testing
    • hasLength / Unit testing
    • contains / Unit testing
    • isIn / Unit testing
    • equalsIgnoringCase / Unit testing
    • orderedEquals / Unit testing
    • unorderedEquals / Unit testing
    • reference link / Unit testing
  • mixins
    • about / Mixins
    • reference link / Mixins
  • Music visualizer app
    • about / Music visualizer
    • creating / Music visualizer

N

  • named constructors
    • about / Constructors
  • named parameters
    • defining / Functions and parameters
  • native extensions, for standalone Dart VM
    • structure / The structure of native extensions
    • <extension_name>_Init() function / The structure of native extensions
    • ResolveName() function / The structure of native extensions
    • URL / The structure of native extensions
    • synchronous extension / The structure of native extensions
    • minimal native extension, writing / Writing a minimal native extension
    • distributing / Distributing native extensions
  • native fuzzy search implementation
    • writing / Writing a native fuzzy search implementation
    • C/C++ code, optimizing / Optimizing our C/C++ code
    • Dart isolates, multithreading with / Multithreading with Dart Isolates
  • ng-if / Finishing TodoListComponent
  • ng-repeat directive
    • about / Finishing TodoListComponent
  • ng-show / Finishing TodoListComponent

O

  • Observatory tool
    • profiling / Profiling with the Observatory tool
  • Observe library
    • URL / Using Custom Elements
  • one-way data binding
    • about / One-way data binding
    • {{coverImage}} / One-way data binding
    • {{rotateYString}} / One-way data binding
    • on-click / One-way data binding
    • loops and conditions, in templates / Loops and conditions in templates
  • onTouch events
    • used, for drawing into 2D canvas / Drawing into 2D canvas using onTouch events
  • operator overloading
    • about / Operator overloading
    • reference link / Operator overloading

P

  • <polymer-element>
    • about / Minimalistic custom element in polymer.dart
  • parameters
    • about / Functions and parameters
  • performance tips, AngularDart
    • about / Performance tips for AngularDart
    • nesting ng-repeat directives, avoiding / Avoiding nesting ng-repeat directives
    • track by, using for ng-repeat / Using track by for ng-repeat
    • excess formatter usage, avoiding / Avoiding excess formatter usage
    • DOM tree modification, avoiding / Not everything needs to be in Angular
  • Photon
    • URL / A 3D bookshelf with DeviceOrientation events
    • about / A 3D bookshelf with DeviceOrientation events
  • play_phaser
    • about / Box2D and play_phaser
    • URL / Box2D and play_phaser
  • polymer.dart
    • about / Polymer.dart
    • minimalistic custom element / Minimalistic custom element in polymer.dart
    • life cycle methods / One-way data binding
  • Polymer tutorials
    • URL / What's next?
  • position and distance tracker
    • with GeoLocation API and Google Maps AP / Position and distance tracker with the GeoLocation API and Google Maps API
  • process ID (PID) / Running the server as a background process
  • properties, ng-repeat directive
    • $index / A book component in AngularDart
    • $even / A book component in AngularDart
    • $odd / A book component in AngularDart
    • $first / A book component in AngularDart
    • $last / A book component in AngularDart
    • $middle / A book component in AngularDart
  • Protractor
    • about / Testing AngularDart apps
  • pubspec.yaml files
    • URL / Dart packages

R

  • Reddit API
    • URL / Fetching the JSONP data
    • about / Fetching the JSONP data
  • Reddit Read Later app
    • creating / Creating the Reddit Read Later app
    • JSONP data, fetching / Fetching the JSONP data
    • IndexedDB / IndexedDB
    • LocalStorage, versus IndexedDB / LocalStorage versus IndexedDB
  • restrictions
    • URL / Using Custom Elements

S

  • --silent or -s argument / Unit testing
  • <shelf> element / A book component in AngularDart
  • scope, Angular
    • about / Scope
  • Shadow DOM
    • about / Shadow DOM
    • using / Using Shadow DOM
  • Single instruction, multiple data (SIMD)
    • about / SIMD
  • SQL injection
    • reference / Using MySQL as a storage
  • StageXL
    • about / StageXL
    • URL / StageXL
  • standalone Dart VM
    • about / The standalone Dart VM
    • URL / The standalone Dart VM
  • standardized environment
    • URL / Writing a native fuzzy search implementation
  • static checker
    • about / The static checker
  • strict aliasing / Optimizing our C/C++ code
  • Sublime Text editor / The documentation search app
  • synonyms of Dart
    • URL / Dart MythBusters

T

  • Template
    • about / Template
  • testing strategies, for web apps
    • about / Testing strategies for web apps
    • unit testing / Unit testing
  • three.dart
    • about / three.dart
    • URL / three.dart
  • to-do list application
    • creating, AngularDart used / To-do list with AngularDart
    • scope / Scope
    • extending / Extending the to-do list
    • model / Model
    • view / View
    • TodoListComponent / Component
    • TodoListComponent, finishing / Finishing TodoListComponent
  • Tridiv
    • URL / A 3D bookshelf with DeviceOrientation events
  • two-way data binding
    • about / Two-way data binding
  • typed lists, for fast numeric computing
    • about / Typed lists for fast numeric computing

U

  • unit testing
    • about / Unit testing
    • benefits / Unit testing
    • asynchronous tests / Asynchronous tests
    • test groups / Test groups
    • running / Running all tests
  • unit tests
    • about / Testing AngularDart apps

V

  • variables
    • about / Variables
    • final variable / Variables
    • const variable / Variables
  • vector_math package
    • about / vector_math

W

  • web apps
    • testing strategies / Testing strategies for web apps
  • Web Components
    • about / Web Components
    • Shadow DOM / Shadow DOM
    • Custom Elements / Custom Elements
    • Template / Template
    • HTML Imports / HTML Imports
    • URL / HTML Imports
    • polyfill, for older browsers / The Web Components polyfill for older browsers
  • WebGL
    • about / WebGL
    • three.dart / three.dart
  • WebSockets
    • about / Writing a chat app with the WebSockets server
  • WebSockets server
    • chat app, writing with / Writing a chat app with the WebSockets server
  • WebSQL
    • about / What about WebSQL?
  • Web Workers
    • about / Isolates and Web Workers

Z

  • Zone-related API
    • about / Minimalistic custom element in polymer.dart
    • URL / Minimalistic custom element in polymer.dart