Tutorial

Extending Code Ignitor’s Loader / View Classes

One of my Code Ignitor based projects desperately needed a iPhone view. I didn’t have many requirements but I knew I needed to find a way to do the following NOT restructure the architecture of my existing controllers or models Display the same content in a slightly different format Use the same URLs and not [...]

Read the full article →

Auto Tweeting Random Tweets

This entry is part 1 of 4 in the series Auto Tweeting

The first twitter bot I created for a site was an ugly critter. It consisted of ~30 pre-constructed tweets that the cronjob would randomly go through. Some messages were double posted, some were too similar and it was just terrible. I didn’t track numbers but I’m wiling to bet I lost a lot of REAL [...]

Read the full article →

Auto Tweeting User’s Actions on Your Site (Part 1)

This entry is part 2 of 4 in the series Auto Tweeting

Automated tweets are the worst, right? What about intelligently automated tweets with a splash of randomness, some spinning as well as name and link dropping? You with me now? Let’s take a ride through a bit of back story. Looking for Code? If you are just looking for code you are in the wrong place. [...]

Read the full article →

CodeIgniter Using _remap() and Named Methods

One of the most important methods I’ve found in CodeIgnitor is the _remap() method. When you use it within a controller it hiijacks all other methods and does your bidding. This is great when you have a controller Article.php and you want the 2nd value in your urls to be the ID number or a [...]

Read the full article →

Duplicate or Clone a CodeIgniter Controller, by Extending it!

I was working on a project a while back using CodeIgnitor and had a kind-of unusual case where I was developing two completely identical controllers and I needed to streamline the way I updated them. I hated adding changes line by line so I looked into using helpers, models or libraries. After some research, tearing [...]

Read the full article →

Open Links to a Different Site in a New Window with Prototype

Using the JavaScript library Prototype I can easily make any external links open in a new window, as well as change the rel=”external” links to open in a target=”_blank” window!

Read the full article →

Making Firefox's Location Bar More Useful

I’m making Firefox work better for my needs. I use the location bar as a Google search bar and now I can customize it with keywords to do a search through php.net, my own site, or any other search. I can also just use keywords to pull up specific bookmarks.

Read the full article →

Lighting the Egg Photograph

Lighting a white egg on a white background is a fun strobist exercise. I [over]documented my attempt. Five slightly tweaked lighting setups with photos of the setup and produced image. You should give it a try and share your attempt!

Read the full article →

Change Rel External to Target Blank using Prototype

Use javascript to make XHTML valid rel=”external” act like target=”blank” in a snap using the Prototype JavaScript library.

Read the full article →

Setting Up Amvona AS-V306 Background Stand w/ Muslin Background

My first video entry, showing you how quick and easy it was for me to setup my new background stand I purchased from Amvona.com

Read the full article →