Category Archives: web development

Roll Your Own CakePHP Components

As someone who is not formally trained as a programmer, I often understand concepts long before actually putting them into practice. Don’t Repeat Yourself (DRY) seems simple enough. Of course I don’t want to repeat myself while programming. Who wants to dig through lines of code to find a litte snippet of logic you once [...]

CakePHP Console ACL Help File

Every now and then I want to view my help files in pretty, formatted HTML instead of plain text in a text editor or terminal window. Right now I’m working on setting up some Access Control Lists (ACL) in the CakePHP Console. ACL is a powerful, yet sometimes hard-to-grasp concept. I always figure that if [...]

When Using a Grid Layout CSS Framework, Do the Math

I recently spent an entire weekend trying to troubleshoot why Internet Explorer 6 kept wrapping the rightmost DIV in my design to the bottom of the page when no other browser did. In my case, I was using the Blueprint CSS framework that creates twenty-four 30 pixel columns, each with a 10 pixel right margin [...]

Use Functions from Other Controllers While Maintaining MVC Architecture in CakePHP

At my day job, I’m working on an application to keep track of specimens for our lab. A specimen is sent to the lab, then divided into aliquots which are put into boxes and stored in freezers. The previous sentence ought to give you some idea of the architecture of the database, which in turn [...]

Getting Blueprint CSS & JavaScript Libraries Into Your CakePHP Layout

Updated 12/3/2008
The other day I wrote about getting the Blueprint CSS framework into your Wordpress theme. If you’re developing in CakePHP, it’s even easier to link multiple style sheets and JavaScript libraries to your layout file.
<?php
$css = array(’blueprint/screen’, ‘blueprint/ie’, ’style’);
$jslibraries = array(’prototype’, ’scriptaculous’, ‘jquery’);
echo $html->css(’blueprint/print’, ’stylesheet’, ‘media=”print”‘);
echo $html->css($css, ’stylesheet’, ‘media=”screen, projection”’);
echo $javascript->link($jslibraries);
?>
Let’s take these one [...]

Wordpress’ Auto Update Is OK, But The Command Line Is Faster

I recently found a great article about upgrading Wordpress from the command line. If you’re familiar with a command line interface at all, it’s by far the simplest way to upgrade your Wordpress install.
You can apply the same method to upgrading your Wordpress plugins.

Log in to your web server and cd to the Wordpress plugins [...]

Incorporating Blueprint CSS Into Your New Wordpress Theme

If you’re familiar with the Blueprint CSS framework, you already know it can make your life a lot easier. So how do you get it into your Wordpress theme? Luckily, Wordpress is designed to make your life easier too.
I’m assuming your know the basics of Wordpress Theme Development. That is, at the very least you [...]

Blueprint CSS Tutorial File

Just like the README file for Blueprint CSS, I wanted to refer to the TUTORIAL file in a more readable format. Here it is formatted for easy reading.
Blueprint CSS Framework Tutorial
Welcome to this tutorial on Blueprint. It will give you a thorough intro to what you can do with the framework, and a few notes [...]

Blueprint CSS Readme File

Author’s note: This is word for word post of the Blueprint CSS file only because I’m tired of pulling up the text file and I’d rather read it in a nicely formatted HTML page. I’m sure others would prefer that too.
Blueprint CSS Framework Readme
Welcome to Blueprint! This is a CSS framework designed to cut down [...]

And We’re Back!

I have been so incredibly busy the last few months that aside for 140 character Twitter updates, I haven’t been able to keep this blog updated with my exploits.
If you are still paying attention, I was complaining about ACL. After several attempts, I gave up using the built-in ACL component in CakePHP and just decided [...]