473,320 Members | 1,765 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,320 software developers and data experts.

do not say AJAX

AJAX is a stupid and confusing word.
People is wondering for something that programmers have used for many years.
Javascript + Xml and asynchronous requests is not new. People started to
speak about AJAX a lot after XmlHttpRequest was introduced, so AJAX cant'be
Javasript+xml+xmlhttprequest.
But if you still think so, you can't anyway call this AJAX. What is new with
xmlhttprequest is the possibility to perform a synchronous request! (but
incredibly AJAX stay for Asynchrous+JavaScript+XML).
So AJAX is really a bad word, don't use it here, we are programmers not end
users to wonder with mythological words.
Nov 30 '05 #1
23 1983
ivan wrote:
AJAX is a stupid and confusing word. People is wondering for
something that programmers have used for many years.
True.
Javascript + Xml and asynchronous requests is not new.
I beg your pardon?
People started to speak about AJAX a lot after XmlHttpRequest was
introduced,
True.
so AJAX cant'be Javasript+xml+xmlhttprequest.
I am afraid your logic escapes me.
But if you still think so, you can't anyway call this AJAX. What is new
with xmlhttprequest is the possibility to perform a synchronous request!
You probably meant "What is new with xmlhttprequest is the possibility to
perform an asynchronous request!". (Potentially) synchronous requests have
always been possible through AOM/DOM objects and through normal HTML forms.
(but incredibly AJAX stay for Asynchrous+JavaScript+XML).
Because that is what is "new" about it.
So AJAX is really a bad word, don't use it here, we are programmers not
end users to wonder with mythological words.


I agree that it is a term often misused. However,
<URL:http://en.wikipedia.org/wiki/AJAX> exists;
AJAX is not a bad word per se.
PointedEars
Nov 30 '05 #2
> You probably meant "What is new with xmlhttprequest is the possibility to
perform an asynchronous request!". (Potentially) synchronous requests
have
always been possible through AOM/DOM objects and through normal HTML
forms.


No. synchronous request without refresh.
request.open("GET", url, false); //this a synchronous request with
xmlhttprequest.
Nov 30 '05 #3
> AJAX is a stupid and confusing word.

AJAX in England is the name of an old scouring powder product.

AJAX is _A_syncronous _J_ava _A_nd _X_ML request.

I am afraid like web 2.0 the term is here to stay.

Aaron
Nov 30 '05 #4
cicap wrote:
You probably meant "What is new with xmlhttprequest is the possibility to
perform an asynchronous request!". (Potentially) synchronous requests
have always been possible through AOM/DOM objects and through normal HTML
forms.
No.


Yes.
synchronous request without refresh. request.open("GET", url,
false); //this a synchronous request with xmlhttprequest.


So? new Image().src = url; is (potentially) a synchronous request,
(delays with extensive preloading show this) as is (potentially)
hiddenFrame.location = url;
PointedEars
Nov 30 '05 #5

"Thomas 'PointedEars' Lahn" <Po*********@web.de> ha scritto nel messaggio
news:15****************@PointedEars.de...
cicap wrote:
You probably meant "What is new with xmlhttprequest is the possibility
to
perform an asynchronous request!". (Potentially) synchronous requests
have always been possible through AOM/DOM objects and through normal
HTML
forms.


No.


Yes.


No, because It wasn't what I meant :)
synchronous request without refresh. request.open("GET", url,
false); //this a synchronous request with xmlhttprequest.


So? new Image().src = url; is (potentially) a synchronous request,
(delays with extensive preloading show this) as is (potentially)
hiddenFrame.location = url;


Uhm yes, you are right.
Nov 30 '05 #6
On Wed, 30 Nov 2005 14:03:52 +0100, in comp.lang.javascript , "ivan"
<iv**@tiscali.it> in <43********************@news.tiscali.it> wrote:
AJAX is a stupid and confusing word.
People is wondering for something that programmers have used for many years.
Javascript + Xml and asynchronous requests is not new. People started to
speak about AJAX a lot after XmlHttpRequest was introduced, so AJAX cant'be
Javasript+xml+xmlhttprequest.
But if you still think so, you can't anyway call this AJAX. What is new with
xmlhttprequest is the possibility to perform a synchronous request! (but
incredibly AJAX stay for Asynchrous+JavaScript+XML).
So AJAX is really a bad word, don't use it here, we are programmers not end
users to wonder with mythological words.

Am I the only one who said "AJAX, AJAX, AJAX" to himself. And then
checked around to make sure no ghostly can of scouring powder showed
up.
--
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"
Nov 30 '05 #7
VK

Matt Silberstein wrote:
Am I the only one who said "AJAX, AJAX, AJAX" to himself.


