{"id":38913,"date":"2023-02-19T02:35:35","date_gmt":"2023-12-18T14:45:32","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/ng-conf-2016%e7%9a%84%e7%b2%97%e7%95%a5%e8%ae%b0%e8%bf%b0\/"},"modified":"2024-04-29T15:13:07","modified_gmt":"2024-04-29T07:13:07","slug":"ng-conf-2016%e7%9a%84%e7%b2%97%e7%95%a5%e8%ae%b0%e8%bf%b0","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/ng-conf-2016%e7%9a%84%e7%b2%97%e7%95%a5%e8%ae%b0%e8%bf%b0\/","title":{"rendered":"NG-CONF 2016\u7684\u7c97\u7565\u8bb0\u8ff0"},"content":{"rendered":"<p>\u4eca\u5e74\uff082016\u5e74\uff09\u5728\u76d0\u6e56\u57ce\u4e3e\u529e\u4e86\u4e00\u5e74\u4e00\u5ea6\u7684Angular\u754c\u7684\u76db\u5178\u6d3b\u52a8ng-conf\u3002\u867d\u7136\u6211\u6ca1\u6709\u53bb\u73b0\u573a\u53c2\u52a0\uff0c\u4f46\u6211\u53c2\u52a0\u4e86ng-conf\u5728\u4e1c\u4eac\u4e3e\u529e\u7684\u5ef6\u4f38\u6d3b\u52a8\uff0c\u5e76\u4ee5\u516c\u5f00\u89c2\u770b\u7684\u65b9\u5f0f\u89c2\u770b\u4e86\u7b2c\u4e00\u5929\u548c\u7b2c\u4e09\u5929\u7684\u6d3b\u52a8\uff0c\u8fd9\u662f\u6211\u7684\u8bb0\u5fc6\u8bb0\u5f55\u3002<\/p>\n<h2>5\u67084\u65e5\uff0c\u7b2c\u4e00\u5929\u3002<\/h2>\n<h3>\u6f14\u8bb2\u7a3f.<\/h3>\n<p>\u89c6\u9891<\/p>\n<p>\u6211\u5bf9Angular2\u7684\u6027\u80fd\u8ba8\u8bba\u548c\u5468\u8fb9\u751f\u6001\u7cfb\u7edf\u7684\u8ba8\u8bba\u5f88\u611f\u5174\u8da3\u3002\u6211\u5e0c\u671b\u8fb9\u542c\u8fb9\u4eb2\u81ea\u5c1d\u8bd5\uff01\u4ee5\u4e0b\u662f\u6211\u60f3\u5c1d\u8bd5\u7684\u5185\u5bb9\uff1a<\/p>\n<p>Augury AngularJS 1.x\u3067\u3044\u3046\u3068\u3053\u308d\u306eBatarangle\u7684\u306a\u30c4\u30fc\u30eb. \u5f8c\u8ff0.<\/p>\n<p>Angular CLI Angular2\u306e\u96db\u5f62\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3084\u3001component\u306escaffolding\u3092\u3057\u3066\u304f\u308c\u305f\u308a\u3059\u308b\u30c4\u30fc\u30eb\u3002\u5f8c\u8ff0.<\/p>\n<p>NativeScript 2.0 Mobile\u5411\u3051\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u3042\u308bNativeScript\u306e2.0\u306b\u3064\u3044\u3066\u30a2\u30ca\u30a6\u30f3\u30b9\u304c\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<h3>Angular 2\u7684\u529b\u91cf\u82cf\u9192<\/h3>\n<p>\u89c6\u9891 hu\u00e0)<\/p>\n<p>\u5f53\u8c08\u5230Angular\u7f16\u7801\u98ce\u683c\u65f6\uff0c\u4eba\u4eec\u5e38\u4f1a\u63d0\u5230\u7ea6\u7ff0\u00b7\u5e15\u5e15\uff08John Papa\uff09\u7684\u4f1a\u8bae\u3002\u867d\u7136\u5927\u591a\u6570\u662f\u5173\u4e8eAngular 2\u7684\u6559\u7a0b\u4e2d\u7684\u82f1\u96c4\u5217\u8868\u7684\u5b9e\u65f6\u7f16\u7801\u6f14\u793a\u3002<\/p>\n<p>\u5173\u4e8e Style Guide \u7684\u5177\u4f53\u5185\u5bb9\uff0c\u8bf7\u53c2\u8003 https:\/\/angular.io\/docs\/ts\/latest\/guide\/style-guide.html \u7684\u94fe\u63a5\u3002<\/p>\n<h3>Angular 2\u5bf9\u6837\u5f0f\u7684\u5168\u65b0\u521b\u65b0<\/h3>\n<p>\u5f71\u7247<\/p>\n<p>\u5728Angular2\u7684@Component\u4e2d\uff0c\u8c08\u8bba\u4e86\u89c6\u56fe\u5c01\u88c5\u7684\u95ee\u9898\u3002<br \/>\n\u7531\u4e8eAngular2\u6a21\u62df\u4e86Web Component\u7684Shadow DOM\uff0c\u6240\u4ee5\u53ef\u4ee5\u4f7f\u7528\u8bf8\u5982:host\u4e4b\u7c7b\u7684Web Component\u548cCSS\u9009\u62e9\u5668\uff0c\u5373\u4f7f\u5728\u4e0d\u652f\u6301Web Component\u7684\u6d4f\u89c8\u5668\u4e0a\u4e5f\u53ef\u4ee5\u4f7f\u7528\u3002<\/p>\n<h3>Typescript: Angular 2\u7684\u79d8\u5bc6\u6b66\u5668<\/h3>\n<p>\u89c6\u9891<\/p>\n<p>\u50cf\u662f\u5bf9TypeScript\u7684\u5ba3\u4f20\u4e00\u6837\u7684\u4f1a\u8bae\u3002\u56e0\u4e3a\u4e86\u89e3\u4e86tsserver\uff0c\u6240\u4ee5\u6709\u4e9b\u8ba9\u6211\u89c9\u5f97\u201c\u5662\uff0c\u539f\u6765\u5982\u6b64\u201d\u7684\u5185\u5bb9\uff0c\u4f46\u5e76\u6ca1\u6709\u592a\u591a\u65b0\u7684\u53d1\u73b0\u3002<\/p>\n<h3>Angular 2\u4e07\u80fd\u6a21\u5f0f<\/h3>\n<p>\u89c6\u9891<\/p>\n<p>\u5173\u4e8eAngular2\u7684\u670d\u52a1\u5668\u7aef\u6e32\u67d3\u6a21\u5757angular-universal\u7684\u4ecb\u7ecd\u3002<\/p>\n<p>\u8fd9\u7bc7\u6587\u7ae0\u7684\u529f\u80fd\u4e0a\u8bb2\u8ff0\u4e86\u5df2\u77e5\u7684\u5185\u5bb9\uff08\u8be6\u7ec6\u4ecb\u7ecd\u4e86Angular2\u7684\u670d\u52a1\u5668\u7aef\u6e32\u67d3\uff09\uff0c\u4f46\u662f\u5173\u4e8e\u5728SSR\u4e2d\u9759\u6001\u8f93\u51faProgressive Web App\u7684App Shell\u4ee5\u53ca\u4f7f\u7528preboot\uff08\u4e5f\u662fangular-universal\u7684\u529f\u80fd\uff09\u65e0\u7f1d\u6865\u63a5App Shell\u548c\u5185\u5bb9\u7684\u8ba8\u8bba\u662f\u65b0\u9896\u7684\u3002<\/p>\n<h3>\u901a\u8fc7\u6df1\u5ea6\u8111\u523a\u6fc0\u6280\u672f\u8c03\u6574\u4eba\u8111\u7535\u8def\u4e2d\u7684\u65cb\u94ae\u3002<\/h3>\n<p>\u89c6\u9891<\/p>\n<p>Angular\u5b8c\u5168\u4e0eJavaScript\u548cWeb\u65e0\u5173\u7684Session\u3002\u4e3b\u8981\u662f\u5173\u4e8e\u5927\u8111\u75be\u75c5\u7684\u8ba8\u8bba\u3002\u5728\u8fd9\u4e2aSession\u671f\u95f4\uff0c\u65f6\u95f4\u7ebf\u4e0a\u5145\u65a5\u7740\u201c\u65e0\u6cd5\u7406\u89e3\u6b63\u5728\u53d1\u751f\u7684\u4e8b\u60c5\u201d\u4e4b\u7c7b\u7684\u63a8\u6587\uff0c\u975e\u5e38\u6709\u8da3\u3002\u5c31\u8fd9\u6837\u3002<\/p>\n<h3>\u8def\u7531<\/h3>\n<p>\u89c6\u9891<\/p>\n<p>\u6700\u8fd1\uff0c\u6709\u5173Angular2\u7684\u8def\u7531\u5668\uff08\u66fe\u88ab\u79f0\u4e3a&#8221;alt-router&#8221;\uff09\u7684\u8ba8\u8bba\u3002\u4e0e\u4ee5\u524d\u7684Router\u76f8\u6bd4\uff0c\u4e3b\u8981\u533a\u522b\u662f\u73b0\u5728\u652f\u6301\u5ef6\u8fdf\u52a0\u8f7d\uff08\u73b0\u5df2\u88ab\u6807\u8bb0\u4e3a&#8221;deprecated-router&#8221;\uff09\u3002<\/p>\n<p>\u64da\u8aaa\u5728Lazy Loading\u7684\u60c5\u6cc1\u4e0b\uff0c\u53ef\u4ee5\u5beb\u6210\u4ee5\u4e0b\u65b9\u5f0f\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"p\">@<\/span><span class=\"nd\">Routes<\/span><span class=\"p\">([<\/span>\r\n  <span class=\"p\">{<\/span><span class=\"na\">path<\/span><span class=\"p\">:<\/span> <span class=\"dl\">'<\/span><span class=\"s1\">simple<\/span><span class=\"dl\">'<\/span><span class=\"p\">,<\/span> <span class=\"na\">component<\/span><span class=\"p\">:<\/span> <span class=\"dl\">'<\/span><span class=\"s1\">simpleCmp<\/span><span class=\"dl\">'<\/span><span class=\"p\">},<\/span>\r\n  <span class=\"p\">{<\/span><span class=\"na\">path<\/span><span class=\"p\">:<\/span> <span class=\"dl\">'<\/span><span class=\"s1\">user\/:name<\/span><span class=\"dl\">'<\/span><span class=\"p\">,<\/span> <span class=\"na\">component<\/span><span class=\"p\">:<\/span> <span class=\"dl\">'<\/span><span class=\"s1\">UserCmp<\/span><span class=\"dl\">'<\/span><span class=\"p\">}<\/span>\r\n<span class=\"p\">])<\/span>\r\n<span class=\"kd\">class<\/span> <span class=\"nx\">TeamCmp<\/span> <span class=\"k\">implements<\/span> <span class=\"nx\">OnActivate<\/span> <span class=\"p\">{<\/span>\r\n  <span class=\"nx\">routerOnActivate<\/span><span class=\"p\">(<\/span><span class=\"nx\">segment<\/span><span class=\"p\">:<\/span> <span class=\"nx\">RouteSegment<\/span><span class=\"p\">,<\/span> <span class=\"nx\">tree<\/span><span class=\"p\">:<\/span> <span class=\"nx\">Tree<\/span><span class=\"o\">&lt;<\/span><span class=\"nx\">RouteSegment<\/span><span class=\"o\">&gt;<\/span><span class=\"p\">)<\/span> <span class=\"p\">{<\/span> <span class=\"p\">...<\/span> <span class=\"p\">}<\/span>\r\n<span class=\"p\">}<\/span>\r\n<\/code><\/pre>\n<p>\u5728\u61f6\u52a0\u8f09\u7684\u60c5\u6cc1\u4e0b\uff0c\u7531\u65bc\u5728\u8def\u7531\u5b9a\u7fa9\u6642\uff0c\u5c1a\u672a\u5c0e\u5165\u4e0b\u5c64\u7d44\u4ef6\u985e\u5225\uff0c\u56e0\u6b64\u9700\u8981\u4ee5\u5b57\u7b26\u4e32\u5f62\u5f0f\u5728\u7d44\u4ef6\u9375\u4e2d\u5b9a\u7fa9\u5167\u5bb9\uff0c\u4e26\u5728\u8def\u7531\u6642\u4f7f\u7528System.js\u89e3\u6790\u8a72\u5b57\u7b26\u4e32\u4ee5\u52d5\u614b\u52a0\u8f09\u3002<\/p>\n<h3>\u7ec4\u4ef6\uff0c\u7ec4\u4ef6\uff0c\u7ec4\u4ef6\uff01\u2026\u548c Angular 1.5<\/h3>\n<p>\u89c6\u9891<\/p>\n<p>\u5982\u9898\u6240\u793a\uff0c\u8fd9\u662f\u5173\u4e8e\u4eceAngularJS 1.5\u7248\u672c\u5f00\u59cb\u53ef\u4f7f\u7528\u7684angular.module(&#8230;).component\u7684\u8ba8\u8bba\u3002\u540c\u65f6\uff0c\u8fd8\u6d89\u53ca\u4e86\u4e00\u4e9b\u5173\u4e8e1-way\u7ed1\u5b9a\u4ee5\u53ca\u7ec4\u4ef6\u8def\u7531\u7684\u5185\u5bb9\u3002<\/p>\n<h3>\u6df1\u5165\u89c2\u5bdf\u4f60\u7684\u5e94\u7528\uff0c\u4f7f\u7528\u4e4b\u524d\u88ab\u79f0\u4e3aBatarangle\u7684Augury\u5de5\u5177\u3002<\/h3>\n<p>\u89c6\u9891 hu\u00e0)<\/p>\n<p>\u4e00\u4e2a\u5173\u4e8eChrome\u6d4f\u89c8\u5668\u6269\u5c55\u7a0b\u5e8f\u201cAugury\u201d\u7684\u4ecb\u7ecd\u4f1a\u8bae\u3002<br \/>\n\u9664\u4e86\u53ef\u4ee5\u67e5\u770b\u7ec4\u4ef6\u7684\u4fe1\u606f\u5916\uff0c\u8fd8\u53ef\u4ee5\u5373\u65f6\u4fee\u6539\u503c\u3002<br \/>\n\u8fd9\u4e2a\u5de5\u5177\u5728AngularJS 1.x\u4e2d\u7c7b\u4f3c\u4e8eBatarangle\u3002\u867d\u7136\u6211\u81ea\u5df1\u4ece\u4e2d\u9014\u5f00\u59cb\u5c31\u4e0d\u518d\u4f7f\u7528Batarangle\u4e86\uff0c\u4f46\u662f\u5927\u90e8\u5206Batarangle\u53ef\u4ee5\u505a\u7684\u4e8b\u60c5\u4f3c\u4e4e\u90fd\u53ef\u4ee5\u5728\u8fd9\u4e2a\u5de5\u5177\u4e0a\u5b9e\u73b0\u3002<\/p>\n<h3>ng-show: Angular 2\u7684\u5c55\u793a\u529f\u80fd<\/h3>\n<p>\u89c6\u9891<\/p>\n<p>ng-show\u5728AngularJS\u4e2d\u5e76\u4e0d\u4e0eDirective\u6709\u4efb\u4f55\u5173\u8054\u3002<\/p>\n<p>\u867d\u7136\u8fd9\u4e0d\u662f\u4e00\u4e2a\u6709\u7528\u7684\u5185\u5bb9\uff0c\u4f46\u4f5c\u4e3a\u4e00\u4e2a\u7b11\u8bdd\u975e\u5e38\u6709\u8da3\uff0c\u6211\u53ea\u80fd\u8bf4\u4f60\u4e00\u5b9a\u8981\u770b\u4e00\u770b\u3002<\/p>\n<h3>\u89d2\u6750\u8d28\uff1a\u949b\u7ae0\u9c7c<\/h3>\n<p>\u89c6\u9891<\/p>\n<p>\u4ee5\u4e0b\u662f\u5173\u4e8e\u63d0\u4f9bAngular2 Material Design UI\u7684\u5e93material2\u7684\u6545\u4e8b\u3002\u6b64\u5916\uff0c\u6807\u9898\u4e2d\u7684\u201cTitanium Octopus\u201d\u662fmaterial2\u7684\u4ee3\u53f7\u3002<\/p>\n<p>Kara\u59d0\u662fmaterial2\u7684\u4e3b\u8981\u8d21\u732e\u8005\u4e4b\u4e00\uff0c\u5728\u73b0\u573a\u7ed9\u6211\u4eec\u8fdb\u884c\u4e86\u73b0\u573a\u7f16\u7801\u6f14\u793a\u3002\u4ee4\u4eba\u60ca\u8bb6\u7684\u662f\uff0c\u5979\u7684\u7f16\u7801\u901f\u5ea6\u6bd4\u4ee3\u7801\u672c\u8eab\u66f4\u5feb\u3002<\/p>\n<h3>\u6d4b\u8bd5\u4f60\u6240\u6709\u7684\u4efb\u52a1<\/h3>\n<p>\u89c6\u9891 hu\u00e0)<\/p>\n<p>\u6211\u4ee5\u4e3a\u8fd9\u662f\u5173\u4e8e\u8003\u8bd5\u7684\u8bdd\u9898\uff0c\u4f46\u5374\u6709\u4e00\u534a\u7684\u65f6\u95f4\u662f\u7528\u6765\u89e3\u91caZone.js\u7684\u6982\u5ff5\u3002\u4ed6\u4f1a\u5728\u5927\u7ea610\u5206\u949f\u5185\u7b80\u660e\u627c\u8981\u5730\u8bb2\u89e3Zone.js\uff0c\u6240\u4ee5\u6211\u8ba4\u4e3a\u53ea\u770b\u8fd9\u90e8\u5206\u5c31\u5f88\u503c\u5f97\u3002<\/p>\n<p>\u4ee5\u4e0b\u662f\u6709\u5173Zone.js\u5728\u6d4b\u8bd5Angular2\u5e94\u7528\u7a0b\u5e8f\u65f6\u5982\u4f55\u53d1\u6325\u4f5c\u7528\u7684\u8ba8\u8bba\u7684\u540e\u534a\u90e8\u5206\u3002\u5728\u89e3\u91ca\u4e2d\u4f7f\u7528\u7684\u5b58\u50a8\u5e93\u5728\u8fd9\u91cc\u3002\u8fd8\u4ecb\u7ecd\u4e86\u4f7f\u7528ngZone.onStable\u6765\u83b7\u53d6\u201c\u5f02\u6b65\u5b8c\u6210\u7684\u65f6\u673a\u201d\u7684e2e\u6d4b\u8bd5\u793a\u4f8b\uff0c\u4f46\u4f3c\u4e4e\u6b64\u5b58\u50a8\u5e93\u4e2d\u4e0d\u5305\u542b\u8be5\u793a\u4f8b\u3002<\/p>\n<h3>\u51fd\u6570\u5f0f\u54cd\u5e94\u5f0fJavaScript- \u8ba9\u6211\u4eec\u505c\u6b62\u5bf9\u8bdd\u4e2d\u7684\u540e\u6094\uff01<\/h3>\n<p>\u89c6\u9891 (video)<\/p>\n<p>\u4ecb\u7ecd\u51fd\u6570\u5f0f\u7f16\u7a0b\u548cObservable\u7684\u57fa\u7840\u77e5\u8bc6\u7684\u4f1a\u8bae\uff08\u4f3c\u4e4e\u53ea\u662f\u5982\u6b64\uff09\u3002\u51e0\u4e4e\u6ca1\u6709\u5173\u4e8eAngular\u7684\u8ba8\u8bba\u3002<\/p>\n<h3>\u6447\u6eda\u533b\u751f\u884c\u533b<\/h3>\n<p>\u89c6\u9891<\/p>\n<p>\u5173\u4e8eAngular2\u7684\u6587\u6863\u3002\u7531\u4e8ehttps:\/\/angular.io\u7684\u6587\u6863\u662f\u5728GitHub\u4e0a\u8fdb\u884c\u7ba1\u7406\u7684\uff0c\u6240\u4ee5\u5982\u679c\u6709\u4efb\u4f55\u7591\u95ee\u6216\u8005\u8981\u6c42\u4fee\u6539\u7684\u5730\u65b9\uff0c\u8bf7\u63d0\u4f9bPull Request\u3002<\/p>\n<h3>\u5728Web\u548c\u539f\u751f\u5e94\u7528\u7a0b\u5e8f\u4e4b\u95f4\u5171\u4eab\u4ee3\u7801<\/h3>\n<p>\u89c6\u9891 hu\u00e0)<\/p>\n<p>\u4f7f\u7528Angular2\u6765\u5b9e\u73b0\u5728Web App\u548cNativeScript\u4e0b\u91cd\u590d\u5229\u7528\u4ee3\u7801\u7684\u8ba8\u8bba\u3002<\/p>\n<p>\u5f88\u9057\u61be\uff0c\u5bf9\u4e8eSession\u7684\u5185\u5bb9\u6ca1\u6709\u4ecb\u7ecd\u76f8\u5e94\u7684\u8d44\u6e90\uff0c\u4f46\u4ece\u89c2\u5bdf\u5230\u7684\u73b0\u573a\u7f16\u7801\u5c4f\u5e55\u6765\u770b\uff0c\u4f3c\u4e4e\u662f\u4ee5\u4e0b\u7684\u5212\u5206\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Service\u306fNativeScript, Web\u3067\u5171\u901a\u306e\u3082\u306e\u3092\u4f7f\u3046<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">Component, Template, CSS\u306fNativeScript\u3068Web\u3067\u5225\u3005\u306e\u3082\u306e\u3092\u7528\u610f\u3059\u308b<\/ul>\n<p>\u6211\u4ece\u672a\u63a5\u89e6\u8fc7NativeScript\uff0c\u4f46\u5373\u4f7f\u4e0d\u5b8c\u5168\u76f8\u540c\u7684\u4ee3\u7801\uff0c\u4e5f\u53ef\u4ee5\u50cfWeb App\u4e00\u6837\u5f00\u53d1\u79fb\u52a8\u5e94\u7528\uff0c\u6211\u89c9\u5f97\u8fd8\u662f\u5f88\u6709\u5438\u5f15\u529b\u7684\uff0c\u4f46\u662f\u4e0d\u77e5\u9053\u600e\u4e48\u6837\u5462\uff1f\uff08\u56e0\u4e3a\u9664\u4e86NativeScript\uff0c\u8fd8\u6709Ionic2\u3001React Native\uff0c\u8fd8\u6709\u6e10\u8fdb\u5f0fWeb\u5e94\u7528\uff0c\u9009\u62e9\u592a\u591a\u4e86\uff0c\u4e0d\u77e5\u9053\u9009\u54ea\u4e00\u4e2a\u597d\u3002\u8fd9\u4e2a\u5fc3\u60c5\u554a\uff09<\/p>\n<p>\u65e0\u8bba\u5982\u4f55\uff0c\u8fd9\u4e2aSession\u603b\u4f53\u4e0a\u90fd\u6709\u70b9\u505a\u4f5c\uff0c\u542c\u7684\u65f6\u5019\u611f\u89c9\u6709\u4e9b\u607c\u706b&#8230;<\/p>\n<h3>\u5728Angular 2\u4e2d\u7684\u751f\u6210\u827a\u672f<\/h3>\n<p>\u89c6\u9891<\/p>\n<p>\u521b\u5efa\u4e86\u4e00\u4e2a\u540d\u4e3ateropa.info\/chime\u7684\u57fa\u4e8eAngular2\u7684Generative Visualization\u7684Web App\u3002<\/p>\n<p>\u300c\u5728Angular2\u4e2d\u5982\u4f55\u5904\u7406Web Audio API\u7684AudioContext\u300d\u8fd9\u4e2a\u4e3b\u9898\u5e73\u65f6\u5f88\u5c11\u542c\u5230\uff0c\u4ece\u58f0\u97f3\u6e90\u7684\u4ea7\u751f\u5230\u6548\u679c\u7684\u4ea7\u751f\uff0c\u901a\u8fc7\u5355\u5411\u6570\u636e\u6d41\u8fdb\u884c\u5b9e\u73b0\uff0c\u4f7f\u7528Observable\u7b49\u65b9\u5f0f\u4f7f\u5f97\u5185\u5bb9\u975e\u5e38\u5f15\u4eba\u5165\u80dc\u3002<\/p>\n<p>\u6211\u8ba4\u4e3a\u53ef\u80fd\u4f1a\u662f\u8fd9\u91cc\u7684\u76f8\u5173\u5b58\u50a8\u5e93\uff0c\u6240\u4ee5\u6253\u7b97\u5728\u4e4b\u540e\u4ed4\u7ec6\u9605\u8bfb\u4e00\u4e0b\u3002<\/p>\n<h3>\u6e10\u8fdb\u5f0f\u7f51\u7edc\u5e94\u7528<\/h3>\n<p>\u89c6\u9891 hu\u00e0)<\/p>\n<p>\u9996\u5929\u7684\u5f00\u573a\u662f\u7531Angular\u79fb\u52a8\u56e2\u961f\u7684\u6e10\u8fdb\u5f0fWeb\u5e94\u7528\u4f1a\u8bae\u3002\u4ed6\u4eec\u8ba8\u8bba\u4e86\u4ee5\u4e0b\u4e09\u4e2a\u4e3b\u9898\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Instant loading: App Shell\u3067\u5b9f\u73fe<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Offline: Service Workers<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">Installable: Web App Manifest<\/ul>\n<p>\u4e3a\u4e86\u52a0\u5feb\u521d\u59cb\u52a0\u8f7d\u901f\u5ea6\uff0c\u6709\u4e00\u79cd\u65b9\u6cd5\u662f\u5c06\u5e94\u7528\u7a0b\u5e8f\u5206\u4e3aApp Shell\u548c\u52a8\u6001\u5185\u5bb9\uff0c\u5e76\u5148\u663e\u793aApp Shell\u6765\u9632\u6b62\u7528\u6237\u79bb\u5f00\u3002<\/p>\n<p>\u6211\u89c9\u5f97\u6709\u8da3\u7684\u662f\uff0cApp Shell\u672c\u8eab\u4e5f\u53ef\u4ee5\u7528Angular2\u7f16\u5199\uff0c\u5e76\u5728\u6784\u5efa\u65f6\u4f7f\u7528angular-universal\u5c06\u5176\u8f93\u51fa\u4e3a\u9759\u6001HTML\uff08\u5728angular-universal\u7684\u4f1a\u8bdd\u4e2d\u4e5f\u7a0d\u5fae\u63d0\u5230\u4e86\u8fd9\u4e00\u70b9\uff09\u3002<\/p>\n<p>\u8fd8\u6709\u4e00\u79cd\u65b9\u6cd5\u662f\u901a\u8fc7Service Workers\u8fd4\u56de\u751f\u6210\u7684App Shell\uff0c\u8fd9\u6837\u53ef\u4ee5\u5b9e\u73b0\u66f4\u5feb\u7684\u521d\u59cb\u52a0\u8f7d\u901f\u5ea6\u3002<\/p>\n<p>\u6700\u5f8c\u4ecb\u7ecd\u4e86Angular Mobile Toolkit\uff0c\u5b83\u4e0eAngularCLI\uff08ng new &#8211;mobile\uff09\u914d\u5408\u4f7f\u7528\u53ef\u4ee5\u751f\u6210manifest\u6587\u4ef6\uff0c\u5e76\u4e14\u8fd8\u80fd\u5e2e\u52a9\u521b\u5efaApp Shell\u548cService Worker\u3002<br \/>\n\u5b9e\u9645\u4e0a\uff0c\u5df2\u7ecf\u4f7f\u7528Toolkit\u521b\u5efa\u4e86https:\/\/github.com\/angular\/issue-zero\/\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u6240\u4ee5\u6211\u4e5f\u60f3\u52a0\u8f7d\u6b64\u5b58\u50a8\u5e93\u3002<br \/>\n\u56e0\u4e3a\u6211\u7a0d\u5fae\u770b\u4e86\u4e00\u773c\uff0c\u8fd9\u4e2aUI\u4f7f\u7528\u7684\u662fAngular2 Material\uff0c\u540e\u7aef\u670d\u52a1\u4f7f\u7528\u7684\u662fFirebase\uff08AngularFire2\uff09\uff0cRedux\u98ce\u683c\u7684\u67b6\u6784\u4f7f\u7528\u7684\u662fngrx\/store\uff0c\u4ee5\u53ca\u96c6\u6210\u4e86Angular Universal\u7684\u6784\u5efa\u6d41\u7a0b\u3002\u8fd9\u662f\u4e00\u4e2a\u5b8c\u6574\u7684Angular2\u8bfe\u7a0b\uff0c\u7edd\u5bf9\u6709\u5f88\u5927\u7684\u9605\u8bfb\u4ef7\u503c\u3002<\/p>\n<h2>\u7b2c\u4e8c\u5929(5\u67085\u65e5)<\/h2>\n<p>\u6211\u6709Keynote\uff0c\u4f46\u662f\u6211\u6ca1\u6709\u542c\u8fc7&#8230;<\/p>\n<h2>\u7b2c\u4e09\u5929(5\u67086\u65e5)<\/h2>\n<h3>Typescript \u7c7b\u578b\u811a\u672c<\/h3>\n<p>\u89c6\u9891<\/p>\n<p>\u53c8\u4e00\u573aTypeScript\u7684\u8bb2\u5ea7\u3002\u548c\u7b2c\u4e00\u5929\u4e00\u6837\uff0c\u5e76\u6ca1\u6709\u592a\u591a\u65b0\u9c9c\u8bdd\u9898\uff0c\u4f46\u6700\u540e\u7a0d\u5fae\u8c08\u5230\u4e86\u4e00\u4e9b\u6709\u5173TypeScript 2.0\u7684\u5185\u5bb9\u3002<br \/>\n\u5982\u679c\u4f60\u5bf9TypeScript 2.0\u7684\u5185\u5bb9\u611f\u5174\u8da3\uff0c\u6211\u89c9\u5f97\u4f60\u53ef\u4ee5\u53bb\u770b\u4e00\u4e0bBuild\u5927\u4f1a\u4e0aAnders Hejlsberg\u7684\u8bb2\u5ea7\u3002<\/p>\n<p>\u6211\u4e2a\u4eba\u611f\u89c9\u5230&#8221;Path mapping&#8221;\u90a3\u4e00\u90e8\u5206\u6709\u4e00\u4e2a\u63d0\u793a\u8bf4&#8221;\u5982\u679c\u4f7f\u7528JSPM\u5f88\u68d2&#8221;\u3002\u6839\u636e\u6211\u7684\u7406\u89e3\uff0cPath mapping\u53ea\u662f\u5728tsconfig.json\u4e2d\u66f4\u7075\u6d3b\u5730\u6307\u5b9a\u6a21\u5757\u4f4d\u7f6e\u7684\u65b9\u5f0f\uff0c\u6211\u8ba4\u4e3a\u5b83\u4e0eJSPM\u751f\u6210\u7684config.js\u662f\u4e24\u4e2a\u4e0d\u540c\u7684\u4e1c\u897f\uff0c\u4f46\u8fd9\u662f\u5426\u6b63\u786e\u5462\uff1f<\/p>\n<h3>\u627f\u8bfa\u53ef\u80fd\u6bd4\u4f60\u8fd8\u8981\u53e4\u8001<\/h3>\n<p>\u89c6\u9891 hu\u00e0)<\/p>\n<p>\u5c31\u50cf\u6807\u9898\u6240\u793a\uff0c\u627f\u8bfa\uff08\u786e\u5207\u5730\u8bf4\u662f\u5176\u6e90\u6d41Future Pattern\uff09\u8bde\u751f\u5df2\u6709\u5c06\u8fd140\u5e74\u7684\u5386\u53f2\uff0c\u4ece\u90a3\u65f6\u8d77\u4e00\u76f4\u5230\u4eca\u5929\u7684ES2015\u7684Promise\u7684\u53d1\u5c55\u53d8\u8fc1\u3002\u5728Angular\u65b9\u9762\uff0c\u53ea\u662f\u5728\u8bb2\u8ff0\u8fc7\u7a0b\u4e2d\u7565\u5fae\u63d0\u53ca\u4e86AngularJS 1.x\u7684$q\uff0c\u57fa\u672c\u4e0a\u662f\u5728\u5b66\u4e60\u5386\u53f2\u7684\u611f\u89c9\u3002<\/p>\n<h3>\u8f93\u9001\u7092\u4f5c<\/h3>\n<p>\u89c6\u9891<\/p>\n<p>Angular2\u7684\u7ba1\u9053Session\u3002\u5f00\u53d1\u8005\u6307\u5357\u4e2d\u4e0ePIPES\u57fa\u672c\u76f8\u540c\u3002<\/p>\n<h3>\u591a\u69fd\u590d\u5408\u6587\u7ae0\u63d2\u5165<\/h3>\n<p>\u89c6\u9891 hu\u00e0)<\/p>\n<p>AngularJS 1.5\u548cAngular2\u90fd\u53ef\u4ee5\u5b9e\u73b0\u591a\u91cd\u4f20\u8f93\uff08Multi Transclude\uff09\u7684\u4f1a\u8bdd\u3002<\/p>\n<h3>\u52a8\u753b<\/h3>\n<p>\u89c6\u9891<\/p>\n<p>ng-conf\u65f6\u70b9\uff0c\u65b0\u7684\u52a8\u753b\u673a\u5236\u5c1a\u672a\u5408\u5e76\uff0c\u4ee5\u4e0b\u662f\u76f8\u5173\u5185\u5bb9\u3002<\/p>\n<p>\u636e\u6211\u4e86\u89e3\uff0cAngular2\u6b63\u5728\u8003\u8651\u57fa\u4e8eWeb Animation API\u7684\u52a8\u753b\uff0c\u540c\u65f6Angular\u56e2\u961f\u4e5f\u6b63\u5728\u5f00\u53d1Web Animation API\u7684polyfill\u3002<\/p>\n<p>Session\u4e2d\u4ecb\u7ecd\u7684\u5185\u5bb9\u5df2\u50a8\u5b58\u5728https:\/\/github.com\/matsko\/ng-conf-demos\u7684\u4ee3\u7801\u5e93\u4e2d\u3002<br \/>\n\u4eceSession\u7684\u5185\u5bb9\u548c\u4e0a\u8ff0\u4ee3\u7801\u5e93\u7684\u4e00\u77a5\u6765\u770b\uff0c\u7ed9\u6211\u7559\u4e0b\u4e86\u975e\u5e38\u591a\u53ef\u80fd\u6027\u7684\u5370\u8c61\u3002\u800c\u4e14\uff0c\u7b80\u5355\u51e0\u53e5\u8bdd\u65e0\u6cd5\u6982\u62ec\u3002<br \/>\n\u4e3e\u4e2a\u4f8b\u5b50\uff0c\u53ef\u4ee5\u4ee5\u7f16\u7a0b\u65b9\u5f0f\u5185\u8054\u5904\u7406CSS Transition\u548cKeyframe\uff0c\u8fd8\u53ef\u4ee5\u5c06\u6837\u5f0f\u8868\u4e2d\u5b9a\u4e49\u7684class\u548ckeyframe\u4f5c\u4e3a\u52a8\u753b\u72b6\u6001\u5bfc\u5165\uff0c\u7b49\u7b49\u3002<\/p>\n<p>\u6211\u6253\u7b97\u9759\u4e0b\u5fc3\u6765\u4ed4\u7ec6\u9605\u8bfb\u8fd9\u4e2a\u4ee3\u7801\u5e93\u3002<\/p>\n<h3>\u5b66\u4e60\u514b\u6797\u8d21\u8bed<\/h3>\n<p>\u89c6\u9891 hu\u00e0)<\/p>\n<p>&#8220;\u4ec0\u4e48\u662f&#8221;KLINGON&#8221;\u5462\uff1f\u5f53\u6211\u60f3\u5230\u65f6\uff0c\u539f\u6765\u662f\u4e00\u4e2a\u4ee5&#8221;CLI ng on&#8221;\u548c&#8221;Star Trek&#8221;\u7684\u514b\u6797\u8d21\u4eba\u4e3a\u57fa\u7840\u7684\u7b11\u8bdd\u3002\u6211\u624d\u4e0d\u5728\u4e4e\u5462\uff0c\u90a3\u79cd\u4e1c\u897f\u3002&#8221;<\/p>\n<p>\u8fd9\u7bc7\u5185\u5bb9\u4ecb\u7ecd\u4e86angular-cli\u3002<\/p>\n<p>angular-cli\u662f\u7528\u4e8e\u751f\u6210Angular2\u9879\u76ee\u4ee5\u53ca\u5404\u79cd\u4ee3\u7801\uff08\u7ec4\u4ef6\u3001\u670d\u52a1\u7b49\uff09\u7684\u751f\u6210\u5668\u3002\u901a\u8fc7\u4f7f\u7528\u5b83\u751f\u6210\u7684\u9879\u76ee\u5305\u542b\u4e86\u5404\u79cd\u6d4b\u8bd5\uff08\u5355\u5143\u6d4b\u8bd5\u3001\u7aef\u5230\u7aef\u6d4b\u8bd5\uff09\uff0c\u6574\u4f53\u4e0a\u7ed9\u4eba\u7559\u4e0b\u4e86\u975e\u5e38\u5b8c\u5584\u7684\u5370\u8c61\u3002<\/p>\n<p>\u5982\u679c\u8981\u63d0\u51fa\u4e0d\u8db3\u4e4b\u5904\u7684\u8bdd\uff0c\u53ef\u80fd\u662f\u56e0\u4e3a\u5b83\u4f9d\u8d56\u4e8e\u4e00\u4e2a\u4e0d\u592a\u719f\u6089\u7684\u6784\u5efa\u5de5\u5177ember-cli\uff0c\u53ef\u80fd\u4f1a\u4f7f\u5b9a\u5236\u53d8\u5f97\u56f0\u96be\u4e00\u4e9b\u3002<\/p>\n<p>\u53e6\u5916\uff0c\u4ece\u7a0d\u5fae\u4f7f\u7528\u8fc7\u7684\u611f\u89c9\u6765\u770b\uff0c\u901a\u8fc7ng new\u547d\u4ee4\u751f\u6210\u9879\u76ee\u7684\u811a\u624b\u67b6\u4f1a\u82b1\u8d39\u76f8\u5f53\u957f\u7684\u65f6\u95f4\uff08\u4e3b\u8981\u662fnpm i\u7684\u90e8\u5206\uff09\u3002<\/p>\n<h3>\u9002\u7528\u4e8e\u6211\u4eec\u5176\u4ed6\u4eba\u7684Angular 2<\/h3>\n<p>\u5c3d\u7ba1Angular2\u4e2d\u6709\u4e00\u4e9b\u65b0\u6982\u5ff5\uff0c\u5982Zone.js\u548cObservable\u7b49\uff0c\u4f46\u6211\u5e76\u4e0d\u5bb3\u6015\uff01<\/p>\n<h3>React Native \u53cd\u5e94\u539f\u751f<\/h3>\n<p>\u89c6\u9891<\/p>\n<p>angular2-react-native\u7684Session\u3002\u5c3d\u7ba1\u4f53\u7cfb\u7ed3\u6784\u6709\u6240\u4e0d\u540c\uff0c\u4f46\u4e0e\u7b2c\u4e00\u5929\u7684NativeScript\u4f1a\u8bae\u76f8\u4f3c\u7684\u5370\u8c61\u3002\u53e6\u5916\uff0c\u7531\u4e8e\u5728\u8fd9\u4e2a\u9636\u6bb5\u975e\u5e38\u56f0\uff0c\u6240\u4ee5\u51e0\u4e4e\u6ca1\u80fd\u7559\u4e0b\u4efb\u4f55\u5370\u8c61&#8230;&#8230;<\/p>\n<h3>\u54cd\u5e94\u5f0f\u7f16\u7a0b\uff0c\u5728Netflix\u3001\u5fae\u8f6f\u3001Slack\u7b49\u516c\u53f8\u4ee5\u53ca\u66f4\u591a\u9886\u57df\u6b63\u5728\u6539\u53d8\u4e16\u754c\uff01<\/h3>\n<p>\u89c6\u9891<\/p>\n<p>\u524d\u534a\u90e8\u5206\u662f\u5bf9Observable\uff08\u6216\u79f0\u4e3aRxJS\uff09\u7684\u89e3\u91ca\uff0c\u540e\u534a\u90e8\u5206\u662f\u5173\u4e8eNetflix\u3001Microsoft\u548cSlack\u5b9e\u9645\u4f7f\u7528Observable\u7684\u4ecb\u7ecd\u3002\u5176\u4e2d\u5927\u90e8\u5206\u5185\u5bb9\u4e0eAngular\u65e0\u5173\u3002<\/p>\n<h3>\u4f7f\u7528AngularFire\u8fdb\u884c\u5f02\u6b65\u6570\u636e\u6a21\u5f0f\u64cd\u4f5c<\/h3>\n<p>\u89c6\u9891<\/p>\n<p>\u7ee7\u7eed\u8ba8\u8bbaObservable\u7684\u8bdd\u9898\uff0c\u8fd9\u91cc\u662f\u5173\u4e8e\u9002\u7528\u4e8eAngular2\u7684\u5185\u5bb9\u3002<br \/>\n\u4ecb\u7ecd\u4e86Angular2\u7684\u5ba2\u6237\u7aefFirebase\uff0c\u5373angularfire2\u3002<\/p>\n<p>\u5728angularfire2\u4e2d\uff0c\u91cd\u70b9\u662f\u4ee5\u4e0b\u9762\u7684\u65b9\u5f0f\u5c06Firebase\u5b58\u50a8\u7684\u6570\u636e\u4f5c\u4e3aObservable\u8fdb\u884c\u5904\u7406\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"p\">@<\/span><span class=\"nd\">Component<\/span><span class=\"p\">({<\/span>\r\n  <span class=\"na\">template<\/span><span class=\"p\">:<\/span><span class=\"s2\">`\r\n    &lt;ul&gt;\r\n      &lt;li *ngFor=\"#question of questions | async\"&gt;\r\n        {{question.text}}\r\n      &lt;\/li&gt;\r\n    &lt;\/ul&gt;\r\n  `<\/span>\r\n<span class=\"p\">})<\/span>\r\n<span class=\"kd\">class<\/span> <span class=\"nx\">App<\/span> <span class=\"p\">{<\/span>\r\n  <span class=\"nl\">questions<\/span><span class=\"p\">:<\/span><span class=\"nx\">Observable<\/span><span class=\"o\">&lt;<\/span><span class=\"nx\">Question<\/span><span class=\"p\">[]<\/span><span class=\"o\">&gt;<\/span>\r\n  <span class=\"kd\">constructor<\/span><span class=\"p\">(<\/span><span class=\"nx\">af<\/span><span class=\"p\">:<\/span><span class=\"nx\">AngularFire<\/span><span class=\"p\">)<\/span> <span class=\"p\">{<\/span>\r\n    <span class=\"c1\">\/\/ Get an observable of a synchronized array from &lt;firebase-root&gt;\/questions<\/span>\r\n    <span class=\"k\">this<\/span><span class=\"p\">.<\/span><span class=\"nx\">questions<\/span> <span class=\"o\">=<\/span> <span class=\"nx\">af<\/span><span class=\"p\">.<\/span><span class=\"nx\">list<\/span><span class=\"p\">(<\/span><span class=\"dl\">'<\/span><span class=\"s1\">\/questions<\/span><span class=\"dl\">'<\/span><span class=\"p\">);<\/span>\r\n  <span class=\"p\">}<\/span>\r\n<span class=\"p\">}<\/span>\r\n<\/code><\/pre>\n<p>\u6211\u4ece\u672a\u63a5\u89e6\u8fc7Firebase\u548cAngularFire\uff0c\u4f46\u6211\u8ba4\u4e3a\u53ef\u4ee5\u53c2\u8003\u7684\u662f\u4ece\u8fdc\u7a0b\u83b7\u53d6\u5b58\u5728\u7684\u6570\u636e\u4f5c\u4e3aObservable\uff0c\u7136\u540e\u5728\u6a21\u677f\u4e2d\u4f7f\u7528Async Pipe\u3002\u8fd9\u79cd\u65b9\u6cd5\u53ef\u80fd\u4e5f\u53ef\u4ee5\u5728\u5c06Angular2\u4e0e\u7c7b\u4f3cFalcor\u6216Relay\u7684\u6570\u636e\u83b7\u53d6\u5e93\u7ed3\u5408\u4f7f\u7528\u65f6\u4f7f\u7528\u3002<\/p>\n<h3>\u5de5\u4f5c\u4e2d\u7684\u4e0d\u5feb\u4e50<\/h3>\n<p>\u89c6\u9891<\/p>\n<p>\u9019\u500b\u8ab2\u7a0b\u8207Angular\u7121\u95dc\uff0c\u662f\u95dc\u65bc\u4f5c\u70ba\u4e00\u540d\u5de5\u7a0b\u5e2b\u70ba\u4e86\u5e78\u798f\u5de5\u4f5c\u6240\u9700\u7684\u5fc3\u614b\u3002<\/p>\n<h3>\u63ed\u5f00\u4fee\u9970\u5668\u7684\u795e\u79d8\u9762\u7eb1<\/h3>\n<p>\u89c6\u9891 hu\u00e0)<\/p>\n<p>\u5728Angular 2\u4e2d\uff0c\u7ecf\u5e38\u4f7f\u7528TypeScript\u7684\u88c5\u9970\u5668\uff0c\u4f46\u662f\u88c5\u9970\u5668\u5230\u5e95\u662f\u505a\u4ec0\u4e48\u7684\uff1f\u63a5\u4e0b\u6765\u6211\u4f1a\u7ed9\u4f60\u89e3\u91ca\u4e00\u4e0b\u3002<br \/>\n\u5982\u679c\u4f60\u5bf9\u88c5\u9970\u5668\u4f1a\u8f6c\u6362\u6210\u4ec0\u4e48\u6837\u7684\u4ee3\u7801\u611f\u5174\u8da3\u7684\u8bdd\uff0c\u4e0d\u59a8\u53bb\u770b\u4e00\u4e0b\u3002<\/p>\n<h3>\u6210\u4e3aAngular 2\u7684\u8d21\u732e\u8005<\/h3>\n<p>\u89c6\u9891<\/p>\n<p>\u8ba9\u6211\u4eec\u6253\u5f00 http:\/\/www.ng-contrib.org\/\u3002\u5c31\u8fd9\u6837\u3002<\/p>\n<h3>\u4f7f\u7528ngRx\u54cd\u5e94\u5f0fAngular2<\/h3>\n<p>\u89c6\u9891<\/p>\n<p>ngrx\/store\u662f\u4e00\u4e2a\u7528\u4e8e\u5728Angular2\u4e2d\u5b9e\u73b0\u7c7b\u4f3cRedux\u7684\u67b6\u6784\u7684\u5e93\u7684\u4ecb\u7ecd\u3002<br \/>\n\u636e\u8bf4\u8fd9\u4e2a\u5e93\u57282015\u5e74\u5c31\u5df2\u7ecf\u5b58\u5728\u4e86\uff0c\u4f46\u6211\u5b8c\u5168\u4e0d\u77e5\u9053&#8230;<\/p>\n<p>ngrx\/store\u7684\u6700\u5927\u7279\u70b9\u83ab\u8fc7\u4e8e\u53ef\u4ee5\u5c06\u7531Reducer\u751f\u6210\u7684State\u4f5c\u4e3a\u53ef\u89c2\u5bdf\u5bf9\u8c61\u63a5\u6536\u3002\u8fd9\u4e0e\u4e4b\u524d\u63d0\u5230\u7684angularfire2\u7c7b\u4f3c\uff0c\u90fd\u53ef\u4ee5\u5c06\u6570\u636e\u751f\u6210\u4ece\u6570\u636e\u5b58\u50a8\u4e2d\u4ee5\u6d41\u7684\u65b9\u5f0f\u8868\u793a\u51fa\u6765\u3002<\/p>\n<p>ngrx\/store\u7684\u793a\u4f8b\u5df2\u5b58\u50a8\u5728https:\/\/github.com\/ngrx\/angular2-store-example\u4e2d\uff0c\u5b83\u662f\u60f3\u8981\u4ed4\u7ec6\u9605\u8bfb\u7684\u5b58\u50a8\u5e93\u7684\u4e00\u90e8\u5206\u3002<\/p>\n<h3>\u53ea\u662f\u4e00\u4e2a\u6587\u672c\u6846\uff0c\u4f1a\u6709\u4ec0\u4e48\u95ee\u9898\u5462\uff1f<\/h3>\n<p>\u7531\u4e8e\u4e0e @laco0416 \u7684\u8ba8\u8bba\u975e\u5e38\u70ed\u70c8\uff0c\u6211\u5b8c\u5168\u6ca1\u6709\u6ce8\u610f\u5230\u5173\u4e8e\u4e0a\u8ff0ngrx\/store\u7684\u4f1a\u8bdd\u3002\u53ef\u80fd\u662f\u5173\u4e8eAngular2\u7684\u8868\u5355\u8ba8\u8bba\u3002<\/p>\n<h3>\u4f7f\u7528Codelyzer\u8fdb\u884c\u81ea\u52a8\u5316\u7684Angular 2\u98ce\u683c\u68c0\u67e5\u3002<\/h3>\n<p>\u540c\u6837\u7684<\/p>\n<h3>\u4e0d\u4f7f\u7528\u7c7b\u56fa\u9187\u6765\u63d0\u9ad8\u8868\u73b0<\/h3>\n<p>\u540c\u6837\u7684\u7406\u7531<br \/>\n\u4e0e\u4e0a\u6587\u76f8\u540c<br \/>\n\u4e0e\u524d\u6587\u4e00\u81f4<br \/>\n\u5982\u4e0a\u6240\u8ff0<br \/>\n\u5728\u524d\u6587\u4e2d\u63d0\u5230<br \/>\n\u6b63\u5982\u4e4b\u524d\u6240\u8ff0<br \/>\n\u5982\u524d\u6240\u8ff0<br \/>\n\u4ee5\u524d\u6240\u8ff0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u5e74\uff082016\u5e74\uff09\u5728\u76d0\u6e56\u57ce\u4e3e\u529e\u4e86\u4e00\u5e74\u4e00\u5ea6\u7684Angular\u754c\u7684\u76db\u5178\u6d3b\u52a8ng-conf\u3002\u867d\u7136\u6211\u6ca1\u6709\u53bb\u73b0\u573a\u53c2\u52a0\uff0c\u4f46\u6211 [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-38913","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>NG-CONF 2016\u7684\u7c97\u7565\u8bb0\u8ff0 - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/ng-conf-2016\u7684\u7c97\u7565\u8bb0\u8ff0\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"NG-CONF 2016\u7684\u7c97\u7565\u8bb0\u8ff0\" \/>\n<meta property=\"og:description\" content=\"\u4eca\u5e74\uff082016\u5e74\uff09\u5728\u76d0\u6e56\u57ce\u4e3e\u529e\u4e86\u4e00\u5e74\u4e00\u5ea6\u7684Angular\u754c\u7684\u76db\u5178\u6d3b\u52a8ng-conf\u3002\u867d\u7136\u6211\u6ca1\u6709\u53bb\u73b0\u573a\u53c2\u52a0\uff0c\u4f46\u6211 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/ng-conf-2016\u7684\u7c97\u7565\u8bb0\u8ff0\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-12-18T14:45:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-29T07:13:07+00:00\" \/>\n<meta name=\"author\" content=\"\u79d1, \u96c5\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u79d1, \u96c5\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/ng-conf-2016%e7%9a%84%e7%b2%97%e7%95%a5%e8%ae%b0%e8%bf%b0\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/ng-conf-2016%e7%9a%84%e7%b2%97%e7%95%a5%e8%ae%b0%e8%bf%b0\/\",\"name\":\"NG-CONF 2016\u7684\u7c97\u7565\u8bb0\u8ff0 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-12-18T14:45:32+00:00\",\"dateModified\":\"2024-04-29T07:13:07+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/ng-conf-2016%e7%9a%84%e7%b2%97%e7%95%a5%e8%ae%b0%e8%bf%b0\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/ng-conf-2016%e7%9a%84%e7%b2%97%e7%95%a5%e8%ae%b0%e8%bf%b0\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/ng-conf-2016%e7%9a%84%e7%b2%97%e7%95%a5%e8%ae%b0%e8%bf%b0\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"NG-CONF 2016\u7684\u7c97\u7565\u8bb0\u8ff0\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a\",\"name\":\"\u79d1, \u96c5\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g\",\"caption\":\"\u79d1, \u96c5\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/keya\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/ng-conf-2016%e7%9a%84%e7%b2%97%e7%95%a5%e8%ae%b0%e8%bf%b0\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"NG-CONF 2016\u7684\u7c97\u7565\u8bb0\u8ff0 - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/ng-conf-2016\u7684\u7c97\u7565\u8bb0\u8ff0\/","og_locale":"zh_CN","og_type":"article","og_title":"NG-CONF 2016\u7684\u7c97\u7565\u8bb0\u8ff0","og_description":"\u4eca\u5e74\uff082016\u5e74\uff09\u5728\u76d0\u6e56\u57ce\u4e3e\u529e\u4e86\u4e00\u5e74\u4e00\u5ea6\u7684Angular\u754c\u7684\u76db\u5178\u6d3b\u52a8ng-conf\u3002\u867d\u7136\u6211\u6ca1\u6709\u53bb\u73b0\u573a\u53c2\u52a0\uff0c\u4f46\u6211 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/ng-conf-2016\u7684\u7c97\u7565\u8bb0\u8ff0\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-12-18T14:45:32+00:00","article_modified_time":"2024-04-29T07:13:07+00:00","author":"\u79d1, \u96c5","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u79d1, \u96c5","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/ng-conf-2016%e7%9a%84%e7%b2%97%e7%95%a5%e8%ae%b0%e8%bf%b0\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/ng-conf-2016%e7%9a%84%e7%b2%97%e7%95%a5%e8%ae%b0%e8%bf%b0\/","name":"NG-CONF 2016\u7684\u7c97\u7565\u8bb0\u8ff0 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-12-18T14:45:32+00:00","dateModified":"2024-04-29T07:13:07+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/ng-conf-2016%e7%9a%84%e7%b2%97%e7%95%a5%e8%ae%b0%e8%bf%b0\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/ng-conf-2016%e7%9a%84%e7%b2%97%e7%95%a5%e8%ae%b0%e8%bf%b0\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/ng-conf-2016%e7%9a%84%e7%b2%97%e7%95%a5%e8%ae%b0%e8%bf%b0\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"NG-CONF 2016\u7684\u7c97\u7565\u8bb0\u8ff0"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a","name":"\u79d1, \u96c5","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g","caption":"\u79d1, \u96c5"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/keya\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/ng-conf-2016%e7%9a%84%e7%b2%97%e7%95%a5%e8%ae%b0%e8%bf%b0\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/38913","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=38913"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/38913\/revisions"}],"predecessor-version":[{"id":86030,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/38913\/revisions\/86030"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=38913"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=38913"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=38913"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}