PHP


  • Thursday, September 16, 2010 - 10:37

    I've been flipping through the second edition of the "PHP Cookbook" by O'Reilly to see if there are any new tricks I can learn. I've worked with PHP quite a bit from small projects hacking Durpal to much larger ones such as a library management system, but there are always new things to learn.

  • Thursday, April 15, 2010 - 22:11

    This little program lets you create a bargraph of the number of results returned by a google search when replacing a small part each time. For example if you use
    Google Query: how to get better at <x>
    Search Terms: starcarft 2; kissing; cooking; robbing a bank; becoming cowboy neal

    It will plot the number of results returned by a google search when <x> is replaced by each search term. This means it would plot the number of results for each of "how to get better at starcraft 2", "how to get better at kissing", "how to get better at cooking" ....

    This was inspired by several XKCD comic strips like Numbers and Dangers. Of course, the numbers don't quite match up with the comics.

    Google query "<x>" will be replaced:

    Search terms to substituted into the above query (separated by semicolons):


  • Sunday, August 10, 2008 - 14:26
    I've found out a couple of things while trying to write my test cases for SimpleTest:
    • You can debug the POSTs and GETs using <code>drupal_set_message($this->_content);</code> which will display the page as a message.
    •  
  • Saturday, August 9, 2008 - 21:34

    This is a list of automated tests that are run so far. There are four kinds of users that are used in the testing

  • Friday, July 18, 2008 - 22:48

    EveryBlog is meant to be a replacement for the default Drupal Blog module.

    May 25, 2009: EveryBlog is pretty much tabled as the core functionality is easily implemented using views and taxonomy, this site for instance is using taxonomy for both tagging posts and placing them within specific "blogs" and then views are used to display matching posts. Hence the overhead of an entirely seperate module is not needed as it is fairly easily to do using existing solutions which are likely to be far more stable due to their larger development community.

  • Friday, July 18, 2008 - 18:37

    Description

    EveryBlog is the every man of blog modules. Its a replacement for Drupal's built-in Blog module that allows users to have multiple blogs. Each blog has its own name instead of being "So-in-so's Blog" and blogs can be grouped into categories. Categories are actually just a vocabulary that you have chosen to use for categorizing blogs (set via the settings page).