Articles


Thursday, September 8th, 2005

Simple Ajax with MochiKit and JSON

Category: Articles, JavaScript, Library

Andrew Gross has written part one of a series of tutorials on using the MochiKit JavaScript framework to write Ajax web applications. The article goes into creating the beginnings of a Blog system: function BlogPost(info) { bindMethods(this); this.info = info; } BlogPost.prototype.makeDiv = function() { return DIV({‘class’ : ‘blogpost’}, H2(null, this.info.title), HR(), SPAN(null, this.info.content), BR(), Read the rest…

Posted by Dion Almaer at 12:00 am
Comment here

+++--
3.2 rating from 6 votes

Monday, September 5th, 2005

XMLHttpRequest – Bypassing Security for Development

Category: Articles

Julien Couvreur has run into the development pain of having to have an ajaxian page hosted on the same area as you return data from. You would like to just use file:// but it often isn’t practical, and you end up doing a lot of security checks. Julien explains how he wrote a GreaseMonkey user Read the rest…

Posted by Dion Almaer at 12:54 am
Comment here

+++--
3 rating from 5 votes

Friday, September 2nd, 2005

addEvent() considered harmful

Category: Articles

addEvent() considered harmful is an interesting entry that delves into the world of events and JavaScript. Are there differences between the W3C and Microsoft event registration models?. Yuppers. The article discusses: Unlimited event handlers Avoiding memory problems in IE The difference between addEventListener and attachEvent addEvent() and a foldout menu We do have libraries that Read the rest…

Posted by Dion Almaer at 1:50 am
Comment here

+++--
3.3 rating from 8 votes

Monday, August 29th, 2005

Internet Explorer Has Native Support for Persistence and Saving Session Across Page Loads Without Cookies

Category: Articles, IE

Brad Neuberg has written up a lot on the state of state in the browser :) Saving Session Across Page Loads Without Cookies, On The Client Side This is a mini-tutorial on saving state across page loads on the client side, without using cookies so as to save large amounts of data beyond cookies size Read the rest…

Posted by Dion Almaer at 3:36 am
3 Comments

++++-
4 rating from 7 votes

Saturday, August 27th, 2005

Using Rails Ajax helpers to create safe state-changing links

Category: Articles, Examples, Ruby

Jarkko Laine discusses Using Rails Ajax helpers to create safe state-changing links: A few months ago there was a heated discussion going on about Google Web Accelerator prefetching links and at the same time wreaking havoc in web apps that used plain GET links to change the state of an application. A few tricks came Read the rest…

Posted by Dion Almaer at 2:01 am
1 Comment

++++-
4.2 rating from 11 votes

Thursday, August 25th, 2005

Developing Ajax Applications with DWR

Category: Articles

java.net have just published a step-by-step tutorial on writing a web chat app using DWR. The final result is a web-chat app, in about 100 lines of code – client and server. The point being how easy it is to get started with DWR. We could have gone into detail about using Scriptaculous for fancy Read the rest…

Posted by Dion Almaer at 12:11 pm
Comment here

++++-
4.5 rating from 4 votes

Ajax Tutorial: A Tale of Two IFrames

Category: Articles

Brad Neuberg has written a mini-tutorial on the black art of iframes and browser history. iframes? er we get that… you may think. However, Brad gets into the differences between: simple iframe via markup <iframe id=”testFrame” src=”http://www.google.com”> </iframe> iframe programatically var testFrame = document.createElement(“IFRAME”); testFrame.id = “testFrame”; testFrame.src = “http://www.google.com”; document.body.appendChild(testFrame); Thoughts on browsers In Read the rest…

Posted by Dion Almaer at 10:27 am
1 Comment

+++--
3.6 rating from 9 votes

Friday, August 19th, 2005

Dojo Event System Explained

Category: Articles, Dojo, JavaScript, Toolkit

Ok, we admit it. This ajaxian community loves Dojo. True JavaScript professionals. So, it is nice to see the recent set of information coming out from them. This time, they discuss the Dojo event system (dojo.event.*) Unlike the DOM events that web programmers normally associate with the word “event”, Dojo takes a broad view of Read the rest…

Posted by Dion Almaer at 6:49 pm
2 Comments

+++--
3 rating from 5 votes

Wednesday, August 17th, 2005

Autocomplete with Scriptaculous

Category: Articles

Amy Hoy has written up how to get autocomplete going with Rails, Prototype, and script.aculo.us. The article discusses simple autocomplete, and then moves through setting up your own custom pieces. View the demo Check out the magic Ajax.Autoupdater

Posted by Dion Almaer at 11:03 am
Comment here

+++--
3.3 rating from 6 votes

Friday, August 12th, 2005

Asynchronous client script callbacks

Category: Articles

Paul Glavich has written about the ASP.NET asynchronous client script callbacks. Paul builds an example using the MS technology and then compares to Ajax.NET: Asynchronous client script callbacks are a powerful feature, but they can be limiting. You can only pass a string to the server-side method, for example, and only return a string. This Read the rest…

Posted by Dion Almaer at 9:59 am
Comment here

+++--
3 rating from 5 votes

Create Your Own Web-based Screensaver

Category: Articles

Have you ever thought about having a cool ajaxian web page be a screen saver? This post discusses how to do this with .hta files. <hta :APPLICATION ID=”screensaver” APPLICATIONNAME=”screensaver” BORDER=”none” INNERBORDER = “no” CAPTION=”no” SHOWINTASKBAR=”no” SINGLEINSTANCE=”yes” SYSMENU=”no” SCROLL = “no” WINDOWSTATE=”maximize”> </hta> They also link to Autohotkey for that final piece. Hmm, now if we Read the rest…

Posted by Dion Almaer at 9:38 am
Comment here

+++--
3 rating from 5 votes

Wednesday, August 10th, 2005

Backbase reviewed by Infoworld

Category: Articles

Infoworld has completed a review on Backbase. Snippet For instance, a Backbase Web page includes a link tag that starts off with an ‘a’ like a standard link, but it includes unfamiliar attributes such as b:action=’load’ or b:url=’window-01.xml’ or b:mode=’aslastchild.’ These are parsed by the Backbase libraries and interpreted by them. Many of the tags Read the rest…

Posted by Dion Almaer at 11:22 am
Comment here

+++--
3 rating from 5 votes

Wednesday, August 3rd, 2005

Ajaxian QDF Interfaces

Category: Articles

Josh Reed has written a piece in which he gives “you an idea of some of the things that can be accomplished via AJAX to create highly interactive interfaces”. He goes into detail on how he wrote Ajaxian QDF Interfaces: For the QDF interfaces, I needed to composite content from multiple locations into a single, Read the rest…

Posted by Dion Almaer at 12:04 am
Comment here

+++--
3 rating from 5 votes

Saturday, July 30th, 2005

Deep Linking Continued: Backbase Article

Category: Articles

We’ve linked to Backbase before; those guys have some awesome Ajax demos. One of brains behind the site, Jeremy Hartley, has recently written an article on the subject of “Deep Linking”; or, in other words, how to get spiders to properly index an Ajax page. The article identifies three different strategies: Backbase has identified the Read the rest…

Posted by Ben Galbraith at 10:05 am
7 Comments

+++--
3.3 rating from 21 votes

Wednesday, July 27th, 2005

Migrate apps from Internet Explorer to Mozilla

Category: Articles, RichTextWidget

Doron Rosenberg has written an interesting article on How to make Internet Explorer-specific Web applications work in Mozilla-based browsers. He dives into general cross browser tips first, such as the usual suspects (document.all vs. document.layer vs. document.getElementById). Doron then delves into other differences such as: HTML Entities Dreaded DOM JavaScript differences CSS differences Quirks versus Read the rest…

Posted by Dion Almaer at 5:45 pm
1 Comment

++++-
4.2 rating from 11 votes

Wednesday, July 20th, 2005

Faster DHTML in 12 Steps

Category: Articles

MSDN has recurrected an old favourite, Faster DHTML in 12 Steps. The article talks about: Batch Your DHTML Changes Talk to Your innerText Use the DOM to Add Individual Elements Expand Your Options in a SELECT Element Use the DOM to Update Tables Write Once, Use Many Times Don’t Be Too Dynamic with Your Properties Read the rest…

Posted by Dion Almaer at 10:30 am
2 Comments

+++--
3 rating from 7 votes