Android Logcat & PhoneGap PRO

When developing an hybrid application we encounter difficulties when tried to track (debug) code we wrote in Java Script that is executed inside the WebView object. The problem becomes even more complex when using PhoneGap. The following code sample shows how we can use the android logcat for getting log messages from the code we […]

The __get & __set Magical Functions in PHP PRO

Using these two functions we can dynamically add new variables, that weren’t defined in the class, to objects in our program. <? class Bongo { var $vec; function __construct() { $this->vec = array(); } function __get($str) { return $this->vec[$str]; } function __set($var_name,$var_value) { $this->vec[$var_name] = $var_value; } } $ob = new Bongo(); $ob->name=”balaboa”; $ob->id=12123123; echo […]

The Decorator Design Pattern in PHP PRO

The decorator design pattern allows us to add behavior to an existing object in a dynamic way. The following video clip explains it using a code sample in PHP. You can find the source code available for free download in my ‘PHP Design Patterns’ course, which is available for free personal usage at www.abelski.org.

WP7 First Steps BIZ

During last months I come across many developers that share zero confidence in the WP7 platform. Many of them still share the dissapointment from windows mobile. Many of them still believe that the wireless operators will keep blocking microsoft. Many of them simply don’t believe that the WP7 platform can take off. In a dynamic […]

Scala. Bridging The .NET and Java EE Worlds. BIZ

Scala is an object oriented and a functional programming language. If you already know Java or C# you will find Scala an easy to learn and a powerful one. Most of the new features that were added in C# (comparing with Java) exist as well, and apart of enjoying the power of OOP you will […]

Skip to content Update cookies preferences