New Toys, Old Thinking – Advertising in a new age

As a content provider a switch or move towards distributing content over the internet is quite a big thing, you can leverage the power of the internet, the extra input devices such as built in cameras, microphones and the standard keyboard and mouse.
With that, one would assume that you could offer a much richer platform [...]

Setting up Zend Framework from PEAR

Alright, so I’ve just changed my VPS provider because 1&1 are shit and my buddy Andy runs a good hosting gig http://www.theserve.com/. We’re running our stuff one one of his VPS’s until September and will more than likely move to a dedicated server once we move office. Any way!
One of the teething issues I have [...]

There has to be an easier way :(

So I’m working on a project, and I want to find all of the rows that don’t have a row in it’s related table using Zend_Db_Table_Select… Simple right? Not really . In theory this would be the query that I would write…
SELECT author.id FROM author LEFT JOIN project ON project.author_id = author.id WHERE project.author_id [...]

ZEND FRAMEWORK 1.10 IS OUT!

Zend Framework 1.10 is out, and with it a bunch of new features, and for once… the documentation is VERY helpful! For those having problems getting their head around Zend_Acl check out this tutorial… http://framework.zend.com/manual/en/learning.multiuser.authorization.html

Stripping down for IE6

This is a big subject for me as it’s very annoying, IE6 is a pain in the arse, and it always has been, my previous posts will tell you how much I hate the browser.
Recently I have been working on CSS/JS based graphs. The designs for these graphs are amazing, but I shuddered at the [...]

Zend_Acl + Zend_Auth + Zend_Controller_Plugin = HAPPY!

Ok, so after playing around with Zend_Acl for what seems like forever I’ve finally cracked what feels like the perfect marriage between Zend_Acl, Zend_Auth and an application.
You may ask yourself, why the fuck is it so hard? The simple answer is this…
Zend_Acl was designed in such a way that it does not require any [...]

PHP Variable Variables

Whilst I don’t advocate assigning variable variables, there are times when you need to create variables in PHP dynamically.
What is a Variable Variable?
A variable variable is a variable that can be set dynamically. For instance the normal way to create a variable in PHP would be:

$foo = ‘bar’;

But what happens when you’re setting a variable [...]

JS – Adapting to the situation (smart coding) with Portlet’s

Preface
For the past few months I’ve been workin with a content management portal to deliver my XHTML/JS/CSS I can’t stress how big a pain in the arse this is, as with any CMS there are limitations in the way that it works and problems when you try to use it for more than what it’s [...]

Dealing with IE6

Just like pretty much every single web developer out there, I hate IE, regardless of it’s version. IE7 made great leaps and bounds over IE6 but it was still stupidly buggy. How do you get around the annoyances of IE?
The guys over at ie6update.com have a great solution by emulating Internet Explorers information bar and [...]

Eclipse Shortcuts

Right clicking to create new table classes in Zend Studio for Eclipse can get very annoying. The best solution is to create shortcut for it. To do this:

open up preferences (cmd + , if you’re on a mac).
type in “keys” without the quotation marks.
to the right enter “Zend Table” into the “type filter text” [...]