Monday, February 16, 2015

Design space 2.0 live





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










Installing Nodejs (Best)



Javascript:




Tutorials

[Best,Start here ] http://angularjs.org/






https://github.com/curran/screencasts/tree/gh-pages/introToAngular (good) (Introduction to Angular.js in 50 Examples)







PluralSight : Courses





other Video tutorial


Modules:


User Authentication


l18N and l10N





Angular Seed:



Design Pattern



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.
  • Now we need a testing framework to handle our tests. That is where Jasmine comes in.
  • 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.






Friday, December 26, 2014

Back to Native application development -Shell Application


we build one of the complex single page application using angular, flex,firebreath (npapi plugin),C,C++.

This application is remarkable because , to get seamless interaction working with hardware over the browser is very challenging.  having conquered this  we ended with even more challenge .

lot of users install some wired plugins and malware (chrome extensions, active x etc) which disrupts the flow of our application

Not all the browser work the same way, the small nuance across the browser is enough to upset the user and we end up spending ton of time chasing these issues

Huge testing effort to test 64 browser os combination.

most browser are in the process of removing npapi plugins



so turned towards shell app to wrap our webapp.!! awesome success got our app working in a day thanks to node-webkit.


https://github.com/rogerwang/node-webkit





Friday, November 28, 2014

Testing Frameworks Review



















for Magento






JMeter


brew install jmeter --with-plugins



Locust







To Review: