stargeek
PHP news website logo.
home    PHP scripts    articles    seo tools    links    search    contact    shop    realtors


"XMLHttpRequest & Ajax Working Examples"







"XMLHttpRequest & Ajax Working Examples"

"XMLHttpRequest & Ajax Working Examples" 04/07/2005 10:28 AM




This is a GrokNews Entry: (what is grok?)





Similar Items

"XMLHttpRequest & Ajax Working Examples"

Grok Headline matches for "XMLHttpRequest & Ajax Working Examples"

XmlHttpRequest


XmlHttpRequest 06/01/2004 06:51 PM

I recently mentioned XmlHttpRequest to a collegue as possible solution to his problem and found that he didn't know about it despite the fact that many DHTML apps are simply impossible to do without it.  As I mentioned before, people tend to stop looking around when they are busy.  Well, even meercats know better...

FYI, XmlHttpRequest allows you to make HTTP requests and process responses from within a webpage.  It was first implemented by Microsoft as an ActiveX object.  The shocker is that it's now considered nearly ubiquitous because other browsers support the feature as well.  For more info, here are some useful links to get you started:

Have fun.


Dynamic HTML and XML: The XMLHttpRequest
Object


Dynamic HTML and XML: The XMLHttpRequest
Object
05/15/2004 09:42 PM
As deployment of XML data and web services becomes more widespread, you may occasionally find it convenient to connect an HTML presentation directly to XML data for interim updates without reloading the page. Thanks to the little-known XMLHttpRequest object, an increasing range of web clients can retrieve and submit XML data directly, all in the background. To convert retrieved XML data into renderable HTML content, rely on the client-side Document Object Model (DOM) to read the XML document node tree and compose HTML elements that the user sees.

Dynamically Typed: XMLHttpRequest and
PHP Atom


Dynamically Typed: XMLHttpRequest and
PHP Atom
09/10/2004 07:30 AM
On Dynamically Typed today, there's a new posting concerning the PHP Atom Server.

Web Developers: XMLHttpRequest Object
Can Make Your Webpages Dynamic


Web Developers: XMLHttpRequest Object
Can Make Your Webpages Dynamic
05/25/2004 04:16 PM
Mac Observer May 25 2004 6:59PM GMT

[DR001] AppleWebKit XMLHttpRequest
arbitrary file disclosure vulnerability


[DR001] AppleWebKit XMLHttpRequest
arbitrary file disclosure vulnerability
04/16/2005 02:52 PM
Posted by David Remahl, Apr 15 2005

Cayenne 1.1B3 (Examples)


Cayenne 1.1B3 (Examples) 09/22/2004 09:53 AM
An object relational persistence framework.

CSS Source Examples


CSS Source Examples 06/14/2004 11:52 AM

A quick tip that anyone who would put together a CSS example page for an article or a demo should follow: embed your CSS in the HTML, don't link it.


Examples of Really Bad Lock-In?


Examples of Really Bad Lock-In? 06/17/2005 04:33 PM
It seems that Jason is annoyed because he's run into something that's rampant in the on-line services world: lock-in. I get a lot of inbound email and I like to upload those contacts to LinkedIn every couple of months so I can figure out which of my contacts are in there. However, as best I can tell (and I could be wrong here) the only way to get your contacts out of GMAIL is to cut and paste the “All...

Daikini Atom API Examples


Daikini Atom API Examples 06/30/2004 12:57 PM
works with almost all popular weblog software

Code-X gets FileMaker 7 examples, more


Code-X gets FileMaker 7 examples, more 05/20/2004 11:35 AM
Hi-Voltage has released Code-X 1.4, an update of the FileMaker plug-in that allows developers to build registration functionality and issue custom registration codes to unlock their solutions...

Add And Remove Programs SQL examples


Add And Remove Programs SQL examples 08/17/2004 07:10 PM

terri needs good examples of bl0gs


terri needs good examples of bl0gs 08/03/2004 07:55 PM
interestingly, she's coming at research from a livejournal perspective

SQL Server Resource Examples Scripts


SQL Server Resource Examples Scripts 05/06/2004 01:15 PM

"Webl0g about examples of business
bl0gs"


"Webl0g about examples of business
bl0gs"
04/22/2004 02:51 PM

MSDN TV: Examples of Visual Studio
Extensibility


MSDN TV: Examples of Visual Studio
Extensibility
07/17/2004 06:44 AM
Ken Hardy demonstrates the extensibility of Visual Studio ranging from the quick and easy ability to improve the day-to-day experience with macros to the ability to add new products to Visual Studio using the Visual Studio Industry Partner (VSIP) SDK.

