Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Welcome Ryan Asleson and Nathaniel Schutta

 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This week, we're delighted to have Ryan Asleson and Nathaniel Schutta amongst us, helping to answer questions about their new book "Foundations of Ajax".

We'll be selecting four random posters in this forum to win a free copy of their book provided by the publisher, Apress.

Welcome Ryan Asleson and Nathaniel Schutta!
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How does AJAX is different from spawning background thread to do an asynchrouns jobs ?.
[ November 14, 2005: Message edited by: Raj Vijayasundaram ]
 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is Ajax?
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry if this question is so basic,
what the advantage if we use ajax comparing to other technology.
and also is there another technology that is equal to Ajax?
 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ryan and Nathaniel,

I've a couple of queries regarding AJAX from a project manager's perspective:

1. How much effort is required to migrate a non-AJAX web application to an AJAX enabled one?

2. How steep is the learning curve for my J2EE developers to pick up AJAX and start implementing on the application?

3. Is there a compromise in server performance on an AJAX application?

My company is currently in the midst of evaluating an AJAX based web application for our clients and we are still deciding whether to go ahead with it.

Thanks
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do I do if my ajax request is being redirected for example?
For a "normal" request this is OK, the browser simply displays the response. Its not so nice when the callback method receives some unexpected HTML content.
 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I understood correctly, AJAX uses lot of JavaScript. Doesn't it add lot of complexity to simple plain HTML? Does AJAX code is maintainable? What if JavaScript is disabled in browser?
 
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to Ajax.
I have a XML file in the webserver. Is there a way i can read that XML using AJAX and then update my HTML page. Is so pls tell me how can i so that one.

Regards,
Ramesh
 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If a person who knew XHTML, HTML and Javacript. Can someone write AJAX?

Is it a library we can use?
 
David Dong
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does AJax run on any webserver or specific webserver?


How does AJax simplier than HTML with Javascript?
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From Security side,is there any advantage of using AJAX over other technology.
 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ,

Is AJAX that easy (like everyone seems to say)?
And why is it called AJAX ?
Is it just Javascript with HTML to make "classic"
sites look a bit more "dynamic" ?
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How different is Ajax from the technology that is/was being used from a long time in websites like chat.yahoo.com? (e.g. http online chatting application)
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Forgot to mention that no responses to this thread will count towards winning a book. Please ask questions in new threads. This is simply a welcome message.

Thank you.
 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ryan and Nathaniel,

1. From the things I read about Ajax, it looks like it's an extension to the HTTP protocol; using web pages with AJAX you can do things that you can't do with HTTP 1.1 (loading or reloading data without a page refresh). Do you think AJAX will evolve towards something like HTTP 1.2 or HTTP 2.0?

2. There are numerous initiatives to overcome browser differences within the AJAX community. Do you think these initiatives should be driven by the market/ community, or should they be driven top-down (from a standards organisation like W3C)? And what are your opinions on Xforms from W3C? Should the ideas from AJAX and XForms be merged?

Best regards,
Eelco den Heijer
Amsterdam, Netherlands
 
Author
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ajax is a technique/set of technologies that allow you to communicate with the server in an asynchronous manner. Using JavaScript, you can manipulate the DOM and avoid a full page refresh. For more info, read Foundations of Ajax and check out: What is Ajax/ and
Ajax: A New approach to Web Applications

You can achieve somewhat similar ends with iframes though that has its own set of issues. Of course there are a number of proprietary approaches but most require plugins or special development environments. Though not entirely standards based, Ajax relies on simple technologies that most web developers already know � XHTML, JS, DOM, XML, etc. Best of all, it works with whatever backend technology you are most familiar with be that Java, C#, PHP, whatever.

With an existing app, we would recommend introducing Ajax bit by bit � to do a complex bit of validation or improve usability in some way. For developers that already know HTML, DOM, and JS, the learned curve is pretty smooth. As far as server performance is concerned � you will typically make more, finer grained calls but provided your server is architected properly and you test it, you should be fine. We can swamp a server with any web technique!

Personally, I wouldn�t say that Ajax makes apps significantly more complex � the claim that it�s rocket science is overblown. Yes, you will have to write more JavaScript however, there are a number of libraries to help out!

Reading XML is not a problem � in fact several of the examples in Foundations of Ajax do just that. The XMLHttpRequest object has an attribute: responseXML. The value can be parsed and the data used to update the DOM. It�s a great technique for testing!
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I checked table of contents and downloaded sample codes. It is great. But one major issue may missing or not address clearly, it is how to handle those events in Ajax. Is there a good model to handle events? How to mapping to server side? I am checking some platforms and tools, like Echo2, DWR, Zimbra and XUI Framework, what is your opion on those platform? Is good choice implement in JSF? Thanks.
 
gunslinger & author
Posts: 151
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just wanted to say I really like this book. I started digging through it in a Barnes and Noble cafe and thought it was great. I've ordered it from Amazon and should get it any day now.

Great job guys!

Ken Kousen
 
Marshal
Posts: 67463
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy ho!
 
Ranch Hand
Posts: 672
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry what is "Howdy ho"?

Japanese?

Thanks.
 
Nate Schutta
Author
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ken - glad you liked it!
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am using tacos+tapestry 4.0 in our new project.

http://tacos.sourceforge.net/#ajaxsupport

so, i'm so instereted in the new book "Foundations of Ajax"
by Ryan Asleson and Nathaniel Schutta
 
Once upon a time there were three bears. And they were visted by a golden haired tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic