Archive for December, 2008

Eclipse PHP PDT no file extension problem.

Monday, December 8th, 2008

So to my surprise recently, Eclipse PHP PDT doesn’t show syntax highlighting for files which don’t have the .php (or variant of that) extension. i.e. it won’t allow a blank extension.

Honestly there is no reason not to use the .php extension if you’re working with a proper MVC framework, however in some recent work i have come across i’ve seen this used to facilitate “pretty” urls, which in turn has a positive influence on SEO ranking of course.

So, the solution is as follows. (more…)

Zend Loader isReadable causing trigger error problem

Monday, December 8th, 2008

I noted recently while writing a debugging error logging plugin for the Zend Framework that I was getting some E_WARNING’s logged in the database table it was utilising.

Having analysed the information a little further I realised that the framework was doing something rather funky. I had structured the application to be a modular layout as exemplified by the wiki guide for framework layout. I’d set up the module, controller and view components into their own directory (called “account”) and all was working fine. The Zend_Form was rendering correctly as I expected it to.

(more…)