Development Archive

  • Validating Data with Enhanced Declarative Data Integrity Rules

    Validating Data with Enhanced Declarative Data Integrity Rules

    Visit us at our new Google Code project page: http://code.google.com/p/metadata-validator/ Problem Definition Data validation and integrity assurance are complex subjects that have strong opinions tied to the way they are implemented. Some strongly feel that the database can handle validation using the column’s attributes (size,...

    Full Story

  • Geocoding with Google Maps and the Zend Framework

    Geocoding with Google Maps and the Zend Framework

    Maps are a great way to engage your users and visualize data, but it can be a little tricky to setup. Here I will walk you through the steps needed to get a map up and running. // Sign Up Apply for a Google Maps...

    Full Story

  • Making Podcasts

    Making Podcasts

    If you want to start making podcasts, it can be a bit difficult to understand how you go about the process. Making a podcast essentially requires three tasks (with various sub-tasks). The basic workflow is: Record the podcasts Create an XML file that describes the...

    Full Story

  • jQuery Tabs Keyboard Shortcuts

    jQuery Tabs Keyboard Shortcuts

    I have integrated jQuery’s UI tabs into a number of my projects and have had to significantly modify the code to achieve some goals (like being able to easily add and remove tabs. One of the simpler thing I have done with the tabbed interface...

    Full Story

  • Actionscript 2.0: Centered Popup Window

    Actionscript 2.0: Centered Popup Window

    Centered popup for Actionscript 2.0

    Full Story

  • Alternating Table Rows with PHP

    Alternating Table Rows with PHP

    Using PHP and CSS, it’s very easy to create a report-style table with alternating colors on each row. This setup assumes a connection to a MySQL database (though any supported DBMS will work), and that you have already queried your database and are ready to...

    Full Story

  • jQuery U.S. States Autocomplete

    jQuery U.S. States Autocomplete

    Yes, I looked too; but it’s not out there. Here is a quick plugin I wrote utilizing the popular jQuery Autocomplete function found here Add it to your form element by using: <input type="text" id="state_search" /> <input type="hidden" name="state" /> ... <script type="text/javascript"> $('#state_search').states(); </script>...

    Full Story

  • Getting Started: How the Interwebs Work

    Getting Started: How the Interwebs Work

    There are a ton of places on the web to learn HTML, so I kind of wonder why I am writing this in the first place. I think that it was important in my quest to learn how to program that I was looking ahead...

    Full Story

  • jQuery Form Validation: theory and practice

    jQuery Form Validation: theory and practice

    jQuery makes it very easy to validate forms. There are a number of useful plugins, the most prominent being validate. If you are wanting something very lightweight or are just interested in how something like this works, read on. The $.each function allows you to...

    Full Story

  • Zend Framework on Apache 1.3.x

    Zend Framework on Apache 1.3.x

    If you are having problems with the .htaccess file for Zend Framework and getting 500 errors, and are running apache 1.3.x (like at GoDaddy), add a slash before index.php in the rewrite rule. Here is one of my htaccess files for reference <IfModule mod_expires.c> ExpiresActive...

    Full Story