Skip to content Skip to sidebar Skip to footer
Showing posts with the label Design Patterns

Trying To Concatenate All My Js Into One File And Needing Some Js Framework/pattern Type Advice

Just in case it matters, I use ASP.NET 3.5 with VB.NET. I have nested MasterPages and UpdatePanels… Read more Trying To Concatenate All My Js Into One File And Needing Some Js Framework/pattern Type Advice

Replace Switch With A Better Pattern (javascript)

I have to upgrade my app to display pages based on a users type and role properties. Currently I em… Read more Replace Switch With A Better Pattern (javascript)

What Is The Functional Difference Between These Two Different Module Pattern Syntaxes

I see this syntax everywhere: var mod = (function(){ var pvtvar; var pvtfunc = function(){}; … Read more What Is The Functional Difference Between These Two Different Module Pattern Syntaxes

What Is This Design Pattern Known As In Javascript/jquery?

I was looking over the JavaScript source code for SlickGrid. I've noticed that slick.grid.js ha… Read more What Is This Design Pattern Known As In Javascript/jquery?

Why Does The Facade Pattern + Revealing Modular Pattern "add Security"?

REFERENCE According to reference: Below is a more advanced version of the facade pattern that adds … Read more Why Does The Facade Pattern + Revealing Modular Pattern "add Security"?

Javascript Switch Within For-loop Break; Conflicts

I have switch nested with loop in JavaScript like: for (var i = 0; i Solution 1: That is exactly w… Read more Javascript Switch Within For-loop Break; Conflicts