web development

Colorize or color code Safari HTML source code view: syntax highlighting

If you're like me, then you'll go back and forth between using Safari and Firefox for web development. Each has its pros and cons.

To me, Safari is a good chunk slicker, faster, and just more joyous to use. But it's limited in how well it serves a web developer. So we're stuck with Firefox and its many plugins.

Lately, though, I've been using Safari for the majority of my web development.

Ubercart stock, inventory control, out-of-stock products in cart

I spent a good chunk of time trying to find the best solution for controlling inventory on an Übercart I've been developing for a client.

The biggest issue is that by default Übercart doesn't stop customers from purchasing out-of-stock products.

Compress or aggregate your CSS in Drupal

You can speed up your drupal load times a bit if you compress or aggregate your css files. Drupal can do this for you!

Simply visit Admin > Site Configuration > Performance and enable Aggregate and Compress CSS files. Submit the page and check out the results. All of those @import() calls will be condensed and you'll notice just one css is loaded.

Elements of a page

Elements of a page

A simple diagram showing distinct elements of a web page

Build a simple SSI PHP-based template for your website

For simple websites it's handy to separate elements that are shared across pages, such as your header and footer.

Developing for multiple roles with Drupal in one browser

Often when developing Drupal, you'll have multiple roles that you'll need to test. Generally, I'll be logged in on one browser as admin. I'll have another browser open for another role.

So I go in and make a change as admin, then visit the other browser to see how the change affects the other role.

A List Apart Survey 2008

A List Apart presents a 2008 survey on careers in web design and web development. Anyone in the field should take the time to complete this survey, as it'll only help their results.

The survey wasn't real long, maybe about 10 pages or so.