Win a copy of Rust Web Development this week in the Other Languages 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Ajax and related queries

 
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I have the following queries pertaining to Ajax:

Can Ajax be considered as a technology platform or is it an architecture?

With so much dependence on JavaScript, isn't it walking on eggs? All the client has to do is disable JavaScript and the entire logic would go for a toss!

Thanks,
Saket
 
Author
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Saket

I would describe Ajax as an approach rather than a technology platform. It uses a range of existing technologies with a specific architecture and as you rightly point out, is highly dependent on JavaScript. I would share your concerns about users disabling JavaScript and preventing an entire application from working.

Cheers

Sas Jacobs
 
Ranch Hand
Posts: 320
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can I say Ajax is complete javascript and XML/text coding using XHR object? If I were to use Struts & Ajax I don't require any extra jar components specific to Ajax rite?
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your serverside page does not know the difference between a normal form submission post back and a request sent with the XMLHttpRequest Object. Plus you are not required to use XML. I personally use strings in my prodcution code.

So nothing new is required on the server (unless you use a 3rd party framework)

Eric
 
reply
    Bookmark Topic Watch Topic
  • New Topic