>>Tuesday, April 20, 2010<<
I started work on ACSdb "Pot of Gold", a system I am building for the Yarralumla Uniting Church Arts and Crafts show, today on my laptop. It was a fresh install of Zend Server CE so naturally there were going to be problems...
First up I was faced with:
An error occured while loading the application.
No default module defined for this application
#0 /home/valorin/workspace/library/Zend/Controller/Dispatcher/Standard.php(204): Zend_Controller_Dispatcher_Standard->getControllerClass(Object(Zend_Controller_Request_Http))
#1 /home/valorin/workspace/library/Zend/Controller/Dispatcher/Standard.php(238): Zend_Controller_Dispatcher_Standard->isDispatchable(Object(Zend_Controller_Request_Http))
#2 /home/valorin/workspace/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#3 /home/valorin/workspace/potofgold/webapp/application/bootstrap.php(81): Zend_Controller_Front->dispatch()
#4 /home/valorin/workspace/potofgold/webapp/public/index.php(20): require('/home/valorin/w...')
#5 {main}
Tags: annoyances, debug, php, zf
>>Friday, February 12, 2010<<
When I am working on Zend Framework projects I usually find that I am referencing .ini files a lot within my code, which usually means typing the following line many times:
<?php
$oConfig = new Zend_Config_Ini("../application/configs/config.ini");
?>
Although it is simple enough to remember, it does get tedious after a while and I always wondered what the execution time of the code was like calling the same config file multiple times on each load (i.e. in different classes).
Tags: scripts, val_config, zend_config_ini, zf
>>Thursday, February 4, 2010<<
It has taken be a while, but the new Valorin.net is finally live!
I've usually gone down the path of building a generic CMS to power my website which, although useful for building other websites, results in a lot of work building a generic system to do a lot of custom things... and the CMS usually never gets finished either. So instead of building a CMS I decided to use Zend Framework to power my website and build it specifically for valorin.net. In the process I have developed a blog module and a gallery module that I hope to release public copies of soon.
So here we are. A new Zend Framework powered website for me to have fun updating!