Обучающие видео » Компьютерные видеоуроки и обучающие интерактивные DVD » Программирование (видеоуроки)
AngularJS Patterns: Clean CodeГод выпуска: 2014
Производитель: pluralsight
Сайт производителя: pluralsight.com
страница курсаАвтор: John Papa
Продолжительность: 3h 31m
Тип раздаваемого материала: Видеоурок
Язык: Английский
Описание: Learn how to write AngularJS code using battle tested patterns to produce code that is easier to maintain, debug, and scale.
[spoiler="Содержание"]
1. Course IntroductionWelcome
Overview
Getting Started
Node.js
Getting the Code Ready
Running the Code
Development Editors
Running the Code With WebStorm
Setting Up the Second Sample
2. Separation of ConcernsIntroduction
Separation of Concerns
The Rule of One
Identifying Spaghetti Code
Spaghetti on the Wall
How to Separate
Tips for Separating With AngularJS
Summary
3. Organizing Your AppIntroduction
Why We Care About Organization
Defining Sorting Boxes
By Type or By Feature
The LIFT Principle
LIFT in a Small App
LIFT as an App Grows
Choosing Naming Conventions
Tips for Designing Your App
Example Structure By Type
Example Structure By Feature
Summary
4. ModulesIntroduction
Declaring the Module Dependencies
Three Categories of Modules
Custom Modules
Dependency Chains
Organization Strategies
Examining a Module Structure
Debugging Module Dependencies
Directives and Module Dependencies
Debugging Module Errors
Who Wins With Collisions?
Naming Tips
Summary
5. Readable Code and AngularJSIntroduction
Module Variables
Anonymous Functions
Named Functions
Global Variables Running Wild
Safely Minify Dependencies
Patterns to Register, Inject, and Define Components
Comparing File Structure Techniques
Reading Component Interfaces
Enhancing Readability
6. Controller PatternsIntroduction
The Role of a Controller
Nesting, Naming, and Dots
Nesting Controllers
Nesting Scopes Using Dots
Nested Scopes With Controller As
Controller As Variables in HTML
Faking Controller As With $scope
Separating Use of $scope Methods
Capturing This With a Variable in the Controller
Adding a Watch With Controller As
Instantiating Controllers
Injecting a Route's Resolve Into a Controller
Returning a Promise From a Route Resolve
Resolve Before All Routes
Testing Controller As
Choosing a Controller Technique
7. Annotations and Code Analysis via Gulp Task AutomationIntroduction
The Value of Task Automation
Setting Up Gulp
Creating a Gulp Task With ngAnnotate
Uglifying and Mangling Our Angular Code
Providing Injection Hints
ngAnnotate Tips
Code Analysis With Gulp and JSHint
Watching Files
Summary and Resources
8. Exception HandlingErrors and Angular
Catching Angular Errors
Managing Exceptions With Decorators
Routing Exceptions
Custom Exceptions
Summary
9. Using a Team Style GuideStyle Guide Topics
What, Why, and How
Parting Gift
[/spoiler]
Файлы примеров: присутствуют
Формат видео: MP4
Видео: AVC, 1024x768, 15 fps, 725 Kbps
Аудио: AAC, 98.8 Kbps, 2 channels, 44.1 KHz
[spoiler="Скриншоты"]

[/spoiler]