BARCODE Blog

C# Bridge Pattern 0

Design Patterns: The Bridge Pattern

The bridge pattern is a very popular patterns that is used often in object-oriented architectures. It is a pattern that is difficult to grasp initially and can often be difficult to identify. It appeared...

0

RequireJS Overview

RequireJS is an open source JavaScript library that has gained a lot of popularity in the recent years. The library is used to manage JavaScript dependencies and to prevent script loading order issues. It...

JavaScript DOM JQuery 0

Finding DOM Elements: JQuery vs. Native JavaScript

Finding Descendants in JQuery In JQuery, you can use the built in ‘find’ function to search trough query results and select specific descendants. The find function accepts a CSS selector and it is straight...

0

JQuery vs. Native JavaScript Operations

What made jQuery Popular? jQuery has become so popular lately, mainly due to it’s ease of use, robustness, small size (< 50kb). However, the secret to jQuery's success in my opinion is it's reliable...

Iteration in Native Javascript

Like JQuery, native JavaScript supports querying the DOM using standard CSS selectors. This is typically done using the function ‘document.querySelectorAll()’. However, unlike the JQuery selector function, this function return a NodeList object as opposed...

1

JavaScript Revealing Module Pattern

JavaScript has gotten very popular lately with the right rich web client applications. There a many JavaScript libraries available, both open source and commercial with very strong support from the community. However, as JavaScript...

0

The For…in Loop in JavaScript

Most developers coming from a C# or a Java background find the ‘for-in’ loop feature in JavaScript confusing. Perhaps the reason is that the ‘for-in’ loop is often confused by the ‘foreach’ loop in...

0

Concatenate Column Data into a Single Cell in SQL

Sometimes, one has the need to combine or concatenate a subquery result into a single cell. The cell result could be in the form of XML data or simply a comma separated list of...

JavaScript 0

Equality in JavaScript

Objects in JavaScript are only equal to themselves Objects are not equal even if they have the same values There are two equality operators in JavaScript, ‘===’ and ‘==’ There are also two inequality...