Debugging For Dummies

Oct 06, 2008 - 02:33 AM3 Comments

It’s the typical scenario.  1am, lots of coffee, little sunlight.  You’re working on the next great idea.  An application that you’re quite excited about.
You set up a simple token to secure it against csrf:

$transact_token md5uniqid(rand(), true) );
$this->session->set_userdata('act_tok'$transact_token); 

You add a hidden field to your…

…continued

Live Search Plugin

Jul 29, 2008 - 07:36 PM4 Comments

If you’ve tried out my search form, you know what it does.  It’s dead simple to use as well:

Usage

1. Download and install the plugin.
2. Make an empty template - I called mine livesearch - and put the tag in there:

{exp:live_search:results link="comment"

3.  Add the included css and js files to the page with your searchbox on it.
4.  Tell…

…continued

Ajax Tutorial: Implementation

Jul 20, 2008 - 12:00 AM1 Comments

Last time I talked about the theory of ajax requests.  Today I’ll start to shed light on the heart and soul of making ajax requests.  The javascript.  This section assumes basic knowledge of javascript.  The goal isn’t to understand the background of how ajax request are done, but to know how to implement ajax techniques with modern libraries. …

…continued

Ajax Tutorial: The Basics

Jul 16, 2008 - 10:02 AM1 Comments

A while ago, I made the offer to write up a tutorial on anything you want to see. Most of the requests were asking for ajax tutorials.  It’s surprising, since there are already quite a few of them out there.  Michael Wales made one quite recently, and Derek Allard even has a screencast covering it.  That leads me to believe that people are…

…continued

Site Launch

Jul 12, 2008 - 10:37 AM2 Comments

After more design iterations than I can count, I’ve decided that I’m not getting any better.  So I can now proudly say - I’m done.

Ok, that isn’t true, there are still a few rough spots.  The about page needs more content, the comments need some further tweaking, and a drop of javascript can definitely spruce things up.  These are all things…

…continued