Modern JavaScript Applications
- 微服务框架:seneca,语法有点怪异
- 配合express使用?
- WebRTC PeerJs,好像也不昨的,维护不活跃
- WebSocket Socket.IO:略
- FRP / bacon.js
- RxJS?
- Bootstrap 4新特性
- <script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.2.0/js/tether.min.js"></script>
- React
- 使用React和Flux构建一个RSS阅读器(UI有点太原始了,纯客户端的)
- Dispatcher:register(callback) unregister(id) waitFor(array) dispatch(action) isDispatching()
- var AppDispatcher = new Flux.Dispatcher();
- MicroEvent.js http://notes.jetienne.com/2011/03/22/microeventjs.html
- https://github.com/reactjs/react-router
- <Router history={BrowserHistory}>
- <Route path="/" component={FeedList}></Route>
- ReactDOM.render(Routes, document.getElementById("appContainer"));
- <Router history={BrowserHistory}>
- var parser = require("xml2json"); !
- Dispatcher:register(callback) unregister(id) waitFor(array) dispatch(action) isDispatching()
- Angular 2新特性
- 服务 + 视图
- one-way data binding?
- web components:HTML imports, shadow DOM, templates, and custom elements(定制的xxx-元素名前缀)
- var Cards = ng.core.Component({
-
- selector: "cards",
- viewProviders: [CardsService],
- directives: [Card],
- templateUrl: "componentTemplates/cards-template.html"
-
}).Class({
- constructor: [CardsService, function(cardsService){
-
- ...
- ng.platform.browser.bootstrap(App);
- <card *ngFor="#card of cards" title="模板:Card.title" src="模板:Card.src" desc="模板:Card.desc"></card>
- * ng.core.ViewEncapsulation.Native/Emulated
- ?假设所有事件都是异步的?使用zone.js监控浏览器事件
- * 理解view children 与 content children ...
- ...
- 可选的2-way data binding [()]
- Directives:属性/结构(控制流)
- Outputs:允许组件输出定制事件
- Understanding providers
- 使用AngularJS 2构建一个搜索引擎模板
- Securing and Scaling Node.JS 应用
- Helmet:添加安全相关的头部
- Strict-Transport-Policy
- X-Frame-Options
- X-XSS-Protection
- X-Content-Type-Options
- Content-Security-Policy
- Helmet:添加安全相关的头部