Parsing JSON in JavaScript PRO

There are many cases in which we need to parse JSON data our code receives. When writing our code in JavaScript parsing the JSON data is fairly simple. We just need to invoke the parse() function on the JSON object, as in the following code sample. The JSON object is available in most modern web […]

The Decorator Design Pattern in JavaScript PRO

The decorator design pattern was created in order to allow us adding new functionality to an already existing class without extending it. The decorator design pattern was created for those cases in which we cannot extend the class. The following code sample shows a simple demo for implementing the decorator design pattern in JavaScript. <!DOCTYPE […]

The Factory Design Pattern in JavaScript PRO

The factory design pattern is a creational pattern. It assists us with creating new objects. Instead of using the new operator in order to create a new object we call the factory method and pass over arguments it uses to create the exact object we need. The following code is a small sample for implementing […]

The zxcvbn.js JavaScript Library PRO

The zxcvbn.js JavaScript open source library provides us with a simple easy to use function for evaluating the strength of a password the user enters. Using this library we can provide our user with an immediate feedback. The following code sample shows how simple it is to use this JavaScript open source library. You can […]

HTML5, JavaScript and CSS3 Microsoft Certification INFO

Looking for a professional and valueable certification that covers today topics in HTML5, JavaScript and CSS3 I came across Microsoft Exam 70-480. Going over the topics it covers I was a bit dissapointed.  The exam covers HTML5 official parts only. It ignores many of HTML5 non official parts, that you can already find supported in […]

The yepnope.js JavaScript Library PRO

The yepnope.js is a JavaScript library that allows us an asynchronous conditional resource loading in according with conditions been tested on the client side. The following is the code that I was using in this video clip. Make sure you update the link to the JavaScript files before you run it. <!DOCTYPE html> <html> <head> […]

Log4JavaScript Jump Start PRO

Using the Log4JavaScript framework we can add logging messages into the code we write in JavaScript. Log4JavaScript is very similar to Log4j. We can add appenders, we can work with multiple loggers and we can set the logging messages layout. The following video clip shows the very basics of using this framework. I have just […]

Google Maps JavaScript API v3 Jump Start PRO

Using the Google Maps Javascript API we can embed Google Maps in a web page we develop and develop code that interacts with it. The following three video clips overview the very basics of using this API, starting with obtaining the key, creating a simple map and placing markers on it. I have just complete […]

JavaScript is the new Java PRO

Looking forward into a future of endless small software pieces embedded all over it is clear that javascript is most likely the only programming language that can deliver the promise of writing once and running everywhere. As of 2013 JavaScript is most likely the new Java!

Ariel College JavaScript Libraries Lecture PRO

On April 4th 2011 I visited Ariel College and lectured about the currently available JavaScript libraries. My lecture covered jQuery, jQueryMobile, Ext JS and Sencha Touch. You can download the slides at http://www.lifemichael.com/presentations/javascript_libraries.pdf.

Skip to content Update cookies preferences