摘要: Types have a bad reputation for making code harder to read, adding unnecessary ceremony, and in general complicating things. In this blog post I’d lik... 阅读全文
posted @ 2015-04-08 14:54 风轻如梦 阅读(193) 评论(0) 推荐(0) 编辑
摘要: Flux is an architectural pattern based on unidirectional data flow. Although it is originated in the React community, it is general and can be used wi... 阅读全文
posted @ 2015-04-08 14:53 风轻如梦 阅读(228) 评论(0) 推荐(0) 编辑
摘要: Angular 2 separates updating the application model and reflecting the state of the model in the view into two distinct phases. The developer is respon... 阅读全文
posted @ 2015-04-08 14:50 风轻如梦 阅读(323) 评论(0) 推荐(0) 编辑
摘要: Input handling is an important part of application development. The ng-model directive provided in Angular 1 is a great way to manage input, but we th... 阅读全文
posted @ 2015-04-08 14:47 风轻如梦 阅读(291) 评论(0) 推荐(0) 编辑
摘要: In this article I will talk in depth about the Angular 2 change detection system.HIGH-LEVEL OVERVIEWAn Angular 2 application is a tree of components.A... 阅读全文
posted @ 2015-04-08 14:46 风轻如梦 阅读(552) 评论(0) 推荐(0) 编辑
摘要: In this blog post I will talk about the changes coming in Angular 2 that will improve its support for functional programming.Angular 2 is still in act... 阅读全文
posted @ 2015-04-08 14:44 风轻如梦 阅读(233) 评论(0) 推荐(0) 编辑
摘要: Angular 1.x has two APIs for injecting dependencies into a directive. These APIs are not interchangeable, so depending on what you are injecting, you ... 阅读全文
posted @ 2015-04-08 14:42 风轻如梦 阅读(379) 评论(0) 推荐(0) 编辑