Programming


Tuesday, April 4th, 2006

PHPClasses.org Chooses iFrames over Ajax?

Category: Ajax, Programming

When people first look at what Ajax really is it seems like they’re either immediately turned off by it or jump in with both feet. Of course, there are a few in the middle – they look into Ajax to provide some functionality for their site and just don’t find quite what they’re looking for. Read the rest…

Posted by Chris Cornutt at 7:26 am
24 Comments

+++--
3.4 rating from 47 votes

Monday, April 3rd, 2006

Reusing XMLHttpRequest Without abort()

Category: IE, JavaScript, Programming, XmlHttpRequest

Last week, we mentioned Eric Pascarello’s “XMLHttpRequest Reuse Dilemma” article. Eric explained that to reuse an XMLHttpRequest object in IE, you must call abort(). In a follow-up, Pavan Keely says you actually don’t need the abort() call. Instead, just make sure the open() call happens before onreadystatechange(), rather than afterwards (as in Eric’s example). The Read the rest…

Posted by Michael Mahemoff at 3:03 pm
3 Comments

+++--
3.7 rating from 50 votes

Friday, March 31st, 2006

The XMLHttpRequest Reuse Dilemma

Category: Programming, XmlHttpRequest

If you’ve ever been programming along, working with your Ajax connections and wondered why you have to make a new one each time, you’re not alone. Eric Pascarello asked himself the same question and decided to do something out it. He’s written up a simple test Ajax app that just pulls in XML data from Read the rest…

Posted by Chris Cornutt at 8:07 am
17 Comments

++++-
4.2 rating from 34 votes

Thursday, March 30th, 2006

Pure-CSS Image Gallery

Category: CSS, Programming

We’ve seen lots of Ajax image galleries and slideshows and, not surprisingly, they invariably make good use of Javascript. But Stu Nichols proves it doesn’t have to be that way – he’s built a functional image gallery in pure CSS (via Digg). His article points out it’s compatible with all the major browsers. Just hover Read the rest…

Posted by Michael Mahemoff at 9:47 pm
16 Comments

++++-
4 rating from 200 votes

APress Advocates Ajax in Two New Books

Category: Ajax, Programming

Hot on the heels of the momentum that Ajax has generated all across the web, book publishers have been clamoring to get as much Ajax-related material out as they can. They’ve looked at a variety of subjects, ranking in skill level from the basic and the simple all the way out to highly complex, creating Read the rest…

Posted by Chris Cornutt at 2:25 pm
Comment here

+++--
3.8 rating from 16 votes

Building a Web-based Ajax POP3 Client

Category: JavaScript, Programming

Once again, DevArticles is back with a new project that I’ve seen many people ask for as a way to keep on top of their email no matter where they are – an Ajax-enabled POP3 client. This article is the first of a three part series to create a simple app that can grab the Read the rest…

Posted by Chris Cornutt at 7:33 am
5 Comments

+++--
3.3 rating from 55 votes

Wednesday, March 29th, 2006

Big League Battle in Ajax Development

Category: Ajax, Programming, Toolkit

With Ajax still being a relatively new technology (just over a year old – well, the term is anyway), there are will some power struggles among the larger companies to see who will be king of the hill. Two major players, Eclipse and Microsoft, are competing for this leadership, according to this InformationWeek article. The Read the rest…

Posted by Chris Cornutt at 6:52 pm
5 Comments

++++-
4.1 rating from 24 votes

Friday, March 24th, 2006

Ajax Timeouts with Prototype

Category: Programming, Prototype

Network problems are only one of the difficulties that can plague Ajax applications, but they can be the most difficult to deal with. How can you check, with a Javascript call, to see if the remote host you’re using is down? A simple call to the server won’t work – the connection would just sit Read the rest…

Posted by Chris Cornutt at 9:32 am
6 Comments

+++--
3.4 rating from 48 votes

Thursday, March 23rd, 2006

AJAX Delete Confirmation

