1 0
Archive | Web Development RSS feed for this section

PlaceWidget and Cross-Domain iFrame Javascript

One of my latest projects is PlaceWidget, a service that lets you embed a Foursquare widget into any website (now with a WordPress plugin and a Facebook App). When I kicked off development of PlaceWidget, I had three goals in mind: Make it as easy as possible to configure Make it as easy as possible [...]

Read More

Limit App Engine to Minified JS and CSS

Call me paranoid or call me efficient, but I don’t like non-minified CSS and Javascript accessible in a production environment. It’s one thing setting up your web application to use minified files when it’s rolled out , but I’d prefer that the originals aren’t available at all – and yes, part of that is me [...]

Read More

MooTools Idle Tracker Class

In web applications, there are times when you may want to track activity of a user within your page – perhaps your project includes a realtime component that you want to pause when the user isn’t actually working with the page, for example. This is pretty easy to take care of, but there are a [...]

Read More

Facebook’s New Photo Uploader – a Plugin Fail

November 19, 2009

I have the utmost respect for the engineers at Facebook. They are a very talented bunch, and the few of them I’ve had the pleasure to meet in person have even been nice folks to boot. Generally, they come up with very innovative and progressive engineering solutions to the huge problems they face, but their [...]

Read More

Should You Show a Useless Page?

Zizhuang Yang, an engineering intern at Facebook this last summer, recently put up a very interesting and detailed post on the company’s engineering blog describing extensive user testing of various loading styles and times for Facebook he conducted as part of his internship. While the whole post is worth a read, one point really piqued [...]

Read More

MooTools Pager Class

August 24, 2009

Recently, I had the need to do custom paging on an element with Javascript, and after hacking it together in a hurry, I realized that this might come in handy in other situations. So I cleaned it up a little and rewrote it as a MooTools class, and thus I present to you the MooTools [...]

Read More

REALLY Simple jQuery Accordion

I get asked how to make a Javascript accordion all the time, and there are a lot of great framework plugins and code snippets around, but most of the time the features that these plugins include just aren’t needed. So, here is just about the most basic Javascript accordion you could make, using just a [...]

Read More

Javascript Worker Threads – the Unsung Hero of Modern Browsers

The release of Firefox 3.5 and Safari 4 a few weeks before it heralded the implementation of a feature that I believe will push web application development into the next age. The feature, called Javascript web workers, will allow web apps to have far more advanced features without the slowdown experienced even with today’s Javascript-heavy [...]

Read More

Better iPhone User Agent Regex

David Walsh recently published a blog post detailing how to detect iPhone and iPod Touch users on your website via the user agent string, and while the concept is fine, I much prefer a slightly different method using regex to do the detection. In PHP: if(preg_match(‘/Apple.*Mobile.*Safari/’, $_SERVER[‘HTTP_USER_AGENT’])  {       header(‘Location: http://yoursite.com/iphone’);     [...]

Read More

Working with Development Frameworks

I recently had a slap-in-the-face kind of realization moment after getting quite a ways into a project using an off the shelf development framework. In this case the framework in question was CakePHP, and the realization came in two parts: I realized that I didn’t like the syntax of the framework, even for doing basic [...]

Read More