Dart Essentials(读书笔记)——这本书非常大篇幅都在谈AngularDart,Zones概念没谈到...

Dart Essentials

文件夹

Getting Started

Practical Dart

  1. 为何DocumentFragment须要clone后再加进文档里去?(p162的样例没有)
  2. Dart 1.9+:async + await
  3. element.onClick.listen( (evt){...} ); //<--- Stream对象?
  4. `part`
  5. num, int, double

The Power of HTML5 with Dart

  1. use JS:JsFunction.apply() JsObject.callMethod()
    _jQuery = context['jQuery'];
  2. Dart Summit 2015? dart2js
  3. Completer?.complete(items); => .future()
  4. import 'dart:indexd_db' as idb; //可定义索引?有点像MongoDB
  5. event.preventDefault(); event.stopPropagation();
  6. WebAudio
    1. BiquadFilterNode?=> 分析器?
  7. typed_data
    1. SIMD(vector_math):Int32x4、Float32x4
  8. WebGL
    1. three.dart, StageXL*, Box2d & play_phaser
  9. Isolate在browser上用Web Worker实现?

Developing a Mobile App with Dart

  1. 300ms tap延迟:用meta viewport禁止
  2. transform-style: preserve-3d;
  3. *3D书架 with DeviceOrientation事件(.alpha/.beta/.gamma)
  4. GPS不精确:Kalman滤波?

Web Components with polymer.dart

  1. Web Components:Shadow DOM + Custom Elements + imports(M36+) + templates
  2. 代码演示样例:
    var tpl = linkElement.important.querySelector('#id');
    Node n = tpl.content.clone(true);
    ... targetDiv.createShadowRoot().append(n);
  3. document.registerElement('my-greeting', MyGreetingElement); <-- factory MyGreetingElement() => new Element.tag('my-greeting');
  4. MutationObserver*
  5. main() async { (await initPolymer()).run( (){...} );
  6. *一路数据绑定
    @customTag('one-way-book')
    class OneWayBookElement extends PolymerElement { ...
  7. 定制属性:if repeat
  8. *二路数据绑定(Angular的简单实现?)
    1. <core-list> 无限列表

AngularDart

  1. 3种bind:NgOneWay NgTwoWay NgAttr
  2. Angular 2.0:使用TypeScript的扩展AtScript辨析的?支持编译到Dart?
  3. 性能话题
    1. digest loop:对model的每一个变化?change会‘传播’...
    2. 不要嵌套ng-repeat,导致scopes泛滥
    3. <li ng-repeat="t in tasks | filter:term | orderBy:p track by t.id">
    4. dont't excess Formatter ...

Server-side apps with Dart

  1. main()多个一个args參数而已

Testing and Profiling

  1. 操作符重载?operator ==(Vector v) => ...
  2. Mixins(略)
  3. 測试AngularDart:Protractor/WebDriverJS(没有界面的浏览器)

Writing Native Extensions for the Standalone Dart VM

  1. 略 

转载于:https://www.cnblogs.com/llguanli/p/6797814.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值