Looking for examples for our Emergent
Democracy Worldwide discussion


Looking for examples for our Emergent
Democracy Worldwide discussion
02/10/2004 02:51 AM

Please help Ethan and I find some projects that might be examples we could use when talking about Emergent Democracy. Ethan describes more clearly what we are looking for.


current and past examples of ka-ching
for ka-boom


current and past examples of ka-ching
for ka-boom
11/02/2003 06:30 AM
War Profiteering: Irresponsible .. Open Source Politics

ospolitics.org/usa/archives/2003/10/31/war_profit.php
track this site | 3 links


QA Operational Examples & Techniques
Note Published


QA Operational Examples & Techniques
Note Published
12/02/2002 07:24 PM
2 December 2002: The Quality Assurance (QA) Working Group has released Operational Examples & Techniques as a W3C Note. Part of the QA Framework and developed in tandem with Operational Guidelines, the latest version is now maintained at the QA Activity until it stabilizes. The document gives examples and techniques of quality practices within W3C Working Groups. (News archive)

"Since choosing just one of Hannity's
distortions is too difficult, here are
fifteen examples:"


"Since choosing just one of Hannity's
distortions is too difficult, here are
fifteen examples:"
06/18/2004 04:59 AM

The W3C RDF Data Access Working Group
has published the first public working
draft of SPARQL Variable Binding


The W3C RDF Data Access Working Group
has published the first public working
draft of SPARQL Variable Binding
01/02/2005 11:31 AM
xmlhack Jan 2 2005 1:45PM GMT

Quality Assurance Working Group Updates
Three Working Drafts


Quality Assurance Working Group Updates
Three Working Drafts
11/08/2002 08:17 PM
8 November 2002: The Quality Assurance (QA) Working Group has updated three Working Drafts in its seven-part QA Framework: the Introduction, Process and Operational Guidelines; and Specification Guidelines. Learn more about the QA Activity and the roadmap for ensuring that W3C technologies are well implemented. (News archive)

So Ajax it is...


So Ajax it is... 03/19/2005 02:31 AM
I guess I'll have to accept "Ajax" as the official term of the new breed of webapps. In Monday's Wall...

AJAX


AJAX 03/22/2005 04:58 PM

I am playing with AJAX myself but I see many problems with AJAX as the next generation DHTML application platform.  AJAX applications are more expensive to build, test, and update than traditional DHTML applications.

Frankly, I am not even sure whether current crop of popular web browsers can support AJAX because they weren't built with the expectation that a signle web page might stay up for as long as GUI applications.  When even small carefully written DHTML apps can cause enough browser resource leaks to require frequent browser restarts, I think good stable AJAX applications will be rarer than the picture recent hype paints.

And by the time engineers discover the cost of AJAX first-hand, .NET-based ClickOnce applications will look much more attractive than AJAX-based applications can ever be.


Now just call it "AJAX"


