Thursday, April 26, 2012

Sunday, April 15, 2012

Optimistic/Pessimistic Concurrency

The technique that first investigates whether other transactions have changed values in a row before permitting changes to be submitted.

Contrast with pessimistic concurrency control, which locks the record to avoid concurrency conflicts.

Optimistic control is so termed because it considers the chances of one transaction interfering with another to be unlikely.

http://msdn.microsoft.com/en-us/library/bb399373(v=vs.110).aspx

Saturday, April 7, 2012

HTML 5 and User Agents

User agents are not allowed to infer any meaning from the value of the id attribute

http://web.archive.org/web/20110716100719/http://diveintohtml5.org/semantics.html
Hence, the usefulness of semantic elements, such as "<header>," over pre-HTML 5 '<div id="header">'

Sunday, April 1, 2012

jQuery Templates Binding Expressions

Example:     <li><b>${Name}</b> (${ReleaseYear}) ${addCommas(GrossProfit)}</li>
http://api.jquery.com/tmpl/ 

Uses the $.tmpl method as a utility function of the jQuery function.

Templates can be defined in script elements or passed to the tmpl method.

Features one-binding only.