Tag: Javascript
-
Solved: WWAHost.exe remote endpoint was not reachable error in JavaScript Windows Store App
I was working on my office machine. While working I opened a JavaScript based Windows Store Application. When I tried to run application I got following exception, I was baffled due to this exception. After sort of research I found that I was on VPN. I have no idea why on VPN this exception occurred.…
-
Step by Step working with Windows Azure Mobile Service Data in JavaScript based Windows Store Apps
In my last post I discussed Step by Step working with Windows Azure Mobile Service Data in XAML based Windows Store Apps . In this post we will have a look on working with JavaScript based Windows Store Apps. Last post was divided in two parts. First part was Configure Windows Azure Mobile Service in…
-
What is Method Invocation Pattern in JavaScript
In this post we will take a look on “Method Invocation Pattern” in JavaScript. In JavaScript when function is defined as property of object then it is known as Method Assume we have a JavaScript object as following. In studentObject object property findgrade is a function. So we can say findgrade is a method. Invocation…
-
How to find index of an item in JavaScript Object Array?
Recently while working I came across a scenario. I had to find index of a particular item on given condition from a JavaScript object array. In this post we will see how to find index of object from JavaScript array of object. Let us assume we have a JavaScript array as following, Now if we…
-
Working with Knockout.js Part 5: Working with visible Binding
Working with Knockout.js Part 4: Observable Arrays Working with Knockout.js Part 3: Working with Observables Working with Knockout.js part 2: Understanding MVVM Getting started with Knockout.js So far we have learnt about different aspects of ViewModel creation in Knockout.js. We learnt and discussed about MVVM, Observable, and Observable Array etc. In this post we will…
-
Working with Knockout.js Part 4: Observable Arrays
Read Part 3: Working with Observables Read Part 2: Understanding MVVM Read Part 1: Getting Started So far we have learnt fundamental of KO. In Part 3 we worked with single observable object. In this post we will take a look on working with Arrays of Observable. Focus of this post is to understand how…
-
Working with Knockout.js Part 3: Working with Observables
Read here working with Knockout.js Part 2: Understanding MVVM Read here Getting started with Knockout.js So far we have learnt basics of Knockout.js. In last two posts we tried to understand need of KO and MVVM pattern. One of the most essential and important feature of MVVM is, “When View Model changes View must be…
-
Working with Knockout.js part 2: Understanding MVVM
Read here Getting started with Knockout.js part1 In last post we had a discussion on Getting started with Knockout. In this post we will go one step further and understand different aspects of MVVM pattern and how Knockout.js helps us in creating web application adhering to MVVM pattern. Let us start our discussion with understanding…
-
Working with Knockout.js Part 1: Getting started with Knockoutjs
In this post we will take a look on Knockout.js. We will start with basic theoretical introduction and then to some basic demo on Knockout.js Knockout.js helps us to create dynamic JavaScript UI using the MVVM pattern. It simplifies the task of linking Data Model to the dynamic JavaScript UI. Knockout.js is a JavaScript library…