Lesson 11: Scope in JavaScript

In this lesson, I focus on the nitty gritty of Scope and Lifetime of variables in JavaScript Language. JavaScript has similar scoping model as most other C like languages with a minor difference in that it does not have block…

0

Lesson 10: Prototypes in JavaScript

Sorry for the long delay between the last lesson and this one. Lots of travel and work got in the way of this post. Without further ado, here is the lesson on Prototypes. Prototype is much misused keyword in JavaScript….

0

Lesson 9: Constructor Functions

Constructor functions in JavaScript are special functions that allow you to create a factory function that can create many objects of the same type through code reuse. For Object Oriented programmers, constructor functions are a familiar concepts. The code for…

0

Lesson 8: JavaScript Functions

JavaScript functions are what gives Javascript its power. With JavaScript functions, you can break down your code into small modules which, helps with readability, debuggability and reusability of code. JavaScript functions double up as objects as well. Here is the…

0

Lesson 7: Assignment 1 – Etch-a-Sketch and CScript

Hello and Happy New Year! I am back in the new year with the first blog entry that will exercise your mind and give you some hands on experience as you progress through it. Reading input using node.js is not…

0

Lesson 6: Arrays in JavaScript

Arrays are one of the built in DataTypes in JavaScript. They are on par, if not more useful than Objects. Arrays in JavaScript perform the function of Arrays and Lists/Vectors in other languages. Arrays allow you to traverse their contents…

0

Learning Expression Blend – Finally!

I have been developing Windows Phone apps for a while but like most developers, I had a bit of an block towards tools that require fiddling around buttons to change the UI. Windows Phone is all about XAML + C#….

0

Windows 8: Sharing a HTML5 canvas as an image

Recently, I was working on a Win8 Javascript app where I drawing something on an HTML canvas. One of the requirements was that the user should be able to share the contents of the canvas as an image. The toDataURL…

0