Author Archives: stoimen

Zend Framework – quick tutorial (part 3) – front controller plugins

Why writing a front controller plugin? Almost every application uses a database connection and acl module. Why doing this in the bootstrap and to mantain many lines of code there, instead of making it clear and mantainable. Of course you … Continue reading

Posted in PHP, web development, zend framework | Tagged , , , | 6 Comments

The SWFObject method createSWF problem

The Problem Although the SWFObject method – createSWF is working fine under IE sets the wmode not to be transparent but with the strange value of window, i.e. <PARAM name=”WMode” value=”Window” /> The Solution is … to replace the createSWF … Continue reading

Posted in javascript, web development | Tagged , , , , , , | Leave a comment

Zend_Date with dates before 1901

Zend_Date Zend_Date is the Zend Framework module for manipulation of dates. It gives several advantages. Everybody how has dealed with dates knows that built in PHP date function cannot manage dates before 1901. With that kind of problems Zend_Date is … Continue reading

Posted in micro tutorial, PHP, zend framework | Tagged , , , , | Leave a comment

Flex 3: compare two dates

Theory of Operation You’re using Flex 3 and want to compare two dates. The format of the dates is string something like “2009 May 05″. The question is … What’s the best way to compare them Well if you’ve the … Continue reading

Posted in flex 3, web development | Tagged , , , | 11 Comments

Switch from Zend_Loader to Zend_Loader_Autoloader

Zend_Loader Zend_Loader was the usual kind of autoloading in Zend Framework before version 1.8. Than simply you say: require_once “Zend/Loader.php”; Zend_Loader::registerAutoload(); That made all your application to autoload files from the library folder where usualy the Zend Framework stays. That … Continue reading

Posted in zend framework | Tagged , , | 18 Comments