Play Framework Jump Start in Scala PRO

I have recently started to work on a new course for learning how to use the Play Framework. Its community version is already available for free personal usage at http://abelski.lifemichael.com. So far I have completed the first two topics: Introduction and Jump Start. I believe that if you consider learning this framework then you might […]

Using Apache DB as In-Memory Database PRO

If you are already familiar with using the Apache DB I believe you will find it very simple to start using it as an in-memory database. You just need to change connection string you are using. Using Apache DB as an internal database running together with our application in the same process you just need […]

Open Source In-Memory Databases INFO

Using an in-memory database we get most of the data saved on the main memory instead of having it saved using the hard disk storage mechanism. The main advantage of using an in memory database is the excellent performance we can achieve. There are many in-memory databases we can use. Some of them are available […]

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 […]

Collie.js Jump Start PRO

The Collie.js JavaScript library allows us to create simple 2D graphics animations. The Collie.js library indirectly uses HTML5 canvas based graphics capabilities. The following code sample shows how simple it is to use this library. The animation uses a simple image file. <!DOCTYPE html> <html> <head> <title>collie.js demo</title> <script type=”text/javascript” src=”http://jindo.dev.naver.com/collie/deploy/collie.min.js”></script> </head> <body> <div id=”drawingarea”></div> […]

Hammer.js Jump Start PRO

The Hammer.js JavaScript library allows us to handle gesture touch events that take place when running our code on a touch screen device. The following code sample shows how simple it is to use this library. You just need to pass over the name of the gesture touch event you want to handle and the […]

Swipe.js Jump Start PRO

Swipe.js is one of the most popular JavaScript libraries that allow us to get a responsive slider in our web page. The following code sample shows how simple it is to use this JavaScript library. It includes 4 images that were prepared in advance. <!DOCTYPE html> <html> <head> <title>swipe.js demo</title> <script type=”text/javascript” src=”swipe.js”></script> <style> .swipe […]

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 PhoneGap window.device Object PRO

The PhoneGap JavaScript library adds new properties to the window global object. One of them is the device property. The device property holds a reference for an object that describes the device. The following code sample shows how simple it is to use this object in order to get detailed information about the device. <!DOCTYPE html> <html> […]

Skip to content Update cookies preferences