Browse by Tags

Tagged Content List
  • Blog Post: C#:Linq :: Javascript:Jquery

    Almost a year back, i had to write my first module using JQuery. Within days of using it, i fell in love with the library. And it wasn’t because of the numerous features that it offers but the lean and intuitive APIs  that it exposes. Till then i was just a regular C# developer and knew traditional...
  • Blog Post: Chain of Responsibility pattern

    One of the popular design pattern documented by Gang of Four is the Chain of Responsibility pattern. The Chain of Responsibility pattern allows decoupling between objects by passing a request from one object to the next in a chain until the request is recognized. It is about avoiding coupling the sender...
  • Blog Post: Closures ??

    A disclaimer first: This post will make sense to you only if you have read and understood my post on lexical scoping in JavaScript . And if you have read my post then i don’t have much to explain here. Now, since JavaScript is lexically scoped, the following script is perfectly valid: function localise...
  • Blog Post: Lexical scoping

    I was planning to post a write up on closures in javascript but it made sense to first introduce you to concept of lexical scoping (or static scoping). In JavaScript, functions have lexical scope. This means that functions create their environment (scope) when they are defined, not when they are executed...
  • Blog Post: JavaScript and performance : Function rewriting

    The dynamic nature of JavaScript makes it fascinating. The fact that function can be created as well as modified at runtime is one of the amazing stuff you can do in JavaScript unlike in static languages like Java and C#. Consider an example of function rewriting at runtime below: function temp() { alert...
Page 1 of 1 (5 items)