|
AngularJS Good Practices培训
|
|
班级规模及环境--热线:4008699035 手机:15921673576( 微信同号) |
坚持小班授课,为保证培训效果,增加互动环节,每期人数限3到5人。 |
上课时间和地点 |
开课地址:【上海】同济大学(沪西)/新城金郡商务楼(11号线白银路站)【深圳分部】:电影大厦(地铁一号线大剧院站) 【武汉分部】:佳源大厦【成都分部】:领馆区1号【沈阳分部】:沈阳理工大学【郑州分部】:锦华大厦【石家庄分部】:瑞景大厦【北京分部】:北京中山学院 【南京分部】:金港大厦
最新开班 (连续班 、周末班、晚班):2024年12月30日 |
实验设备 |
☆资深工程师授课
☆注重质量
☆边讲边练
☆合格学员免费推荐工作
★实验设备请点击这儿查看★ |
质量保障 |
1、培训过程中,如有部分内容理解不透或消化不好,可免费在以后培训班中重听;
2、课程完成后,授课老师留给学员手机和Email,保障培训效果,免费提供半年的技术支持。
3、培训合格学员可享受免费推荐就业机会。 |
课程大纲 |
|
- Avoiding major pitfalls of scaling an AngularJS app
- Proper MVC directory structure
- Writing Modules in a smarter way
- Keeping the names consistent
Modularize the Header, Footer, Routes
Dependency injection and minifying the code
- Global dependencies
Not-overusing Controllers
- Syntax of 'controllerAs'
Using 'bindToController' in our Directives
Making 'ng-click' conditional
Factory vs Service
- All providers are singletons
Utilizing browser extensions (Batarang, etc)
- To many watchers and performance issues
- Scoping
- Write-only in the controllers
Read-only in the templates
Object in the scope instead of properties
Avoiding to shadow property of the parent '$scope'
Prototypical inheritance
Keeping scope uncluttered
How to talk with sibling objects
One-Time Binding
- Not-manual testing
- ngMock module
Protractor
- e2e tests with Jasmine '
$digest' cycles
Karma
- How to easly close the feedback loop
Run tests in parallel across different browsers
Real world usage scenarios with different devices
Not-using jQuery
- Change the way of thinking
Proper deploying
- Facade to interact with servers
Separation of server interaction and error handling from the model
Business logic in models
Configure providers before they are injected
Proper use of '$scope.$emit()' and '$scope.$broadcast'
Automating our workflow
yo, grunt, bower
Use case with cordova
Angular 1 vs Angular 2
- Differences and similarities
Three ways: typescript, pure js, dart
Good practices in Angular 2
Upgrading from version 1
|
|
|
|
|
|