Tech Stack (2/16/2015)
. Angularjs
Things to know
Single Pages Apps
| ||
Angular
| ||
NodeJs
| ||
NPM
| ||
nodist
| ||
Yoeman
| ||
Bower
| ||
CommonJS, AMD (specifications)
|
Common JS api : ServerSide (node), AMD api suited for client side, RequireJS implementation. http://addyosmani.com/writing-modular-js/
| |
TDD
| ||
Jasmine
| ||
Testacular
| ||
Protractor
| ||
Grunt
|
less,jshint,bower,autoprefixer,fileblocks,rev,cssmin,imagemin,svgmin,htmlmin,concurrent,watch,karma,protractor
| |
FileBlocks
| ||
html5boilerplate
|
http://html5boilerplate.com/
| |
Modernizr
| ||
es5-shim
| ||
Tech Stack
AngularJS
| ||
Router
| ||
http://yeoman.io/
| ||
Jasmine
|
for BDD Testing
| |
Testacular or Karma
|
TestRunner
| |
Protractor
|
wrapper for Selium web driver
| |
webdriver aka selenium
| ||
- do we use jade over html template (http://tylerhenkel.com/creating-apps-with-angular-and-node-using-yeoman/)
Installing Nodejs (Best)
Javascript:
Tutorials
https://github.com/curran/screencasts/tree/gh-pages/introToAngular (good) (Introduction to Angular.js in 50 Examples)
http://stephanebegaudeau.tumblr.com/post/48776908163/everything-you-need-to-understand-to-start-with
PluralSight : Courses
other Video tutorial
Modules:
User Authentication
l18N and l10N
Angular Seed:
https://github.com/ngbp/ngbp (ngBoilerplate)
Design Pattern
- will use promise & call back http://fdietz.github.io/recipes-with-angular-js/consuming-external-services/deferred-and-promise.html
- Login & Authentication http://blog.brunoscopelliti.com/deal-with-users-authentication-in-an-angularjs-web-app
Testing:
MEAN Stack/ Nodejs
nvm
https://github.com/marcelklehr/nodist (added path variable C:\Users\salagappa\Projects\Mean\nodist\bin)
JSFiddle:
AngularJS Batarang - Good Debugger
https://chrome.google.com/webstore/detail/angularjs-batarang/ighdmehidhipcmcojjgiloacoafjmpfk?hl=en
Models
Interesting projects:
Mock Data:
https://www.debuggex.com/#cheatsheet
Testing Framework
http://www.codeorbits.com/blog/2014/01/26/angularjs-end-to-end-testing-with-protractor-easy-set-up-with-yeoman/
Best Practice Recommendations for Angular App Structure
Version:
Directives / Widget
http://ivaynberg.github.io/select2/ (Loading remote data for font dropdown)
Grunt:
http://stackoverflow.com/questions/12346690/is-there-a-way-to-make-angularjs-load-partials-in-the-beginning-and-not-at-when
angular -color picker :
Messaging - Pubsub
Model:
Test Driven Development
e2e Testing:
e2e or end-to-end or UI testing is a methodology used to test whether the flow of an application is performing as designed from start to finish. In simple words, it is testing of your application from the user endpoint where the whole system is a black box with only the UI exposed to the user.
- Selenium automates browsers. That’s it.
- WebDriver (or Selenium 2) basically refers to the language bindings and the implementations of the individual browser controlling code.
- WebDriverJS has an important difference from other bindings in any other language - It is asynchronous.
- Protractor is a library by the Angular team which is a wrapper on WebDriverJS and Jasmine and is specifically tailored to make testing of Angular apps a breeze
- 1,500 AngularJS tests in WebStorm against Chrome Canary and Chrome in less than 5 seconds. (Testacular)
- Karma : A simple tool that allows you to execute JavaScript code in multiple real browsers.
- https://github.com/angular/protractor/issues/9 (protractor + karma)