Archive for the ‘PHP Programming’ category

Zend Framework Model – Research into Possible Domain Model Solutions

October 1st, 2009

I’ve managed to spend some time sitting back and looking over some of hte projects I’ve worked on for the past year or so with the Zend Framework and decided that it was finally time to look into something that has always bugged me since the old Cubix Framework days.

That was the lack of decoupling of my Model layer from the View and Controller layers of my MVC projects. Don’t get me wrong, the applications we’ve written work and work well, but the perfectionist in me simply just refuses to stop trying to mentally refactor old projects.

From the time I had first conceptualised the our in-house MVC framework: Cubix and this is before switching to Zend, something that has left me in Analysis paralysis is the Model layer.

I mean, most things I’ve read usually mention the Model layer as a representation of your applications business logic, but this is left wide open to interpretation. The difficult thing here is, that because the business logic is so specific to projects, there’s no real way of explaining it aside from some really basic examples which turn out to be the equivallent of a Javascript example of: “Hello World.”

» Read more: Zend Framework Model – Research into Possible Domain Model Solutions

Joomla!: How to hide the Administrator or Front end layout template

April 21st, 2009

It’s taken a good part of an hour trying to find how to disable the administrator or front end template for Joomla.
So I thought I’d just make a post in an effort to turn this frustrated energy into something positive.

To display only the contents of the view on the page without being framed by a template, the tmpl variable needs to be set to “component”.

» Read more: Joomla!: How to hide the Administrator or Front end layout template

Joomla 1.5.7 Security release is now available

September 12th, 2008

Joomla! has released the latest version of their Open Source Software. In a nutshell, the release contains fixes for 1 critical and 2 moderate vulnerabilities.

The Developers urge all 1.5.x users to upgrade _now_

» Read more: Joomla 1.5.7 Security release is now available

Linkr – a beautiful extension for Joomla 1.5

September 9th, 2008

If you are a Joomla user or developer, then you would have come accross the requirement of linking to articles and/or menu items from the WYSIWYG editor.

The current way is tedious. You’d either have to try and guess the URL and have some sort of workaround so that you can remember how to format links. This requirement has always stumped us in the past, but after some R&D prior to coding up my own solution, I found out about the Linkr extension for Joomla 1.5!

» Read more: Linkr – a beautiful extension for Joomla 1.5

The Default Virtuemart Theme is a piece of $***!

August 30th, 2008

There I’ve said it, I’ve spent the most part of today and my afternoon yesterday theming VM. I thought, hey there’s a default template here, I’ll just modify that…

Several hours later, I’m bumping into inline styles, redundant div nesting and crappy css! FFS I just wanted to change a couple of defaults! VM team! Please update your default template to use semantic mark up!!!! I can’t put it anyother way… The default virtuemart theme is a piece of $***.

» Read more: The Default Virtuemart Theme is a piece of $***!