Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1522184
  • 博文数量: 399
  • 博客积分: 8508
  • 博客等级: 中将
  • 技术积分: 5302
  • 用 户 组: 普通用户
  • 注册时间: 2009-10-14 09:28
个人简介

能力强的人善于解决问题,有智慧的人善于绕过问题。 区别很微妙,小心谨慎做后者。

文章分类

全部博文(399)

文章存档

2018年(3)

2017年(1)

2016年(1)

2015年(69)

2013年(14)

2012年(17)

2011年(12)

2010年(189)

2009年(93)

分类: 架构设计与优化

2015-04-28 15:19:26

Table of Contents

Tech stack (major components)

  • - Typed superset of JS that compiles to JS
  • - Javascript MVC framework from Google
  • - Responsive UI Framework
  • - Web server and build tool support (you probably don't need to know much about node itself for this project)
  • - Scaffolding tool to quickly generate stubs of new Angular components
  • - Javascript Task Runner (you probably don't need to know much about grunt itself for this project)
  • - Testing framework

    TypeScript

About typescript:

  • TypeScript originates from the need to develop large-scale JavaScript applications.
  • TypeScript is a strict superset of JavaScript, and add features such as type checking at compile time, classes, interfaces, and modules.
  • TypeScript supports the current ES6 proposal for class-based object-oriented programming

Training resources:

  • - A very good primer
  • - Quick crash course on structural typing
  • and - Requiring other modules in TS
  • - If you can't find the answer from Google, this is the last resort

Javascript

Training resources:

AngularJS

About Angular:

  • Has localization baked-in:   (JeffB: built-in localization is really lacking unfortunately)
  • Created & maintained by Google
  • RAD environment
  • Mature offering with lots of docs, examples, and training
  • Has known performance issues with large lists, however, there are tuning and work arounds:  
  • Plays nice with TypeScript:    AND  
  • customizable to the DOM level: 

Training Resources:

  • - A community driven style guide for AngularJS applications. This covers project layout and naming conventions (which may be less useful since we are defining our own) but also covers a number of best practices in order to increase testability and maintainability.
  • - A discussion of performance concerns in AngularJS and some rules for dealing with those concerns. As with nearly all discussions related to a specific technology and performance it needs to be taken with a grain of salt (the half life of performance recommendations always seems to be incredibly small) but there is still some useful stuff in there.
     

    Yeoman

     
  • How to use our custom Yeoman generator - It is strongly recommended to use Yeoman to create new components (controllers, directives, services, etc.). Our generator will also generate corresponding unit test files.
阅读(696) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~