473,414 Members | 1,711 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

AJAX API

Hi,

Looking for recommendations for a decent API for AJAX work. I need it
to be somewhat documented so I can figure out how to actually use it.

My most critical need right now is clean code for a "triple" chained
selector (state->county->city).

Jason

Dec 5 '05 #1
8 2049
DartmanX said the following on 12/5/2005 8:06 AM:
Hi,

Looking for recommendations for a decent API for AJAX work. I need it
to be somewhat documented so I can figure out how to actually use it.

My most critical need right now is clean code for a "triple" chained
selector (state->county->city).


That has been discussed here before. I believe it was actually you who
brought up the question last time. It was answered then. Your most
cross-browser compatible solution is not AJAX (nor Borax for that matter).

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Dec 5 '05 #2
On Mon, 05 Dec 2005 15:49:43 -0500, in comp.lang.javascript , Randy
Webb <Hi************@aol.com> in <x6********************@comcast.com>
wrote:
DartmanX said the following on 12/5/2005 8:06 AM:
Hi,

Looking for recommendations for a decent API for AJAX work. I need it
to be somewhat documented so I can figure out how to actually use it.

My most critical need right now is clean code for a "triple" chained
selector (state->county->city).


That has been discussed here before. I believe it was actually you who
brought up the question last time. It was answered then. Your most
cross-browser compatible solution is not AJAX (nor Borax for that matter).


Are you recommending JSON? (And if I understand correctly JSON
replaces the X in AJAX, right?)

If this was brought up before I was not around and can't find it. It
seems to me that a library with standard calls for things like state
and city and such would be a good thing. Does such a thing exist for
JavaScript?
--
Matt Silberstein

Do something today about the Darfur Genocide

http://www.beawitness.org
http://www.darfurgenocide.org
http://www.savedarfur.org

"Darfur: A Genocide We can Stop"
Dec 6 '05 #3
Matt Silberstein said the following on 12/5/2005 9:41 PM:
On Mon, 05 Dec 2005 15:49:43 -0500, in comp.lang.javascript , Randy
Webb <Hi************@aol.com> in <x6********************@comcast.com>
wrote:

DartmanX said the following on 12/5/2005 8:06 AM:
Hi,

Looking for recommendations for a decent API for AJAX work. I need it
to be somewhat documented so I can figure out how to actually use it.

My most critical need right now is clean code for a "triple" chained
selector (state->county->city).
That has been discussed here before. I believe it was actually you who
brought up the question last time. It was answered then. Your most
cross-browser compatible solution is not AJAX (nor Borax for that matter).

Are you recommending JSON? (And if I understand correctly JSON
replaces the X in AJAX, right?)


I didn't recommend JSON. And no it doesn't replace the X in the
so-called AJAX.

JSON is a data structure.
AJAX (as its called) is a transfer method.

You have to get data from the server to the client.

JSON is the structure of that data, AJAX is how you get it from the
server. And this new-fangled "AJAX" is probably the least supported way
to get data from the server to the client.
If this was brought up before I was not around and can't find it.
<URL:
http://groups.google.com/group/comp....1d1831ba5f9d1b
Is one such thread with an explanation.
It seems to me that a library with standard calls for things like state
and city and such would be a good thing.
Only in the US perhaps:)
Does such a thing exist for JavaScript?


Without a doubt. It is simple dependent select lists and loading files
from the server.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Dec 6 '05 #4
On Tue, 06 Dec 2005 06:45:09 -0500, in comp.lang.javascript , Randy
Webb <Hi************@aol.com> in
<HZ******************************@comcast.com> wrote:
Matt Silberstein said the following on 12/5/2005 9:41 PM:
On Mon, 05 Dec 2005 15:49:43 -0500, in comp.lang.javascript , Randy
Webb <Hi************@aol.com> in <x6********************@comcast.com>
wrote:

DartmanX said the following on 12/5/2005 8:06 AM:

