Categories
Firefox

Firefox Plugins

Firefox, without a doubt, is light years ahead of Internet Explorer when it comes to web development. There are many great tools to choose from and finding the best takes a bit of trial-and-error. Here’s what I’m running right now:

This is why I use them:

Categories
HTML/CSS

Standard Formatting for Code

Something that comes up constantly on our team is coding standards. I’m fallen into the “code enforcer” role, if not because I’m the most vocal about writing clean code that’s easy to navigate and maintain. However, there are people that write code I consider clean, but not to my liking. I like tabs to be 5 mono-spaced characters, but there’s people that like 2-3 spaces. I like every CSS declaration to be on a single line, but a lot of people like to have line breaks for property. As a result, there’s a hodgepodge of coding styles all mixed together. How do we make it so that it’s easy for everyone to jump right in and start being productive?

What key items need to be taken into consideration when coming up with a schema that will work for everyone? Here’s the items I find important:

Categories
Javascript

Simulating FIFO with Javascript

Recently I needed to create a little workaround to get our product compare feature to work across multiple pages. Here’s what I needed:

  • Uses session cookies for list management
  • Maximum of 10 products
  • Auto-check boxes across multiple pages if the cookie values match product skus
  • Submit the cookie to another page and rebuild the querystring.