Hah! I bet you did not look at the mirror at the same time! Cheater!
:-D

:-|
I think it's a bit of a zealous here for all this "don't say AJAX",
"AJAX is a wrong term" etc.

Any term is good as long as it commonly accepted. Who the hell wants to
type/say every time "I'm having problems with sending and retrieving
data over XMLHttpRequest and its equivalents"?

"My AJAX doesn't work!" - it's much better, is it? :-)

AJAX as a term is short, nice (Greek myth) and it has "J" in it. What a
hell more do you want? And who cares what does this abbreviation mean
(if anything)?

Does anyone see a lot of sense in ActiveX? Why not ActiveZ? And even if
X stays from eXchange then it doesn't reflect the nature of ActiveX.
But it is sound and easy to say - that's suffice.

You jast wait JSON will come (coming already). Lucky if 1 of 10 will
eventually know that it's JavaScript Object Notation. But it will not
stop anyone from using it.

Nov 30 '05 #8
VK wrote:
Any term is good as long as it commonly accepted. [...]


I expected this from you. Why call things correctly
if there is a "so-called accepted" different term?

Because it prevents misunderstandings that can lead
to basic misconceptions.
PointedEars
Nov 30 '05 #9
ivan wrote:
AJAX is a stupid and confusing word.


And yet, the coining of the term (in addition to google) helped push the
technology into use by a lot more people. So, having a term is a good thing.

Even the term "Javascript" is confusing and misleading, yet we use it.

Obviously, to use "Ajax" it doesn't need to be async, nor javascript, nor
xml. But in most cases, it probably is. So the name's not all that bad.

Perhaps an alternative definition of AJAX could be arrived at:
Asynchronous Javascript Albatross eXchange?

--
Matt Kruse
http://www.JavascriptToolbox.com
http://www.AjaxToolbox.com
Nov 30 '05 #10
VK

Matt Kruse wrote:
Perhaps an alternative definition of AJAX could be arrived at:
Asynchronous Javascript Albatross eXchange?


Or:
Active Javascript Autochthonous eXchange

if it helps anyone to sleep better tonight :-)

Nov 30 '05 #11
Matt Kruse wrote:
ivan wrote:
AJAX is a stupid and confusing word.
And yet, the coining of the term (in addition to google) helped push the
technology into use by a lot more people. So, having a term is a good
thing.


Not per se.
Even the term "Javascript" is confusing and misleading, yet we use it.


Some, not all, of us use that.
PointedEars
Nov 30 '05 #12
Aaron Gray wrote:
AJAX is a stupid and confusing word.


AJAX in England is the name of an old scouring powder product.


US, too.

--
John W. Kennedy
"But now is a new thing which is very old--
that the rich make themselves richer and not poorer,
which is the true Gospel, for the poor's sake."
-- Charles Williams. "Judgement at Chelmsford"
Nov 30 '05 #13
John W. Kennedy wrote:
Aaron Gray wrote:
AJAX is a stupid and confusing word.

AJAX in England is the name of an old scouring powder product.


US, too.


As well as here in Germany and in a number of other countries
where Colgate-Palmolive sells it:

<URL:http://colgate-palmolive.com/app/Colgate/US/SiteMap.cvsp>

Also note that AJAX can make use of SOAP ;-)

(What the heck has this to do with programming?)
PointedEars
Nov 30 '05 #14
>do not say AJAX

AJAX

Nov 30 '05 #15
VK

Thomas 'PointedEars' Lahn wrote:
John W. Kennedy wrote:
Aaron Gray wrote:
AJAX is a stupid and confusing word.
AJAX in England is the name of an old scouring powder product.


US, too.


As well as here in Germany and in a number of other countries
where Colgate-Palmolive sells it:

<URL:http://colgate-palmolive.com/app/Colgate/US/SiteMap.cvsp>

Also note that AJAX can make use of SOAP ;-)

(What the heck has this to do with programming?)


"The Trojans were surprised by the big size of Ajax, but the match soon
got under way. Hector had won the right to hit first, which he did.
But it only bounced off Ajax's big, strong shield. When Ajax threw
his spear, it hit Hector's and also pierced it. The two got their
spears back and started to circle each other."
Ajax vs. Hector
The Iliad, Part II

Of course anyone has her own set of associations.

Nov 30 '05 #16
Thomas 'PointedEars' Lahn wrote:
Matt Kruse wrote:
Even the term "Javascript" is confusing and misleading, yet we use
it.

Some, not all, of us use that.


Followups to comp.lang.ecmascript? :)

