Category: Technical Discussions

June 9, 2006 / CakePHP

I wanted to present a range of choices in a nicely formatted table and couldn’t see helper to do the job – so this is my first snippet for Cake PHP. I doubt it’s perfectly cake (for instance I do the header row myself rather than using the html helper, and I concatenate a string rather than building an array)

In this instance I added the function radioTable to a helper called “fed” and gave it the standard model and field variables.

May 30, 2006 / PHP & Web Development

Well not really, but a DP’er wanted to know how to pull a random link from a directory and direct her visitor there. Not my style of surfing but hey…

You can see Surprise Me working over at Top 100 vBulletin, just look down the menu on the left hand side.

Here’s the code

May 29, 2006 / New Zealand
May 28, 2006 / Technical Discussions

I’m working on a new project at the moment, it’s an intranet type thing so no point in linking to it, but I’m using CakePHP and thats been really interesting. Definately RAD, supposedly simple but it’s got so many really good features that while it is simple, it can be hard to discover the genius.

For instance,

  1. $this->flash controls post save redirects, but doesn’t do the actual redirect if you have debugging turned on. You have to dig out the default template to know this though.

DigitalPoint remains the number one forum on the net, as far as I can see and I’ve recently been made a moderator. It actually changes the way I use the forum and it’s really very interesting.

Christian Mezei owns SEOPedia and a free directory WebXperience – and he has big plans for that.

NoFollow was hailed as the saviour of our sites, the answer to comment spam, forum spam and poorly maintained sites.

The idea was that by adding the “rel” attribute to a link the search engines would know that the link isn’t endorsed by the site.

[html]MySite[/html]

The syntax isn’t difficult and easy enough for a spammer to find, and walk away from.

Sadly, the spammers haven’t caught on, and continue to employ unfortunates to do their dirty work, hoping that one day someone will see the light and spend some money on their ridiculous sites.

A spam filled site is a neglected site, one where the owner has had good intentions but not the time or inclination to follow through. The spam becomes a red flag to Joe Average that the site isn’t maintained and to look further for the information sought. That the site will eventually be downgraded in the search engines is appropriate – it is after all, stale and abandoned.

May 14, 2006 / Mambo / Joomla
May 8, 2006 / Technical Discussions

Cake PHP have launched a new version or their PHP framework and one of the snippets was the integration of SimplePie. The install and demo for normal sites is incredibly simple and the code is fully featured but held in a single file. It can even spit out the “subscribe via” links for the major sites.

All in all it appears to be very impressive.