Knowledge Transfer

Tuesday, October 17, 2017

Promise vs Observable in Angular

Both Promises and Observables will help us work with the asynchronous functionalities in JavaScript. They are very similar in most cases, however, there are some differences between the two, promises are values that will resolve in asynchronous way like http calls. On the other hand, observables deal with sequence of asynchronous events. The main differences are as below:
  • having one pipe line
  • usually only use with async data return
  • not easy to cancel
  • are cancellable
  • are retriable by nature such as retry and retryWhen
  • stream data in multiple pipe lines
  • having array-like operations like map, filter etc
  • can be created from other sources like events
  • they are function, which could be subscribed later on
Also, I've created the graphical image for you below to show the differences visually:
Promises and Observables image

Monday, October 16, 2017

Wallaby.js is an integrated continuous testing tool for JavaScript

Wallaby.js is an integrated continuous testing tool for JavaScript. It runs your tests immediately as you change your code (you don’t even have to save the file) and displays various results (including the code coverage, error and console messages) right inside your code editor, next to your code. Wallaby.js is great for doing JavaScript TDD (Test-driven development) or BDD (Behavior Driven Development), but it works great for other approaches as well.
Wallaby.js consists of editor plugin to provide features such as the realtime feedback and code coverage:
for more information :
YouTube Video for testing in Angular2


Sunday, October 15, 2017

ScrollMagic and TweenMax JS

ScrollMagic is a jQuery plugin which lets you use the scrollbar like a playback scrub control. Using this, you can build some extremely beautiful landing pages and websites.

Friday, October 13, 2017

Build automation for Angular 2 and TypeScript with Gulp

Good Link and guides for Angular2/4 and Web API

Good Link for Learning......
I am facing this .dll library missing error: This programme can't start because api-ms-win-crt-runtime-l1-1-0.dll is missing. Try to reinstall this.

1.set the mongoDB bin path in environment varibles
2.cmd>enter mongod

any DLL error then install the above DLL.

deployd tool installation:

1.npm install -g deployd
2. > dpd --version
3.>dpd create <>
4. >dpd>restQuote>dpd

Angular2 and AngularJS good links for learn:

1 Intro to AngularJS. Angular is a client-side MVW JavaScript framework for writing compelling web applications. It's built and maintained by Google and offers a ...
In this article I am going to explain about FOREIGN KEY Constraints in SQL.
In this article, you will learn how to use cascading DropDownList using Angular 2.
In this article we will learn Directives in AngularJS simplified with examples.
In this blog we will learn how to pass data from Parent controller to child controller and child controller to parent controller in AngularJs

body, html { height: 100%;} /* The hero image */.hero-image { /* The image used */ background-image: url("photographer.jpg"); /* Set a specific height */
CSS Pseudo-elements. The CSS pseudo-elements is a ways to style elements of the document that weren't explicitly defined by a position in the document tree.
To use the converter, paste your Bootstrap 3 HTML code in the top text area and press the Convert Code button. Once ready, the converted code will appear ...   (online andriod app developement in chrome browser and it will crate the the .apk file to place into google store)
App Inventor needs JavaScript enabled to run. Your browser might not be compatible. To use App Inventor for Android, you must use a compatible browser. Currently the ...
CSS (paste your CSS code and convert!) Your Syntactically Awesome StyleSheets code
Toggle navigation Start Bootstrap. About; Services; Contact; Thumbnail Gallery

Monday, October 9, 2017 also has an Angular 1.x book which is geared towards writing Angular 1.x applications in an Angular 2 style. We hope you enjoy this book

Happy Coding,

Saturday, October 7, 2017

Authentication and Authorization in Angular2/4