Posts Tagged ‘Code’

Oi, Mind your Messages

Tags: , , ,
Posted in Code, CodeIgniter, PHP

Often, I find I need to send notifications to the user (webpage) during server code. This may be a warning, notification, or a message that an action has hapend. If you’re using a MVC framework it’s not practical to exit running code or echo out the message. From a User Interface perspective it is also imperative that the user knows where to look for these notifications and what they mean.

Read the rest of this entry »

Shortie v1.0 Released

Tags: , , ,
Posted in Code, CodeIgniter, PHP, Uncategorized

Recently I needed code to shorten URLS and tweet said url as a twitter update. This all needed to happen in their existing CMS built using Codeigniter.

Turns out the twitter part was easy, thanks to simonmaddox’s nice twitter CI library. I got a few whiffs of a url shortening CI library around the web, but it looks like the code was no longer available. Oh well, a good excuse to knock up a new library!

Read the rest of this entry »