PHP Session Locks – How to Prevent Blocking Requests

December 17th, 2010 16 comments

Many people are aware that modern browsers limit the number of concurrent connections to a specific domain to between 4 or 6. This means that if your web page loads dozens of asset files (js, images, css) from the same domain they will be queued up to not exceed this limit. This same problem can happen, but even worse, when your page needs to make several requests to PHP scripts that use sessions.

Read more…

Categories: PHP Tags: , , ,

Google Wave-style scroll bar jQuery plugin

November 2nd, 2010 7 comments

Google Wave introduced a revolutionary new way of online communication and collaboration. It seemed to swiftly solve the problems inherent our current 40-year-old email system. Unfortunately, it never actually caught on.

Google Wave Scrollbar screenshotIn addition to rethinking email, though, Google Wave’s user interface also rethought things such as scroll bars. I was particularly impressed with Google Wave’s scrollbars which were small, unintrusive, and easy to use.

In it’s tiny form-factor, the Google Wave scroll bar is able to:

  • Indicate document height
  • Indicate current scroll location
  • Scroll by clicking the arrows (dragger doesn’t move until you move your mouse away)
  • Scroll by dragging

After being announced that Google Wave will be retired, I wanted to immortalize this new way of scrolling in a jQuery plugin that does the same thing.

Demo

It currently does not work in IE because it uses CSS image data instead of referencing an actual image URL, but upon changing the image CSS, it will work in IE.

This is an alpha release, so please recommend changes or express your interest in a more configurable plugin.

Categories: Javascript Tags: ,

How to Create Javascript Objects

August 21st, 2009 5 comments

It is easy to create Javascript objects, but this method goes one step further by allowing you to create a Javascript object with private and public methods, as well as private variables. It’s a perfect way to create a single access point for Javascript and Flash to communicate.
Read more…

Sierra Bravo’s Overnight Website Challenge

December 16th, 2008 No comments

Sierra Bravo, a web development shop out of Bloomington, MN is hosting the 2nd Annual Overnight Website Challenge. It is a volunteer event where talented web programmers and designers from the Twin Cities area work side-by-side with deserving non-profit organizations to create a new website for the organization. All in 24 hours.

Read more…

Categories: Events Tags: , ,