Hi,

Looking for recommendations for a decent API for AJAX work. I need it
to be somewhat documented so I can figure out how to actually use it.

My most critical need right now is clean code for a "triple" chained
selector (state->county->city).

That has been discussed here before. I believe it was actually you who
brought up the question last time. It was answered then. Your most
cross-browser compatible solution is not AJAX (nor Borax for that matter).

Are you recommending JSON? (And if I understand correctly JSON
replaces the X in AJAX, right?)


I didn't recommend JSON. And no it doesn't replace the X in the
so-called AJAX.

JSON is a data structure.
AJAX (as its called) is a transfer method.


But isn't JSON not XML?
You have to get data from the server to the client.

JSON is the structure of that data, AJAX is how you get it from the
server. And this new-fangled "AJAX" is probably the least supported way
to get data from the server to the client.
If this was brought up before I was not around and can't find it.
<URL:
http://groups.google.com/group/comp....1d1831ba5f9d1b


Thanks, I will explore that mechanism.
Is one such thread with an explanation.
It seems to me that a library with standard calls for things like state
and city and such would be a good thing.


Only in the US perhaps:)


There are other data sets that have some standard usage. But
Country/Province/City is not just for the U.S. And working up a
library/database for the world is complex enough to not want to do it
twice.
Does such a thing exist for JavaScript?


Without a doubt. It is simple dependent select lists and loading files
from the server.


I meant such a specific library.

--
Matt Silberstein

Do something today about the Darfur Genocide

http://www.beawitness.org
http://www.darfurgenocide.org
http://www.savedarfur.org

"Darfur: A Genocide We can Stop"
Dec 6 '05 #5
Randy Webb wrote:
DartmanX said the following on 12/5/2005 8:06 AM:
Hi,

Looking for recommendations for a decent API for AJAX work. I need it
to be somewhat documented so I can figure out how to actually use it.

My most critical need right now is clean code for a "triple" chained
selector (state->county->city).


That has been discussed here before. I believe it was actually you who
brought up the question last time. It was answered then. Your most
cross-browser compatible solution is not AJAX (nor Borax for that matter).

Actually, I find that AJAX-based solutions work quite well on any decent and
reasonably recent browser. I think this is better than using outdated
javascripts hacks. See for instance:
http://www.guru4.net/articoli/javasc...oap-client/en/
for a nice ajax client to a soap web service.

--
Rémi Bastide
http://liihs.irit.fr/bastide
Dec 7 '05 #6
Matt Silberstein said the following on 12/6/2005 9:02 AM:
On Tue, 06 Dec 2005 06:45:09 -0500, in comp.lang.javascript , Randy
Webb <Hi************@aol.com> in
<HZ******************************@comcast.com> wrote:
<snip>
It seems to me that a library with standard calls for things like state
and city and such would be a good thing.


Only in the US perhaps:)

There are other data sets that have some standard usage. But
Country/Province/City is not just for the U.S. And working up a
library/database for the world is complex enough to not want to do it
twice.


I don't see why anybody would do it twice if they did it once. But a
valid point.
Does such a thing exist for JavaScript?


Without a doubt. It is simple dependent select lists and loading files
from the server.


I meant such a specific library.


Probably not as it is actually two seperate tasks. You have to get the
data from the server and then you have to populate the select lists.
There are general libraries that do both so the idea of combining two
libraries just to have a third specific one doesn't make sense.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Dec 7 '05 #7
Rémi Bastide said the following on 12/6/2005 10:47 AM:
Randy Webb wrote:

DartmanX said the following on 12/5/2005 8:06 AM:
Hi,

Looking for recommendations for a decent API for AJAX work. I need it
to be somewhat documented so I can figure out how to actually use it.

My most critical need right now is clean code for a "triple" chained
selector (state->county->city).


That has been discussed here before. I believe it was actually you who
brought up the question last time. It was answered then. Your most
cross-browser compatible solution is not AJAX (nor Borax for that matter).


