JSON2HTML Jump Start PRO

The JSON2HTML JavaScript open source library provides us with a powerful templating system we can use to convert JSON objects into HTML. The following code sample shows how simple it is to use this library for the purpose of converting data we hold in JSON objects into HTML. <!DOCTYPE html> <html> <head> <title>json2html demo</title> <script […]

Datejs Jump Start PRO

Datejs is an open source JavaScript library that assists us writing code that handles dates. You can find it ready for download together with detailed documentation at http://datejs.com. The following code sample shows a simple demo for using this JavaScript open source library by showing how simple it is to add/remove days to/from a date […]

Sugar.js Jump Start PRO

Just as it sounds. Using Sugar.js is kind of adding some sugar to our code. Sugar.js isn’t a framework for creating magnificent user interface, one page web application or manipulating the DOM. Sugar.js is a simple libray that provides us with lots of useful functions we can use in order to write shorter code. The […]

WebSockets API using Apache Tomcat Jump Start PRO

Java EE supports the HTML5 WebSockets API. We can easily get a WebSockets server up and running by developing a servlet that extends WebSocketServlet class. The following code sample includes two files. The following is the HTML file that includes code in JavaScript for using HTML5 Web Sockets API. <!DOCTYPE html> <html> <head> <title>Simple WebSockets […]

Lo-Dash Jump Start PRO

The Lo-Dash JavaScript library provides us with a huge range of utility functions we can use in our code. Most functions will look familiar if you already have experience using functional programming languages. If you are already familiar with Underscore.js you will find this library very easy to learn. The following code sample shows how […]

Handlebars.js Jump Start PRO

The Handlebars JavaScript library provides us with a templates system we can use to create new strings for various purposes, such as new source code and configuration files. Templates created using the Mustache.js JavaScript library are compatible with Handlebars. We can use the same templates with both libraries. The following code sample shows how simple […]

Mustache.js Jump Start PRO

The mustache.js JavaScript library allows us to use simple strings as templates for creating other strings that will be used for various other purposes, such as generating new source code and generating new configuration files. The placeholders are replaced with values using a plain simple object we should create. The following code sample shows how […]

HTML5 Web Workers Debugging PRO

As of Chrome 15+ you can debug the separated threads your application implement using the Web Worker API. The following short video clip shows how to do it. You can find more video clips and code samples for using the HTML5 Web Worker API in my free (for personal use) Introduction to HTML5 course. You […]

The Two.js Framework PRO

The two.js JavaScript library provides us with the capability to create two dimensional drawings and animations. The following code sample shows how simple it is to use this library. If you try to run this code on your end make sure you update the link for the underscore-min.js file. <!DOCTYPE html> <html> <head> <title>two.js demo</title> […]

The Underscore.js Framework PRO

The underscore.js JavaScript library provides us with a huge set of functions we usually find in functional programming languages. The following code sample shows how simple it is to use this library. If you try to run this code on your end make sure you update the link for the underscore-min.js file. <!DOCTYPE html> <html> […]

Update cookies preferences