String.js Jump Start PRO
String.js is a lightweight open source JavaScript library that provides us with useful functions for working with strings. You can easily download the String.js library code browsing in GitHub at https://github.com/jprichardson/string.js. The string.js library adds the S property to the window global object. The following code sample shows how simple it is to use this […]
Goldman Sachs Collections PRO
The Goldman Sachs Collections framework (AKA GS Collections) provides us with an alternative implementation for the JDK collections framework. GS Collections provides us with capabilities similar to those we find in programming languages such as Scala, C# and Samlltalk. Using this framework together with lambda expressions allows us writing significantly shorter code. The following code […]
Microtext.js Jump Start PRO
The Microtext.js open source JavaScript library provides us with useful functions for working with texts. Using this library is fairly simple. It doesn’t require any other library. The following code sample shows how simple it is to use the functions this library provides us with. <!DOCTYPE html> <html> <head> <title>microtext.js demo</title> <script type=”text/javascript” src=”microtext.min.js”></script> </head> […]
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 […]
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> […]
The PhoneGap deviceready Event PRO
When using the PhoneGap JavaScript library we must make sure the device is ready before we start calling the various PhoneGap functions. In order to verify the device is ready we should hook up with the ‘deviceready’ event. The following code sample shows how simple it is to hook up with this event. If you […]
The Polymer Framework PRO
The polymer framework allows us to develop the web application client side by putting together components that were already developed or custom ones we developed by ourselves. Developed by Google, the framework is currently in its very early stage and a port for Dart was already developed. The following video clip shows how simple it […]
Courses I teach in HIT INFO
I teach 3 electable academic courses in HIT Computer Science department: Java SE, Android and Java EE. The first covers the core topics in Java and Scala and sets the foundation required to take the two other courses. On January 18th I will take part in a public meeting hour through which lecturers answered questions about […]
The First Programming Language ACD
I was recently asked ‘what is your recommendation for the first programming language to teach in a three years academic program?’. Thinking about this question, it was clear to me the programming language itself is just a tool and the topics been taught are the ones that should be in question. Unlike many others, I believe […]
The Faces Application INFO
The Faces application assists teachers with remembering their students. It is a simple application to use that most of it was developed in Scala. It uses the Bing Java SDK for fetching the students images from the web. It was developed by Dor Schaike, Oded Azulay and Nofar Chanuka, who took part in the Internet […]