Actually, I find that AJAX-based solutions work quite well on any decent and
reasonably recent browser.


So an ActiveX warning is "quite well" when it can be avoided?

I disagree.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Dec 7 '05 #8
On Wed, 07 Dec 2005 16:32:25 -0500, in comp.lang.javascript , Randy
Webb <Hi************@aol.com> in
<a-******************************@comcast.com> wrote:
Matt Silberstein said the following on 12/6/2005 9:02 AM:
On Tue, 06 Dec 2005 06:45:09 -0500, in comp.lang.javascript , Randy
Webb <Hi************@aol.com> in
<HZ******************************@comcast.com> wrote:


<snip>
It seems to me that a library with standard calls for things like state
and city and such would be a good thing.

Only in the US perhaps:)

There are other data sets that have some standard usage. But
Country/Province/City is not just for the U.S. And working up a
library/database for the world is complex enough to not want to do it
twice.


I don't see why anybody would do it twice if they did it once. But a
valid point.


I mean that if I do it for me it is not particularly proprietary to do
it better so why not let you have the code?
Does such a thing exist for JavaScript?

Without a doubt. It is simple dependent select lists and loading files
from the server.


I meant such a specific library.


Probably not as it is actually two seperate tasks. You have to get the
data from the server and then you have to populate the select lists.
There are general libraries that do both so the idea of combining two
libraries just to have a third specific one doesn't make sense.


Ok. What I meant was something specialized to do Country/City info
lookups. I was thinking of taking the CIA Factbook, a delight of
information, and turning it into an XML DB as an exercise. And having
some "authoritative" source for Country/State/City info would be nice.
But I have drifted off.

--
Matt Silberstein

Do something today about the Darfur Genocide

http://www.beawitness.org
http://www.darfurgenocide.org
http://www.savedarfur.org

"Darfur: A Genocide We can Stop"
Dec 7 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Yarco | last post by:
I want to use "Ajax" to create my web for hobby. But i don't know whether "Ajax" is mature... And what about with php? Someone have experience on it? ....
4
by: bobzimuta | last post by:
I'm creating a simple AJAX library. It's an object that will return an array containing the response text or xml. I'm trying to find a way to assign the response as a property of the object, but...
0
by: melledge | last post by:
Ajax Developers' Day added to XTech 2006 agenda XTech 2006 - 17-19 May - Hotel Grand Krasnopolsky - Amsterdam, The Netherlands
0
by: melledge | last post by:
Ajax Developers' Day to Kick Off XTech 2006 Conference Industry experts offer insight into next generation of the Web ALEXANDRIA, VIRGINIA, USA - April 25, 2006 - In response to the rapidly...
1
by: www.web20developers.com | last post by:
http://www.web20developers.com http://www.web20developers.com/index.php?option=com_content&task=view... Ajallerix : AJAX, simple, fast Web image gallery demo ; at Novell AJAX -...
10
by: =?Utf-8?B?WWFua2VlIEltcGVyaWFsaXN0IERvZw==?= | last post by:
controlsPlease could some of you here post some of your live examples of AJAX (esp drag panels, collapsable panels, and popup menu.) (It's one thing to talk about how great something is, but it's...
2
by: soni2926 | last post by:
hi, does anyone know of any good books on ajax and asp.net, one that teaches ajax itself before jumping in atlas? I wanted to get an understanding of ajax and how to use it, most books i've seen...
1
by: shaunwo | last post by:
I'm an AJAX / DOM Novice (at best) and trying to figure out how to write the value to a couple input fields. I don't remember exactly where I got the ajax.js file I'm using from (went to the website...
11
by: =?Utf-8?B?R2VyaGFyZA==?= | last post by:
I have run into a situation that if a page/tab that uses the Ajax toolkit (using .net version 3.5) is closed before the Ajax enable controls complete loading, then IE locks up. Does it in both IE7...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.