Programming


Friday, February 24th, 2006

Creating sortable lists with PHP and AJAX

Category: PHP, Programming, Prototype, UI

phpRiot has posted a tutorial that pairs PHP and Ajax together (the perfect combination?) to create sortable lists. ou might have been in a situation before where you had a list of items in your database that needed to be output in a specific order. These items could be anything: perhaps a listing of your Read the rest…

Posted by Chris Cornutt at 11:16 am
9 Comments

+++--
3.7 rating from 140 votes

Rich, accessible pagination with unobtrusive javascript

Category: JavaScript, Programming, Usability

In this post on bluesmoon.blogspot.com, there’s a walk-through (complete with code) of a method for doing pagination with Ajax that’s both simple and accessible. I’ve seen a few questions about doing pagination with AJAX, and I don’t like the thought of it. It smells of accessibility problems. I’ve addressed this issue before in my own Read the rest…

Posted by Chris Cornutt at 9:41 am
5 Comments

+++--
3.5 rating from 19 votes

Wednesday, February 22nd, 2006

Painless JavaScript Using Prototype

Category: Programming, Prototype

In this new post on the “Javascript & DHTML Tutorials” blog from SitePoint, Dan Webb demonstrated how to use the Prototype library to make “painless Javascript” for your site. Personally, I think the jury’s out on the whole ‘fun’ JavaScript thing, but nevertheless Prototype is a really well executed JavaScript library which, although the situation Read the rest…

Posted by Chris Cornutt at 8:05 am
2 Comments

++++-
4 rating from 35 votes

Roaming through XMLDOM: An AJAX Prerequisite

Category: Ajax, Programming

On DevArticles.com, there’s a new article posted where they investigate the use of ActiveX methods to work through the XML returned from something like an Ajax call. The twin tasks of the XMLHttp are handling the HTTP request, and then processing the XML response. The first one is easily done by writing the appropriate syntax Read the rest…

Posted by Chris Cornutt at 7:52 am
7 Comments

+++--
3.5 rating from 35 votes

Monday, February 20th, 2006

Screencast: Data Grid as Example of Rich Ajax

Category: Programming, UI

The other day, we linked to Harry Fuecks’ distinction between HTML++ (regular web app with a bit of Ajax thrown in) and Client/SOA (full-blown rich Ajax app). As I’d been discussing a similar idea (Ajax-Lite versus Ajax-Deluxe), I posted a followup. Now Andre Charland of eBusiness Applications has chimed in with a 6-minute screencast: When Read the rest…

Posted by Michael Mahemoff at 7:24 pm
9 Comments

++++-
4.2 rating from 26 votes

The Future of JavaScript: an Update from Brendan Eich

Category: Firefox, JavaScript, Programming, Python

Brendan Eich has posted a status update on some of the work going into the upcoming JavaScript 2, aka ECMAScript Edition 4 (ES4). One feature that should look familiar to Python hackers are generators and iterators, as seen in the following example taken from a console session: < View plain text > javascript js> function Read the rest…

Posted by Rob Sanheim at 7:00 am
33 Comments

++++-
4 rating from 118 votes

Sunday, February 19th, 2006

Show Love to the Object Literal

Category: JavaScript, Programming

