Difference between revisions of "Closure"

From Organic Design wiki
(glossary item)
 
(glossary itemThe Module pattern)
Line 4: Line 4:
 
== See also ==
 
== See also ==
 
*[http://jibbering.com/faq/notes/closures/ Understanding closures]
 
*[http://jibbering.com/faq/notes/closures/ Understanding closures]
 +
*[[The Module pattern]]
 
*[[JavaScript]]
 
*[[JavaScript]]
 
*[[jQuery]]
 
*[[jQuery]]

Revision as of 17:19, 10 September 2012

Glossary.svg This page describes a concept which is part of our glossary

A closure is like a bubble in JavaScript in that it acts like a separate self-contained global scope, and can contain variables, functions, and even entire JavaScript frameworks like jQuery. The viewer onto the unified ontology intenernally maintains a closure for each node, and many of these nodes have a visible interface aspect in the form of an associated DOM element in the page. The unified ontology viewer also allows each node to be persistent by storing them in a peer-to-peer semantic network.

See also