March 30, 2008

Skip Navigation LinksIrocon > Blog > 2008 > March, 2008 > March 30, 2008

How To: Javascript Namespacing

Creating namespaces for javascript on web applications is a very uncommon approach. However, in a world where the possiblity of clashes between variable and function names is very high, especially among scripts from different sources, it becomes important to understand this neat and elegant concept by Dustin Diaz.Basically the steps that make this possible are as follows:Create the Namespace ObjectLast Updated:Thursday, September 02, 2010By:alferoSource#