A Javascript tip from Chris Heilmann, who reckons the object literal is “pretty close to sliced bread”. Replace: < View plain text > javascript var commonSense=null; var standardsCompliance="50%"; function init(){   // code } function doStuff(){   // code } function doMoreStuff(){   // code } with the object literal form: < View plain text Read the rest…

Posted by Michael Mahemoff at 2:11 am
18 Comments

+++--
3.2 rating from 53 votes

Thursday, February 16th, 2006

Mastering Ajax with IBM developerWorks

Category: Examples, Programming, XmlHttpRequest

The IBM developerWorks site has posted several parts of a series related to working with Ajax, building developers up from knowing nothing about the technology to some of the more advanced features it offers. There are three parts to the series that have been posted: Part 1 is an introduction to Ajax – what it Read the rest…

Posted by Chris Cornutt at 7:50 am
5 Comments

+++--
3.9 rating from 37 votes

Wednesday, February 15th, 2006

Two kinds of AJAX: HTML++ vs Client / SOA

Category: Ajax, Programming

On the SitePoint PHP Blog, Harry Fuecks discusses what he sees as the two types of Ajax applications out there – “HTML++” and the standard “Client/SOA” model. Think this needs stating clearly, following the comment from Bill Edney on of technicalpursuit (Tibet), and because I think it reflects experiences people are having with AJAX. In Read the rest…

Posted by Chris Cornutt at 8:51 am
6 Comments

++++-
4.1 rating from 34 votes

CFAjax: What it is and How to Use it

Category: Ajax, ColdFusion, Programming, Toolkit

On DevArticles today, there’s a new article posted that looks a a seldom mentioned branch of the Ajax development family tree – ColdFusion integration – and a package that makes it possible, CFAjax. This is for ColdFusion aficionados who want to use Ajax. Ajax is implemented in such a way that ColdFusion method calls on Read the rest…

Posted by Chris Cornutt at 8:28 am
5 Comments

+++--
3.8 rating from 54 votes

Tuesday, February 14th, 2006

Debunking Strong Misconceptions About Cross-Domain Ajax Security Issues

Category: Ajax, Programming, XmlHttpRequest

On the Technoblog, there’s a new post that seeks to debunk misconceptions about some of the issues that have come up surrounding the use of cross-domain Ajax connections. Quite a number of people have been discussing possible cross-domain Ajax security issues recently. These are smart people that generally know their technologies very well, but for Read the rest…

Posted by Chris Cornutt at 3:12 pm
10 Comments

+++--
3.6 rating from 37 votes

AjaxLessons.com – Tutorials, News, Workshops, etc.

Category: Ajax, Articles, Examples, JavaScript, Programming

There’s a new site offering some Ajax help for everyone out there, from beginner to pro – AjaxLessons.com. It calls itself a “resource for ajax tutorials as well as information surrounding Ajax and web 2.0”. The site aggregates some of the better Ajax-related tutorials and information out there. So far, they have a few tutorials, Read the rest…

Posted by Chris Cornutt at 3:00 pm
9 Comments

++++-
4.3 rating from 23 votes

Wednesday, February 8th, 2006

Using Events in Prototype

Category: JavaScript, Programming, Prototype

Ecytemedia has an article on how to use Events in Prototype. It dives into attaching functions to events using Event.observe along with some advanced javascript using anonymous functions and closures. Check out the following code block: < View plain text > javascript $$(this.list + " li").each(function(item) {       Event.observe(item, ‘click’, this.showTagName.bindAsEventListener(this));     Read the rest…

Posted by Rob Sanheim at 7:00 am
1 Comment

++++-
4 rating from 52 votes

Monday, February 6th, 2006

iPhoto-like image resizing using Javascript

Category: Ajax, JavaScript, Programming

In a post from the Aglie Partners’ weblog, John Berry shows how, with the help of Prototype and script.aculo.us, you can use Javascript to create an “iPhoto-like image resizing” tool. Upon seeing the Fluxiom intro video, I was compelled to figure out how they pulled off iPhoto-like image scaling in a browser. Leveraging the work Read the rest…

Posted by Chris Cornutt at 9:19 am
1 Comment

+++--
3.8 rating from 111 votes

Oracle Technology Network: Developing Smart Web UIs with Ajax, JSF, and ADF Faces

Category: Ajax, Java, Programming, XmlHttpRequest

The Oracle Technology Center has a lengthy new article today that walks you through the procedure of creating a “Smart Web UI” with the combination of Ajax, JSF, and ADF Faces technologies. They start off with the typical “what is Ajax” information, catching up those server-side developers that haven’t worked much with it. The target Read the rest…

Posted by Chris Cornutt at 8:55 am
Comment here

+++--
3.2 rating from 30 votes

Ajax Magazine: AJAX powered chat applications reviewed

Category: Ajax, JavaScript, Programming

Ajax Magazine has this new post today with their brief reviews on some of the Ajax-powered web-based chat applications that have popped up recently. Many asked me about AJAX chat applications, I have already posted three implementations here but there is more solutions that I haven’t talked about. What is interesting in Chat applications that Read the rest…

Posted by Chris Cornutt at 8:41 am
4 Comments

+++--
3.6 rating from 35 votes