Java, C++, C# and PHP. The Differences.

Many of the students that come to learn in my courses already know other programming languages. In order to assist my students I chose to create a summery for all the differences between the four main programming languages I teach. If there is a topic in which a comparison is required please don’t hesitate and […]

Android Hybrid Applications Remote Debugging

When developing an hybrid application for the android platform we can debug our code in JavaScript using the Chrome DevTools. In order to assist my students I chose to create a short demo for using this remote debugging capability. The application I wrote in Java includes a simple single activity. The following is the code […]

Software Engineering in PHP April 2015

On Thursday April 30th I have started to deliver a professional course for learning how to develop the web application server side in PHP. The course includes 140 academic hours, it takes place in HIT and its cost is 6200 shekels. The following video clip overviews the topics covered in this course. Although it was […]

Android L Material Theme

The material design is a specification for creating user interface. The material design specification is developed and maintained by Google and it aims at all platforms. The new coming Android L platform will include an implementation for the material design. Towards the next coming Android course I am going to deliver in HIT I chose […]

HTML5 Application Cache Mechanism

The HTML5 Application Cache mechanism assists us with the development of web applications that can work offline. Using this mechanism we should create a manifest file that lists the resources (files) we want the web browser to keep their copies offline. The following code sample includes the demo.html file that refers sample.caching. The later lists […]

PHP 5.6 New Features

PHP 5.6 was released on August 28th 2014. This post overviews the main new features this new version introduces. Arguments Unpacking We can use the ‘…’ operator for passing over an array of values to a function we call and have the array values unpacked and assigned into the function parameters. The following code sample […]

JavaScript API Documentation using JSDoc

When developing a new library in JavaScript it would make things simpler for others if we also create a document that explains how to use the library we developed and how to use each and every function it includes. Such document, also known as API Documentation, can be easily created using the JSDoc tool. The […]

Cross-site HTTP requests

Cross-site HTTP requests are HTTP requests at URL addresses other than the domain of the resource making the request. The CORS specification allows the server side (that returns the resource we try to retrieve using the XHR object) to serve the resource to requests coming from resources that were served from other domains. According to the CORS specification the server side […]

The JSONP Technique

When using the XHR object in order to send an HTTP request to specific URL address we are limited. We cannot initiate this HTTP request to servers other than the one from which the web page (in which the code in JavaScript that uses the XHR object is running) arrived. The JSONP technique allows us […]

HttpOnly Cookies Overview PRO

When the server side sends back to the client HTTP headers that instructs the client to create a new cookie (or update a cookie that already exists), the cookie on the client side can be accessed using code written in JavaScript. HttpOnly cookies cannot be accessed using code written in JavaScript. In order to create a […]

Update cookies preferences