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 History API
The HTML5 History API allows us to manipulate the web browser history. The new capabilities this API adds include the possibility to add new entries into the web browser history and to change the visible URL address the web browser shows without any refresh. The following code sample shows how simple it is to change the […]
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 […]
Debugging PHP Web Application using Zend Studio
Zend Studio makes things very simple when it comes to debugging web applications that were developed in PHP. The following code sample include two files. The first presents a simple form to the user that allows him to enter the width and the height of a specific rectangle. <form method=”get” action=”index.php”> width: <input type=”text” name=”width”> […]
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 […]
Emulating Mobile Devices in Google Chrome
The Google Chrome web browser allows us to emulate various mobile devices. We just need to enter the Developer Tools mode and select the device we want to emulate. The following video clip shows how simple it is to do it. You can find more resources, including video clips, for learning how to debug using […]
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 […]
PhoneGap Build Jump Start
I have recentpy chose to update my training material for the PhoneGap library and add a short coverage for using PhoneGap cloud based tool at build.phonegap.com. The first step would be creating an Adobe ID account. Once created you can proceed and start using this tool. The PhoneGap Build allows you to code the HTML, […]
The RedBeanPHP Framework PRO
The RedBeanPHP4 framework is probably the easiest to learn open source ORM framework in PHP. In the professional PHP course I deliver in HIT I chose to teach how to use this framework instead of Propel. It is a simple framework both for teaching and using. I have recently completed to prepare the training material […]