Now just call it "AJAX" 03/14/2005 05:25 PM
Last year we wrote about how some applications -- notably Google Mail and Suggest -- were taking advantage of Javascript plus XML-over-HTTP for richer interfaces. Now Jesse James Garrett of Adaptive Path has written a nice summary and (perhaps more imporantly) come up with a new name for the approach: "AJAX." Some CMS vendors are beginning to use AJAX methodologies, although from what we have seen mostly in a tentative way (if you're a vendor using AJAX, do tell where and how. Asynchronous communication with the server has tremendous potential to make heretofore very linear authoring and workflow procedures in a CMS much more fluid and therefore more, well, lifelike......

AJAX in Flash


AJAX in Flash 03/30/2005 09:01 PM

As I pointed out in my AJAX post, I think difficulties of writing AJAX make it a poor web application platform, particularly since there are easier alternatives.

Flash, for example, is a better platform for some applications than AJAX because it offers similar capabilities (i.e. XMLHttpRequest in DHTML) and comparable, if not better, level of availability along with much better graphics capability.  Flash tool developers such as Lazlo and Xamlon makes it easy to develop interactive web application.  Just take a look at this Google Maps like demo built over a weekend using Xamlon's upcoming tool.

Note that AJAX in Flash is inappropriate for web applications that manipulate DHTML DOM extensively and has a number of issues that makes it prohibitively expensive for uses beyond demos and small tightly-focused applications.  For example, you can't built PhotoShop with it without abandoning usability.

Beyond Flash, .NET looms with superior functionalities and flexibilities.  The only thing it lacks is the availability in several sense.


HTML-Ajax-0.01


HTML-Ajax-0.01 04/01/2005 03:15 PM

PHP Everywhere: Will Ajax Catch On?


PHP Everywhere: Will Ajax Catch On? 03/19/2005 03:26 AM
If you'll remember a while back, we posted something about Ajax, a new technology from Adaptive Path that combines XML and Javascript to make a new "rich DHTML application".

Why the term Ajax is useful


Why the term Ajax is useful 04/18/2005 09:55 PM

Software design patterns are useful mainly because they provide a shared vocabulary: rather than discussing the intimate details of a three layered application architecture, we say "MVC". Rather than describing an object that tracks your progress while looping over a collection, we say "Iterator".

The same is true for Ajax. While the techniques it describes have been around for years, grouping them under a single term is extremely valuable for raising the level of discussion about them. No longer will we have to explain XMLHttpRequest / hidden iframes / crazy cookie tricks in depth when discussing sites which pull fresh information from the server without reloading the whole page. Instead, we can say "Ajax" and move on to more interesting things.

Matthew Haughey says it's all about marketing. I disagree; it's about smarter and more effective conversations.


AJAX Framework


AJAX Framework 04/15/2005 03:55 PM
AJAX Framework 1.0 Released

HTML-Ajax-0.02


HTML-Ajax-0.02 04/08/2005 03:14 PM

AJAX Considered Harmful


AJAX Considered Harmful 03/17/2005 02:49 AM
I intend for this to post to be constructive, so I will focus on two specific suggestions which hopefully will serve as the seed for the development of a set of best practices for AJAX.  Here are the two humble suggestions on things that people should standardize on ...

Will Ajax Hurt Usability?


Will Ajax Hurt Usability? 03/29/2005 01:28 AM

I'm curious what effect Ajax will have on usability. With this technique, the unspoken nature of Web apps is changing, and apps using Ajax will likely do things that users don't expect.

When I first starting using client-side HTTP requests back in 1999 (long before the snazzy name), I did it really badly. I wrote an intranet phone directory which used background HTTP calls from the browser to retrieve the data and load it into a DIV on the interface without re-loading the page. It worked great, but if the users wanted to find another phone number, they always pressed the "Back" button...and got sent backwards, out of the phone lookup system.

Web users have a "user model" of how forms work (we discussed user models in this post). Web users are accustomed to the fact that nothing happens on a form until they hit a button called "Submit" or "Save," and that this gives them a new page, so they can usually hit "Back" to get back to their form input. I broke this user model, and the user paid the price.

With Ajax, it's easy to break the model of stateless request and response that users are subconciously aware of. You shouldn't do this lightly or you're going to get some confused users.

Here's a current example:

37 Signals' great Ta Da Lists use Ajax to "check off" items in a list. If you click the box next to an item, it's immediately removed from the list in the interface and a request is dispatched in the background to change the item's status on the server.

I understand this and it's quite slick, but what about people who don't spend as much time with this stuff as I do? I know a lot of people that look at a list of checkboxes and think, "I can check a bunch of boxes, then review my selections before finding and clicking a button called 'Submit' that's got to be around here somewhere."

This is the user model that a lot of people have for Web forms. They get to do whatever they want, and nothing counts until they press "Submit." I like Ta Da Lists, but I think 37 Signals made a mistake here. I'd be curious what feedback they've gotten about it.

Where we're going with Ajax is to allow developers to really mess with the unspoken "rules" that users have gotten used to. Ajax is great and provides a revolutionary way to do things, but I know some people will take it too far, too fast. User confusion won't be far behind.


Ajax: A New Approach to Web Applications


Ajax: A New Approach to Web Applications 03/25/2005 06:56 AM
Ajax: A New Approach to Web Applications by Jesse James Garrett
http://www.adaptivepath.com/publications/essays/archives/000385.p hp

Ajax isn’t a technology. It’s really several technologies, each flourishing in its own right, coming together in powerful new ways. Ajax incorporates: 1) standards-based presentation using XHTML and CSS; 2) dynamic display and interaction using the Document Object Model; 3) data interchange and manipulation using XML and XSLT; 4) asynchronous data retrieval using XMLHttpRequest; and 5) JavaScript binding everything together. This essay by Jesse Garrett explains Ajax and what the future holds for this exciting application. This has been added to eCommerce Resources Subject Tracer™ Information Blog.

