CoffeePowered

Archive for the ‘Development’ Category

Using PHP’s alternate syntaxes

If you’ve ever worked with PHP you’ll be more than familiar with the use of if/elseif/else conditional statements, these statements often become large and unweildy, especially when HTML is mixed in with PHP, causing a problems with code readability. There are a couple of alternate ways to write these statements which can improve your code.
if..endif [...]

read more

3

Quick and dirty dropdown pagination in CakePHP

I’ve been slowly rebuilding my Moblog application using the CakePHP framework over the past year when I have the time and motivation. Over the past few evenings I’ve been refining a small element of my Moblog site which has started to dramatically increase user interaction with the site and allow old content to bubble back [...]

read more

Deliciously Timed Tweets

What is it?
Deliciously Timed Tweets (or DTT for short) is a collection of API’s which allow you to bookmark links in Delicious, and then automatically tweet them at a specified time interval.
What’s the point?
Delicious does already allow you to tweet your bookmarked links, the only problem is that this can result in Twitter spam if [...]

read more

Printable logos

This is one of those tips where I think “surely everyone knows this already?” but it’s a solution to a problem that I found which was quite neat and I’ll use all the time from now on.
When it comes to embedding a company logo into a page, quite often the logo won’t be suitable for [...]

read more

8

Meaningful milestones

For the past 12 months I’ve been working exclusively on the same project, if you follow me on Twitter (and if you don’t, you really should) you might have heard me refer to it as Überproject as it’s without doubt the biggest project I’ve ever been involved with in my career so far.
It’s handover time [...]

read more