Category Archives: web development

Introducing the Baseline Development Wordpress Theme

I’ve come up with some habits that I’ve developed from building themes for Wordpress over the years. One, is to start with a nearly blank style sheet. I also like to hook in several JavaScript libraries and CSS frameworks from the start to take advantage of things like JQuery, Blueprint’s CSS reset and Superfish menus.
I’ve [...]

Blueprint: Taking a Close Look at grid.css

About Blueprint
Blueprint is a CSS framework, which aims to cut down on your development time. It gives you a solid foundation to build your project on top of, with an easy-to-use grid, sensible typography, useful plugins, and even a stylesheet for printing.
.container

18
19
20
21
22
/* A container should group all your columns. */
.container {
width: 950px;
margin: 0 auto;
}

container is [...]

Simple Security in CakePHP

When I started to dig in to investigate using the Security Component of CakePHP, I was a bit daunted. It took me quite a while to get my head around ACL after all. Then I found this article. Here’s the crux:
The Security component will create a hash based on the form fields produced by our [...]

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

UPDATE (7/22/2009)
requestionAction may not be the best solution. Read this.
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 [...]

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 [...]