--
Matt Kruse
http://www.JavascriptToolbox.com
http://www.AjaxToolbox.com
Nov 30 '05 #17
And apart form that they take a very dissapointing place in the Dutch
eredivisie, they are at number nine! Hey, now even in computer science
newsgroups you torture me with the present state of my team, right stop
keep reminding me of this! Right! Do not mention the Amsterdam Football
Club Ajax!

;-P

Dec 1 '05 #18
> AJAX is _A_syncronous _J_ava _A_nd _X_ML request.

That would be:

_A_syncronous _J_avaSCRIPT _A_nd _X_ML request.

Dec 1 '05 #19
Hiall!

I'm working on a website which used php, javascript, and css to do it's thing.
Browsers mentioned are Firefox 1.0.7 and IE 6.0.2800.1106.xpsp2.050301-1526.

Consider the following:

disc.php contains <script>var page = "<?=$_SERVER['PHP_SELF'];?>";</script> to
write a javascript var. This is followed by a <script type="text/javascript"
src="includes/leftmenu.js" /> declaration to load a bunch of functions, one of
which depends on the aforementioned var being defined. The page also uses <?php
include "includes/leftmenu.php"; ?> to add a group of css-styled divs which act
as a navigational menu, the styling and functionality of which depends on the
javascript.

This works completely without error in Firefox, but nothing displays at all in
IE! View Source shows that everything is there, but the page is completely
blank. If I comment out the external js declaration, IE will display everything
OK, but the menu navigation and css changes (based on javascript onmouseover,
etc.) obviously don't work.

What the heck is going on?

This is all based on a prototype I did for the client which used hidden content
divs paired with the nav menu divs via javascript, and there were no includes
or external references. The protoype worked perfectly in both browsers.

Pleh!

Pete
co******@netscape.net
Dec 1 '05 #20
Pete Wason wrote:
[...]
I'm working on a website which used php, javascript, and css to do it's
thing. Browsers mentioned are Firefox 1.0.7 and IE
6.0.2800.1106.xpsp2.050301-1526.

Consider the following:

disc.php contains <script>var page =
"<?=$_SERVER['PHP_SELF'];?>";</script>
This does not generate Valid HTML and to be on the safe side,
it should read:

<script type="text/javascript">
var page = "<?php echo addslashes($_SERVER['PHP_SELF']); ?>";
</script>

You should disable short_open_tag in php.ini or through Apache's

php_value short_open_tag Off

directive (in .htaccess). Else you will probably run into problems
with XML declarations, for example.
to write a javascript var. This is followed by a
<script type="text/javascript" src="includes/leftmenu.js" />
declaration
It is not a declaration, it is an element.
This works completely without error in Firefox,
Probably because Firefox, as all Mozilla/5.0 based browsers, supports XHTML.
but nothing displays at all in IE!


Probably because IE does not support XHTML to date, even though you use the
proper DOCTYPE declaration (try serving it as application/xhtml+xml to see
it is true[1]). Instead it does error-correction on XHTML markup.

`<tag />' is equivalent to `<tag>&gt;' in HTML, not to `<tag></tag>' as
in XHTML.[2] IE probably (_incorrectly_) error-corrects it to `<tag>';
the `script' element is not closed, thus no code is included.
HTH

PointedEars
___________
[1] <URL:http://hixie.ch/advocacy/xhtml>
[2] news:32*****************@PointedEars.de
Dec 2 '05 #21
Matt Kruse wrote:
Thomas 'PointedEars' Lahn wrote:
Matt Kruse wrote:
Even the term "Javascript" is confusing and misleading, yet we use
it.

Some, not all, of us use that.


Followups to comp.lang.ecmascript? :)


I would support the renaming, but I doubt newbies are going to find it.
PointedEars
Dec 2 '05 #22
Thomas 'PointedEars' Lahn said the following on 11/30/2005 7:45 PM:
Matt Kruse wrote:

Thomas 'PointedEars' Lahn wrote:
Matt Kruse wrote:

Even the term "Javascript" is confusing and misleading, yet we use
it.

Some, not all, of us use that.


Followups to comp.lang.ecmascript? :)

I would support the renaming, but I doubt newbies are going to find it.


And it would be an incorrect renaming.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Dec 3 '05 #23
On 2005-12-01, Thomas 'PointedEars' Lahn <Po*********@web.de> wrote:
Matt Kruse wrote:
Thomas 'PointedEars' Lahn wrote:
Matt Kruse wrote:
Even the term "Javascript" is confusing and misleading, yet we use
it.
Some, not all, of us use that.


Followups to comp.lang.ecmascript? :)


I would support the renaming, but I doubt newbies are going to find it.


that'd reduce the nomber of "how do I stop the user from closing this window"
requests...

Bye.
Jasen
Dec 4 '05 #24

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: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work

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.