Category: Ajax, PHP, Programming

If you’ve ever been developing a web application and grown tired of those Javascript popup windows all over the place for deleting items, consider the use of Ajax and a background PHP script to do the work for you. That’s exactly what Joe Vasquez has created in this new blog post from d3eministry.net. I have Read the rest…

Posted by Chris Cornutt at 8:26 am
24 Comments

+++--
3.5 rating from 149 votes

Wednesday, March 22nd, 2006

A Simple, Clean DOM Reference

Category: JavaScript, Programming

No matter what your Javascript skill level, there’s times when you just need some good, quality documentation to look to. Unfortunately, a lot of the materials out there covering the DOM in Javascript are overbearing and sometimes just plain confusing. Thankfully, there is a bit of hope out there and it comes in the form Read the rest…

Posted by Chris Cornutt at 7:58 am
5 Comments

+++--
3.9 rating from 30 votes

Monday, March 20th, 2006

MS HTML Applications

Category: JavaScript, Programming

Speaking of Web-Desktop Integration, Russell Beattie has rediscovered an old Microsoft feature, HTML Applications, that lets you create little windows apps with Javascript. I ran across a bunch of stuff I remember messing with back in 1999 – including HTML Applications contained in an .hta file. Ahh, that’s right – that’s how you can make Read the rest…

Posted by Michael Mahemoff at 3:54 am
7 Comments

+++--
3.3 rating from 12 votes

Friday, March 17th, 2006

Ajax from Scratch: Implementing Mutual Exclusion in JavaScript

Category: Ajax, JavaScript, Programming

On Developer.com, there’s the first part of a series of articles – “Ajax from Scratch” – that’s looking to describe some of the fundamentals on getting “rich internet applications” built up without any framework assistance. In this first part, they look at something that can cause an amazing amount of headaches for developers that are Read the rest…

Posted by Chris Cornutt at 8:41 am
16 Comments

+++--
3.1 rating from 42 votes

Alternate Ajax Techniques, Part 2

Category: Ajax, Programming

WebReference.com has posted part two in their “Alternate Ajax Techniques” series – this time, they take a look at methods for using images and cookies to enable more communication between the client and the server, even on older browsers without DOM support. They start off by jumping right in and looking at images and cookies Read the rest…

Posted by Chris Cornutt at 8:28 am
4 Comments

+++--
3.8 rating from 23 votes

Thursday, March 16th, 2006

Dynamic Favicons

Category: Browsers, JavaScript, Programming

Michael Mahemoff has posted an interesting idea concerning other uses for the “favicon” supported by browsers these days. He suggests that favicons shoul dbe supported just as easily as any other DOM-accessible item in the page, and sets out to discover the truth. I’ve found surprisingly little info on this – is anyone doing it? Read the rest…

Posted by Chris Cornutt at 8:49 am
15 Comments

+++--
3.6 rating from 61 votes

Wednesday, March 15th, 2006

Combining Ajax and XSLT in Skinnerbox

Category: Ajax, JavaScript, Programming

Alex Bosworth describes, in this blog post, a simple example that he’s created to show the possibilities of merging XSLT with Ajax to create a “skinning” site for prettying-up blog RSS feeds. I’ve been looking a lot lately at what XSLT can add to web development, and this weekend I started playing around with Google’s Read the rest…

Posted by Chris Cornutt at 3:25 pm
2 Comments

++++-
4 rating from 31 votes

Live Clipboard – Data-Rich Copy/Paste for the Web

Category: JavaScript, Programming, Usability

Via this post on the Brains4All blog, there’s some information about a slick little Javascript-based tool created by Ray Ozzie tentatively named “Live Clipboard”, a data-rich copy/paste method for the web. Ozzies’ idea is to have Copy And Paste JavaScript powered XML allowing users to copy and paste XML meta data from site to site Read the rest…

Posted by Chris Cornutt at 8:12 am
7 Comments

+++--
3.2 rating from 53 votes