Catalyst-Plugin-Ajax-0.02


Catalyst-Plugin-Ajax-0.02 03/23/2005 12:21 AM

ProNet: So you'd like to make an Ajax
map


ProNet: So you'd like to make an Ajax
map
06/06/2005 12:12 AM
Our own Mark Paschal just visited Linden Lab, the creators of the popular online gaming community Second Life, and he was inspired to create a new app called Landmarker. From Mark's description: At Cienna Rand's suggestion, I've been building a...

Catalyst-Plugin-Ajax-0.01


Catalyst-Plugin-Ajax-0.01 03/22/2005 10:13 PM

Ajax info and pointers


Ajax info and pointers 06/06/2005 12:10 AM
Tara asks: I'm looking for doofus-level (that's me!) introductions to AJAX functionality and perhaps a tutorial or two. Since this stuff seems so JavaScript heavy, and since for all JavaScript wisdom I look to Dori, I'm hoping she'll chime in...

Will AJAX help Google clean up?


Will AJAX help Google clean up? 03/19/2005 02:41 AM

Some AJAX Information Pointers for You
and Me


Some AJAX Information Pointers for You
and Me
06/05/2005 11:21 PM
AJAX AJAX AJAX. Every time I turn around I hear AJAX. This is as bad as 2002 when every time turned around I heard RSS. Except in 2002 I had...
Grok Description matches for "XMLHttpRequest & Ajax Working Examples"
GrokA matches for "XMLHttpRequest & Ajax Working Examples"

"XMLHttpRequest & Ajax Working Examples"

The following phrases have been identified by the grok system as matching this entry:

















Also check out:


Grok

Ipod Porn on the
Rise

Brief Abstract of
Wikipedia's
Mesothelioma Cancer
page

Get first aid
instructions in your
cell phone

IE is crap
JSPWiki gains
podcasting support

Ringtone Tools 2.24
(Default branch)

gnomeGo 0.3 (Default
branch)

B5I2ISO 0.2 (Default
branch)

Network Management
Center 1.02 (Default
branch)

Worker 2.10.0
(Default branch)

ganttproject
1.11-rc1 (Unstable
branch)

ELinks 0.10.4
(Stable branch)

ELF statifier 1.6.5
(Default branch)

arpwatch NG DROP7
(Default branch)

MOSIX Cluster
Management 1.13.1
for Linux 2.4.30
(Linux 2.4 branch)

ICMPv6 Neighbor
Discovery tools
0.1.3 (Default
branch)

ackerTodo 2.0
(Default branch)

white_dune
0.29beta082
(Development branch)

jaxen 1.1-beta-4
(Default branch)

iText 1.3 (Default
branch)

LCD-Linux 0.8.8
(Default branch)

East vs West?
CA in deal to buy
Concord for $330
million

New Linux initiative
targets Germany's
financial sector

In Brief: Network
Appliance acquires
Alacritus

VMware ships virtual
desktop package

Homage to Pope
Continues as
Officials Try to
Manage Crowd

New Iraqi President
Sworn In; Jaafari Is
Named Prime Minister

Another New Trailer
for Star Wars
Episode III

U.K.-funded
initiative to push
open source

CA to buy Concord
Communications

Photos: Nokia's
'elegant' phone

Pfizer Suspends
Bextra Sales in
U.S., Europe
(Reuters)

Pope's Will
Indicates He
Considered Resigning
(Reuters)

Foes Reunited at
Peace Pope's Funeral
(Reuters)

Jobless Claims Post
Biggest Dip in 2
Months (AP)

Bush Regrets U.S.
Shooting of Italian
(AP)

Pfizer Takes
Painkiller Bextra
Off Market (AP)

Multiple Updates At
Hasbro

Darth Vader (Lava
Reflection) No
Longer Available

MSN mixes
advertisers with
blogs

O2 and EasyAir avoid
High Court spat

Congress moots
mandatory DRM scheme

Kingston unveils
'fastest' DDR 2
DIMMs

eBay deletes 'buy my
vote' auctions

Dating site hack
suspect arrested

Eidos board backs
SCi bid

Mio 268 GPS
navigation system

German news site
fined for publishing
links

'iPhoto 5: The
Missing Manual'
released

.Mac members get
T-Mobile HotSpot
trial

Computer virus
attacks up in 2004 -
study

Dell elaborates on
US$80bn revenue goal

Hole Drilled to
Bottom of Earth's
Crust, Breakthrough
to Mantle Looms

Dell: Time for a New
Model?

what is grok?