Uncategorized

JS – OOP

Object Oriented Programming (OOP) refers to using self-contained pieces of code to develop applications. We call these self-contained pieces of code objects, better known as Classes in most OOP programming languages and Functions in JavaScript. We use objects as building blocks for our applications. Building applications with objects allows us to adopt some valuable techniques,… Continue reading JS – OOP

Uncategorized

Learn Gulp

Gulp Build SystemPart 1: Fundamentals What Is A Build System ?  A build system is simply a collection of tasks (commonly called “task runners”) that automate repetitive work. Typical usage would include compiling preprocessed CSS and JavaScript, concatenation, minification, firing up a server for automatic browser reloading and creating a deployment build. Build systems usually… Continue reading Learn Gulp

AngularJS

AngularJS – $watch() , $digest() and $apply()

The AngularJS $scope functions $watch(), $digest() and $apply() are some of the central functions in AngularJS. Understanding $watch(), $digest() and $apply() is essential in order to understand AngularJS. When you create a data binding from somewhere in your view to a variable on the $scope object, AngularJS creates a "watch" internally. A watch means that… Continue reading AngularJS – $watch() , $digest() and $apply()

AngularJS

AngularJs – Asynchronous Behavior with Promises and $q

  what's  a promise ? A promise is a method of resolving a value (or not) in an asynchronous manner. Promises are objects that represent the return value or thrown exception that a function may eventually provide. Promises are incredibly useful in dealing with remote objects, and we can think of them as a proxy… Continue reading AngularJs – Asynchronous Behavior with Promises and $q