PHP 5.4 Access Members on Instantiation <font size=-2>PRO</font>
PHP 5.4 allows us to access class members on the instantiation. We will use this special capability in those rare cases in which the only reason for creating the object is in order to allow us to access one of the class members. <? class Utils { function calc($numA,$numB) { return $numA+$numB; } } $temp […]
Shenkar Programming Languages July 2012 <font size=-2><a href=http://www.lifemichael.com/en/?page_id=73 target=_blank>ACD</a></font>
During the coming summer semester (July-August, 2012) I will deliver the Programming Languages academic course in Shenkar. This course belongs to Shenkar’s BSc Academic Program in Software Engineering. You can find the google group of this course at https://groups.google.com/forum/?fromgroups#!forum/shenkar-programming-languages-summer-2012. You can find the detailed plan at https://docs.google.com/spreadsheet/pub?key=0AhDgrQD6qivLdDk3eG9KWVZvM3I2THJjRmpncXVkQXc&output=html. You can find the formal syllabus at http://www.lifemichael.com/shenkar/PROGRAMMING_LANGUAGES_COURSE_SUMMER_2012.pdf
Android Platform HIT Summer 2012 <font size=-2><a href=http://www.lifemichael.com/en/?page_id=73 target=_blank>INFO</a></font>
During the academic summer semester in HIT I am going to deliver an academic course for android applications development. The google group we are going to use in this course can be found at https://groups.google.com/group/hit-android-summer-2012. The syllabus can be downloaded at http://www.lifemichael.com/en/wp-content/uploads/2012/09/ANDROID_SYLLABUS_201207.pdf. The detailed plan ca be found at https://docs.google.com/document/pub?id=1Wq4dPoqVm80OuVTloLcfFp_l1vZV7N5hobfy1YvMR48. The final project the students are going […]
PHP 5.4 Class::{expr}() Syntax <font size=-2>PRO</font>
PHP 5.4 provides us with a new way to invoke static functions. This new way allows us storing the function name in a variable (as a string) and place that variable within curly brackets. <? class GoGo { public static function do_something() { echo “something!!!”; } } GoGo::{‘do_something’}(); ?> The following video clip shows the […]
The __get & __set Magical Functions in PHP <font size=-2>PRO</font>
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 […]
Innovations in Learning and Technology: Asia-Pacific Perspectives <font size=-2>INFO</font>
The conference brought researchers from all over the world and especially from the Asia-Pacific area. It took place in the University of Victoria, Canada. During the conference researchers and professors shared their experience and in using innovative learning technologies. I had the honor to share my experience with the development and usage of the www.abelski.org […]
PHP 5.4 Support for Binary Format <font size=-2><a href=http://www.lifemichael.com/en/?page_id=73 target=_blank>PRO</a></font>
As of PHP 5.4 we can include in our code numbers written in a binary format. We just need to precede these numbers with ‘0b’. <? $a = 0b1110; //14 $b = 0b1011; //11 $c = $a & $b; //0b1010 echo $c; ?> The following video clip shows how this code executes and provides more […]
Word Press Jump Start Lecture in Ariel <font size=-2><a href=http://www.lifemichael.com/en/?page_id=73 target=_blank>INFO</a></font>
On february 28th I gave a short lecture about word press in Ariel college. During that lecture we overviews the WordPress open source project and practiced a simple installation. People were using their laptops in order to set up a new blog for themselves. The following resources were mentioned during my lecture: www.wordpress.org – main […]
DevCon 2012 Chrome OS Applications Development <font size=-2><a href=http://www.lifemichael.com/en/?page_id=73 target=_blank>INFO</a></font>
On February 21th 2012 I will deliver a short lecture about Chrome OS extensions and applications development. The lecture will take place in DevCon 2012. During this lecture you will learn how to develop a simple extension and a simple application for the Chrome OS platform and how to place them for sale at Google […]
Chrome for Android <font size=-2><a href=http://www.lifemichael.com/en/?page_id=73 target=_blank>BIZ</a></font>
Google has recently released a new version (beta) for the chrome web browser specifically for the android platform. You can find more information at http://www.google.com/intl/en/chrome/android/. It is another step towards the merge between the two operating systems. The Chrome OS on the one hand and Android on the other.