User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the IT Technologies and Trends section within the IT Water Cooler category of DaniWeb, a massive community of 374,017 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,675 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our IT Technologies and Trends advertiser: Affiliate Marketing
Views: 11094 | Replies: 2
Reply
Join Date: Jul 2005
Location: Australia
Posts: 19
Reputation: Eddie Traversa is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
Eddie Traversa Eddie Traversa is offline Offline
Newbie Poster

New Ajax Tutorial

  #1  
Aug 25th, 2005
Wasnt sure if this is the right place to post, but here goes anyway.

You will need either IE5+, Opera 8, Firefox or a recent version of Mozilla to view this tutorial. Safari should work too, but I am guessing on that, so it would be good if someone can let me know if it is working ok on that browser. You will also need to be in 1024 * 768 mode or higher to view the tutorial. This baby runs on a couple of kb of code to start off with and that in itself may surprise you.

Over 8000 words in length and 37 pages long, this tutorial walks you through from the basics of ajax to building an ajax powered fading image gallery web application. That is part 1, part 2 of this tutorial will follow in a few weeks time and will expand upon part 1.

Hopefully what you may learn is some of the following:

Import different file types including images and media using XMLHttpRequest

How to speed up ajax powered applications

Learn to not open new window instances to keep resource usage minimal

How to dynamically load JavaScript on demand

How to call events from XML files

How to use namespaces to mix and match XML and XHTML

Keep standards and accessibility features intact

Build a Fading Image Gallery

Also provided are two interfaces, the one you are about to view and the fading image gallery, along with all examples used in the tutorial as downloadable file.

The tutorial is available for viewing from here:

View Ajax Tutorial

Thanks
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Aug 2005
Posts: 1
Reputation: marike is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
marike marike is offline Offline
Newbie Poster

Re: New Ajax Tutorial

  #2  
Aug 28th, 2005
Very interesting tutorial. I far as it running on Safari, I tested it on 2.0
(no longer have 1.x as I am running Tiger) and it does not work at all. Just a blank page.

Which is odd as most of the Ajax apps that I have been looking, like Prototype (part of Ruby on Rails), and OpenLaszlo 3.0.2, render perfectly on Safari, as well as other browsers that use the Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/412 (KHTML, Gecko) rendering engine.

Interestingly the tutorial ran rather poorly on Firefox 1.06 for OS X. It even crashed Firefox twice around page 35.

Then I ran it on Camino, another Mozilla browser that is based on an upgraded Gecko rendering engine, and it ran great. Super fast and everything worked perfectly.

Anyway, nice work. I've been trying to get up to speed on my Javascript/DHTML stuff. I'm more familiar with server side scripting like PHP/Ruby & Python, but two of my websites have Flash slideshows that have crossfades. And even though are valid XHTML/CSS, I'd still like to figure out how I could replace them with equivalent Javascript based slideshows.

Thanks
Markus Arike
Reply With Quote  
Join Date: Jul 2005
Location: Australia
Posts: 19
Reputation: Eddie Traversa is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
Eddie Traversa Eddie Traversa is offline Offline
Newbie Poster

Re: New Ajax Tutorial

  #3  
Aug 28th, 2005
thanks for the safari info! my guess is that it may be the importing of js that may be crashing it. I will see if i can find someone to test some stuff on that browser.

The image gallery itself should not crash it though if that is the case since i am not importing js

http://dhtmlnirvana.com/ajax/gallery/ajaxgallery.html

FF seems to run ok for me and a few others that i have asked to test it. Ill check my markup though on those last couple of pages just in case there is a html markup error thats causing some intermittent FF problems.

Once again thanks...
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb IT Technologies and Trends Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the IT Technologies and Trends Forum

All times are GMT -4. The time now is 11:04 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC