Skip to the content...

Welcome to the David Walsh Blog. I'm a MooTools, Dojo, jQuery, CSS, and PHP Web Developer located in Madison, Wisconsin, United States. Please contact me if I can make your experience on my website better.

AJAX Tutorials

Create a TinyURL with PHP

TinyURL is an awesome service. For those who don't know what TinyURL is, TinyURL allows you to take a long URL like "http://davidwalsh.name/jquery-link-nudging" and turn it into "http://tinyurl.com/67c4se". Using the PHP and TinyURL API, you can create these tiny URLs on the fly!

Send Email Notifications for Broken Images Using jQuery AJAX

It's usually best to repair broken image paths as soon as possible because they can damage a website's credibility. And even worse is having a user tell you about it. Using jQuery and PHP, you can have your page automatically notify you of broken images.

Send Email Notifications for Broken Images Using MooTools AJAX

One of the little known JavaScript events is the image onError event. This event is triggered when an image 404's out because it doesn't exist. Broken images can make your website look unprofessional and it's important to fix broken images as soon as possible. I've created a MooTools / PHP script that listens for image errors, triggers an AJAX call to a PHP script, and that PHP script sends an email letting me know about the problem.

Using MooTools 1.2 For Drag, Drop, Sort, Save

This post has been updated: Using jQuery or MooTools For Drag, Drop, Sort, Save. The code on this page is no longer best practice.

NetTuts Exclusive: Twitter Emulation Using MooTools 1.2 and PHP

NetTuts debuted my article today: Twitter Emulation Using MooTools 1.2 and PHP! From the article:

AJAX Username Availability Checker Using MooTools 1.2

This post has been updated: Using jQuery or MooTools For Drag, Drop, Sort, Save. The code on this page is no longer best practice.

Periodical AJAX Requests Using MooTools 1.2

Every browser I have, both at work and at home, has its default homepage setting set to NetVibes. Why? Because NetVibes lets me decide what content I want on my homepage and it uses AJAX to update information, so I can keep the same window open in the background all day. NetVibes even refreshes page content periodically so a page refresh is never necessary. Using MooTools 1.2, you can achieve the same effect: periodical AJAX requests!

Editable Content Using MooTools 1.2, PHP, and MySQL

Everybody and their aerobics instructor wants to be able to edit their own website these days. And why wouldn't they? I mean, they have a $500 budget, no HTML/CSS experience, and extraordinary expectations. Enough ranting though. Having a website that allows for editable content blocks is the dream of many customers. I've taken a few hours to develop a system for in-page, editable content blocks.

MooTools Gone Wild: Element Flashing

If you're like me and lay awake in bed at night, you've flipped on the TV and seen the commercials: misguided, attention-starved college girls fueled by alcohol ruining their futures by flashing lame camera-men on Spring Break. Why do they do it? Attention, of course. That got me to thinking — I should go download some what about when we want a user's attention to focus on a specific element on the page without using cheesy graphics? Armed with the latest MooTools trunk and a dream, I've implemented flash(), which you can use on any element on the page.

AJAX For Evil: Spyjax

With great power comes great responsibility. With every advancement in technology we face the threat of it being used for evil purposes. This is the case with AJAX. AJAX has a ton of great uses but one form of negative AJAX has taken life: Spyjax.

« Newer posts Older posts »