Class Based OOP in Dart PRO

The Dart programming language uses classes and interfaces similarly to Java, C# and PHP. Dart supports single inheritance similarly to Java, C# and PHP. Dart supports multiple interfaces implementation similarly to Java, C# and PHP. As in Java and in C# every class inherits (by default) from the Object class. The classes can have public […]

Jump Start (Free) Lectures in HIT INFO

During April 2013 I will deliver four free lectures: HTML Jump Start, WordPress Jump Start, PHP Jump Start and Android Jump Start. The lectures will take place in Holon Institute of Technology during the evening hours. The number of seats is limited and there is a need to register in advance.

WordPress Jump Start Lecture INFO

On Tuesday November 27th I delivered a practical jump start for websites development using the WordPress open source project. You can find the detailed presentation I was using during the lecture ready for download at http://www.lifemichael.com/presentations/wordpressjumpstart.pdf. I have just complete to prepare a series of short video clips (in hebrew) you can watch for free and […]

MTA Android Course Final Project PRO

During Summer 2012 semester I delivered in Tel-Aviv Yaffo Academic College a course for android hybrid applications development. By the end of that course, the students developed an hybrid application for the android platform. The hybrid applications included a server side developed in PHP that worked with MySQL and a client side developed mainly using […]

The Zend Framework Zend_Locale Component PRO

Using the Zend_Locale component we can represent different locales. Each locale is a combination of a language and a country. Usually we will set the default locale of our application during the execution of our bootstrap file. Zend_Locale::setDefault(‘he_IL’); There are various possible ways for using the Zend_Locale. The following code sample creates new Zend_Locale objects […]

The Zend Framework Zend_Debug Component PRO

We can use the Zend_Dubug component for dumping back to the web browser screen the values of expressions in our code. $a = 23; $b = 12; $sum = $a + $b; Zend_Debug::dump(“a=”.$a); Zend_Debug::dump(“b=”.$b); Zend_Debug::dump(“sum=”.$sum); The following video clip shows a code sample for using the Zend_Debug component.

The Zend Framework Zend_Log Component PRO

Using the Zend_Log component we can easily write log messages tracking the execution of our code. We can write these messages to various destinations, such as a plain text file or a database. //writting log message $logger = new Zend_Log(); $writer = new Zend_Log_Writer_Stream(‘zfapp.log’); $logger->addWriter($writer); // attaching formatter to the writer $format = ‘%timestamp%: %priorityName%: […]

Zend_Db_Table Simple Demo PRO

Using the Zend_Db_Table class, which is part of the Zend Framework, we can easily access a specific table in our database. The following code sample shows how simple it is to add a new row using this class. The following code includes our definition for the users controller. <?php require_once ROOT_DIR.’/models/Users.php’; class UsersController extends Zend_Controller_Action […]

Simple Zend_Form Demo PRO

I have recently created a simple demo for using the Zend_Form. In order to keep it simple I chose to avoid using decorators. You can download the files and place them on your own server. The demo provides us with a simple BMI calculator. The user get to see a simple form where he should enter […]

Simple Zend Framework Jump Start PRO

I have recently created a simple demo for using the PHP Zend Framework. The simple demo was prepared in order to assist my students doing their first steps using this framework. The demo includes few controllers and it basically shows a list of books and a list of reviews for each one of them. In […]

Update cookies preferences