Slashdot Mirror


Building Richly Interactive Web Apps with Ajax

FalsePositives writes "Ajax: A New Approach to Web Applications (from Adaptive Path and via Jeffery Veen) introduces their experiences with what they are calling 'Ajax' as in 'Asynchronous JavaScript + XML' aka the XmlHttpRequest Object. It is used by Google (Google Maps, Google Suggest, Gmail), in Amazon's A9, and a few others (like the map of Switzerland spotted by Simon Willison). ... Is this 'The rise of the Weblication'?"

358 comments

  1. Weblication? by Neil+Blender · · Score: 5, Funny

    No more cutesy terms, please.

    1. Re:Weblication? by stupidfoo · · Score: 4, Informative

      I thought JSON was the new hotness?

    2. Re:Weblication? by Anonymous Coward · · Score: 0

      Okey dokey diddly do!

    3. Re:Weblication? by Quixote · · Score: 3, Funny

      You misunderestimate their utility...

    4. Re:Weblication? by PopeAlien · · Score: 5, Funny

      .. aw c'mon. you're just jealenvious that you didnt inventrify such a fabutabulous e-term.

      right?

      think of the infotainment value!

    5. Re:Weblication? by wowbagger · · Score: 1

      Agreed. Can we set up a Paypal donation link to pay to have something terrible happen to the person who came up with this idea? like his internal organs being used as a stunt on Fear Factor?

    6. Re:Weblication? by Neil+Blender · · Score: 1

      You misunderestimate their utility...

      No, I do not. I have been building applications that run over the web for the past 5 years (10 if you count non-professional work.) They are applications, that is all. By the way, I don't run PDApplications or Celplications, either.

    7. Re:Weblication? by Anonymous Coward · · Score: 0

      Misunderestimate, dude. Misunderestimate.

    8. Re:Weblication? by dcrocha · · Score: 2, Interesting

      Weblication is better then Ajax, at least for me. I say that because I worked for a company and there I had a co-worker whose nickname was? AJAX. He developed a *ridiculous* web application development framework; so ridiculous that we made the expression "Ajax Development Framework for Web Applications" a synonymous for "crappy web development framework". So if everybody starts calling XmlHTTPRequest-based development "Ajax", one enterprise-wide inner joke previously bound to last forever will now be lost.

      Ps.: One of the features of *our* Ajax development was constant refactoring. So constant that we bet he was writing a book called "Refactoring Forever", where he taught how to keep refactoring the same system for years without never ever finish it.

    9. Re:Weblication? by Anonymous Coward · · Score: 3, Funny

      You're right. Once people start usaging a word, it becomes standardified. In fact, I'm feeling a bit creatific now-wise, and I'd like to objection at all the granitypes who don't grok "I fornet a dozen emails about verbification". Don't you enpensate it? Can't you disconstruct the affixatives? Wouldn't you rather stragmatize?

      - Tom Phoenix

    10. Re:Weblication? by Anonymous Coward · · Score: 1, Funny

      iAgree.

    11. Re:Weblication? by sqlgeek · · Score: 4, Funny

      Is that you President Bush?

    12. Re:Weblication? by sharkey · · Score: 1

      Why? It's a perfectly cromulent word.

      --

      --
      "Outlook not so good." That magic 8-ball knows everything! I'll ask about Exchange Server next.
    13. Re:Weblication? by Anonymous Coward · · Score: 0

      No, it is most decidedly lunacrist.

    14. Re:Weblication? by game+kid · · Score: 1

      I've tried GMail and Google Maps and they're pretty powermazing in themselves. Combined, they're like a good Slashdot post--quite interformative. The mail I get can oftentimes be fularious too.

      --
      You can hold down the "B" button for continuous firing.
    15. Re:Weblication? by CodeBuster · · Score: 1

      Jargon - Yet another result of marketing BS trivializing the momentous and complicating the obvious...

    16. Re:Weblication? by hunterx11 · · Score: 1

      Reading this kind of nonsense makes me feel downright frumious.

      --
      English is easier said than done.
    17. Re:Weblication? by Anonymous Coward · · Score: 0

      do you work for microsoft by chance?

    18. Re:Weblication? by rrhal · · Score: 1

      Come now, "stragmatize" is a perfectly cromulent word. It wouldn't hurt for you to embiggen your vocabulary.

      --
      All generalizations are false, including this one. Mark Twain
    19. Re:Weblication? by xmedar · · Score: 2, Funny

      I guess the marketroids are engaged in a spot of Websterbation...

      --
      Any sufficiently advanced man is indistinguishable from God
    20. Re:Weblication? by cataBob · · Score: 1

      Weblication is a perfectly cromulent word.

  2. Compatibility? by nizo · · Score: 5, Funny

    Is Ajax compatible with the Odysseus web security tool or will it just cause Ajax to die a horrible death?

    1. Re:Compatibility? by Krankheit · · Score: 1

      Actually, contrary to popular belief, there were two Ajaxes in the Odyssey, there was "little" Ajax and "Big" Ajax. Both dided a different death. (I can't remember exactly, I think little Ajax pissed off a god and was then killed). Ignorantly, most movies depict the Oddysey with one Ajax.

      --
      Powered by caffeine and sugar; BSD
    2. Re:Compatibility? by Anonymous Coward · · Score: 1, Insightful

      Nothing like someone who doesn't get the joke to make a joke all the better.

    3. Re:Compatibility? by NoMoreNicksLeft · · Score: 2, Funny

      It probably has some achilles heel that allows trojan to be installed. I wouldn't be suprised if this happens before the vendor ships 1000 units.

    4. Re:Compatibility? by nizo · · Score: 1
      Maybe because it is hard to find a look-alike midget to play little Ajax? Or perhaps because most moviegoers have the attention span of a gnat and couldn't keep up with two similiarly named characters?

      However by far the most important question is, was the lit class you probably took at some point worth the hassle of understanding the parent joke? :-)

    5. Re:Compatibility? by Anonymous Coward · · Score: 0

      Actually, there was only one Ajax in The Odyssey (sorta kinda). There were two in the The Iliad. While both the "little" and the "great" Ajaxes appear in The Iliad several times, only the "Great" Ajax appears in The Odyssey, and even then only as a ghost who says no words. I distinctly remember this because it is the the second-most saddest part of the epic (Book 11), only behind the death of Odysseus' hunting dog when he returns home disguised as a beggar (the dog recognizes him after 20 years and then dies, this is after years of neglect and abuse). Essentially, "Great" Ajax is so pissed at Odysseus for an argument they had as they were leaving the remains of Troy, that he refuses to speak to him even after he was dead! He just turns around at the gateway Odysseus created to Hades and heads back down without saying a word.

    6. Re:Compatibility? by Anonymous Coward · · Score: 0

      Company is in Troy, MI

    7. Re:Compatibility? by sapped · · Score: 1

      Is Ajax compatible with the Odysseus web security tool or will it just cause Ajax to die a horrible death?

      No. Ajax will now die in a Flash

      As in Flash Gordon. As in why the heck is that movie still in my head after all these years?

  3. Also Check out Bits of News by Masq666 · · Score: 1, Informative

    This site also has a lot of news. Ajax seems to me to be a realy good technology, if google uses it it has to be at least of some use. XML itself it realy good if you use it the right way.

    --
    Bits of News Giving you the latest bits.
    1. Re:Also Check out Bits of News by pe1rxq · · Score: 5, Interesting

      Ajax isn't a technology... its a cute name for a bunch of existing technologies.

      Basicly they found that you could make webpages update themself without completly reloading if you trow a lot of buzzwords at it.

      You could do this a long time ago without xml....
      I did it a while ago for a database app.. The page contained a piece of javascript that was started when a input field changed. This triggered the loading of a external .js file that just happened to be a cgi script. This cgi script would do some database queries and generated some javascript code that would update all the other fields on the client.

      Jeroen

      --
      Secure messaging: http://quickmsg.vreeken.net/
    2. Re:Also Check out Bits of News by jeremie · · Score: 1

      Agreed, I've been doing exactly this kind of thing for quite some time as well, as demonstrated at http://on2me.com/, by pushing data back through images.

      I don't know about others, but I've had problems with xmlhttprequest and security settings for some IE users, it's not all it's cracked up to be.

    3. Re:Also Check out Bits of News by Anonymous Coward · · Score: 0

      Google doesn't use Ajax. Ajax is a sort of appserver that allows you to design sites the way google did. XML is good for somethings, and overkill for others. .segmond

    4. Re:Also Check out Bits of News by jo42 · · Score: 2, Funny

      > XML itself it realy good if you use it the right way

      You mean not as a marketing compliant TLA buzzword, eh?

      Amazing what you can do with a text file, isn't it?

  4. new acronym by Anonymous Coward · · Score: 5, Informative


    old technology, noob developers

    remote scripting has been around since 1998 with Dan Steinmans DynAPI, then Brent Ashley published his remote scripting and a plethora of remote scripting projects popped up on sourceforge

    the only thing new here are the developers/kids calling it Ajax when its nothing new or original at all, not to mention MS has had remote data binding on elemnts since IE4 !

    sheesh

    1. Re:new acronym by Anonymous Coward · · Score: 0

      Agreed, this really is nothing new.

      We've been doing this in IE for parts of our web admin interface for (literally) years.

      You create an instance of the MSXML parser in javascript by using; "var xmlDOMObject = new ActiveXObject("Microsoft.XMLDOM");"

      Then it's a simple matter of loading an XML document via http using;
      "xmlDOMObject.Load("http://www.url.com/doc .xml");"

      And then transform it using an xslt.

      Nothing to see here, move along.

    2. Re:new acronym by temojen · · Score: 1

      Remote scripting has been around since before 1997, when I wrote an app that used a frame to fetch data (in the form of javascript) from the server.

    3. Re:new acronym by serutan · · Score: 1

      Putting a cute name on it may seem trite but it might make more developers aware that this exists and get them interested in using it. I only discovered xmlHttpRequest about 3 years ago, and was blow away by the ability to make a page essentially act like a true client-server app. The idea seemed to go by the wayside when Asp.Net appeared, as it stressed making the client side as dumb as possible and refreshing the page for every damn little thing. Now the MS pendulum seems to have swung back the other way; .Net features xmlHttpRequest functionality in object form. I really think the webpage-as-app is the way of the future, but you'd be surprised how few people actually use this technology.

    4. Re:new acronym by temojen · · Score: 1

      It was not an original Idea when I did it. Also, XMLHttpRequest makes it much nicer (can post back XML, etc)

    5. Re:new acronym by snorklewacker · · Score: 1

      XMLHTTP is nice, but using a frame lets you preserve history. Which one you use depends on what you need in your application. There's all kinds of other clever ways to do this as well. I used a combination of techniques five years ago to do this sort of dynamic web app stuff, using an embedded applet to open a TCP connection back. Nice interactivity with very low bandwidth utilization. Nowadays I'd just use keepalive and eat the HTTP overhead. Shame I never could get it "to market", so three years ago some other startup went and sold a prodict based on a similar idea. Mine was different enough that it probably wouldn't have run into patent issues, but the company was already in the ashbin and I didn't feel like continuing it.

      At no time when developing it did I desire to utter such insipid neologisms as "Weblication", though there were a few cutesy slogans thrown around.

      --
      I am no longer wasting my time with slashdot
    6. Re:new acronym by ReadParse · · Score: 2, Interesting

      Why am I replying to an Anonymous Coward? Not sure.

      This is not really old technology. Pieces of it are old. What's new is the ability to really do it in the real world, thanks to some pretty decent standards support by all the major browsers, including the XMLHTTP object, which is what makes it possible to send a request dynamically.

      The name Ajax? Well that's just what this guy is calling it, and it's not an altogether bad name. Call it whatever you want, but he's absolutely not wrong that this is a new way of doing web applications. I took notice of this not long after I started using Gmail and saw what they were doing, and I've played around with this type of development recently, and it's really great.

      So don't go around anonymously claiming to be an old, experienced hand surrounded by morons when you don't seem to know what you're talking about.

      RP

    7. Re:new acronym by MyIS · · Score: 1

      I think that only after 2001-ish the XMLHttpRequest object (the key piece of this whole thing) gained almost 99% browser support. And also keep in mind that it takes a long long time for a tech to grow from a toy into an accepted way of doing things. Even .Net with its huge marketing is still smirked at by a lot of shops.

      --
      http://zero-to-enterprise.blogspot.com/
    8. Re:new acronym by Anonymous Coward · · Score: 0

      sheesh, jeez, erhm, teh, editors don,t like me, I submitted this two minutes(4 hrs. ago), I posted first, I posted non-funny first, erm, etc. Shorties! Idiots! No life having people! Please go away. Please.

    9. Re:new acronym by JerkyBoy · · Score: 1
      Have a look at Tcl sometime and you'll see that this technology is not new. For example, Eolas (yeah, the folks who tried for the browser patent case against MS) was the home of Tcl dp_rpc (Distributed Processing / Remote Procedure Calls). The license contains the following line:


      # Implements a tclDP compatible portable RPC library atop of the
      # Tcl ver. >= 7.5 socket command.
      # Originally developed by Steve Wahl for Eolas Technologies Inc.
      # Copyright (C) 1995-2003 Eolas Technologies Inc, All Rights Reserved
      # Freely distributable/modifiable under the BSD license
      # Documentation can be found at http://www.eolas.com/tcl/spynergy/rpc
      So, it looks like there's been an implementation of this around for at least a decade. Just hope they don't have a patent on the idea :)
      --


      Always do right. This will gratify some people and astonish the rest. -- Mark Twain
    10. Re:new acronym by flyboy974 · · Score: 1

      Back when Microsoft first released an XML/XSLT AciveX Component ('98ish as well?), I personally implemented a dynamic Stock Portfolio using it.

      Using Javascript for the browser language, it would download the XML for the users portfilio in XML, download another XML file for the stock quotes. Combine them together into one XML file, then it would download an XSLT stylesheet based upon the view that they wanted. All sorting was done in real-time via the XSLT on the uesr's computer. We then just downloaded a new XML file for the quotes every 5 minutes.

      Unfortunately because we were a company that didn't want to commit to one browser only (Netscape 4 was still popular), the project was dropped and we never went back to it. But, it was impressive for that day and age non the less.

  5. Greeaaaat by Nathonix · · Score: 3, Funny

    Even more stuff to learn. As if high school wasnt mind numbing enough.

    --
    Soap box, Ballot box, Jury box, Ammo box. Use in that order.
    1. Re:Greeaaaat by Infonaut · · Score: 1
      Even more stuff to learn. As if high school wasnt mind numbing enough.

      Are you implying that you actually have to learn stuff at your high school? Damn, I was cheated!

      --
      Read the EFF's Fair Use FAQ
    2. Re:Greeaaaat by Anonymous Coward · · Score: 0

      I learned to castrate pigs and operate on them (ie. fix a prolapse) ewwww, schools in farm areas are wierd

    3. Re:Greeaaaat by ackthpt · · Score: 2, Insightful
      Even more stuff to learn. As if high school wasnt mind numbing enough.

      If you're going to be a developer, you'd better get used to it. As hardware advances, so does software and there's always some guy around the corner with the latest, greatest language/tool/etc.

      The thing that occured to me, years ago was the shift from 'no, we can't do that' to 'we can do that' which was mostly as the result of much faster hardware with more storage. Ways of doing things which required a lot of power were impractical within the confinements of old hardware suddenly became possible, only to encounter new things which were too grand for the hardware, etc. If you can, imagine trying to run on a 20 year old computer what you can run on a new one. It'd choke the old thing.

      So, as the hardwave evolves, so the software and you're able to develop incredibly complex (and probably as unsecure) applications with toolkits which would have once entailed hundreds of thousands of lines of code in a few drag and drops and fill in the properties. It always gets me when I see some application which isn't really doing a hell of a lot is tying up 30 MB of RAM. We ran an entire college on 2 88 MB HD's once...

      --

      A feeling of having made the same mistake before: Deja Foobar
    4. Re:Greeaaaat by 1010011010 · · Score: 1


      "You went to public school, so we're going to assume you're already familiar with small arms."

      --
      Napster-to-go says "Fill and refill your compatible MP3 player", which is a lie. It's not MP3. It's WMA with DRM.
  6. Amazingly, mind blowingly new! by prurientknave · · Score: 1

    Defining Ajax

    Ajax isn't a technology. It's really several technologies, each flourishing in its own right, coming together in powerful new ways.


    It's like the marketing folks went plumb crazy generating this ad that was posted onto the slashdot front page.

    Tell me: how is this news?

    1. Re:Amazingly, mind blowingly new! by Tackhead · · Score: 1
      > > Ajax isn't a technology. It's really several technologies, each flourishing in its own right, coming together in powerful new ways.
      >
      >It's like the marketing folks went plumb crazy generating this ad that was posted onto the slashdot front page.

      Well, you see, by making everything in the ad a hyperlink, nobody can complain about our collective failure to RTFA. I mean, which clicky thingy in there was supposed to be TFA again? That " "--×oe" thing? 50 randomly spidered links on del.icio.us. (Oops, that's not random, it's the semantic web! It's cool because it's got an RSS feed!) It's disorganized writing, even by the unholy shocking standards of folks like us who read blogs and wikis!

      Anyways, I hope someone gets to yell out BINGO! on "semantic web", "RSS", "blog" or "wiki". My card still has a few more holes to check off. I've done my part. Carry on.

  7. Is this the rise of by Anonymous Coward · · Score: 2, Insightful

    yet an other buzzword?

    Webplication? Please.

    1. Re:Is this the rise of by Dan667 · · Score: 0, Offtopic

      Always the way. Finally find something worthy to mod up and my mod points expire right before I can use one....

    2. Re:Is this the rise of by sfjoe · · Score: 4, Funny



      I think what we need is an RFC on buzzwords to introduce some standards to the whole marketing process. Of course, then the new hyp could be labeled as buzzword-compliant.

      --
      It's simple: I demand prosecution for torture.
    3. Re:Is this the rise of by Anonymous Coward · · Score: 0

      Webplication? Please.

      You're right! But Weblet and WebWare are already taken and a webxecutable just sounds silly.

    4. Re:Is this the rise of by tehshen · · Score: 1

      There have been so many new terms on the web lately - it's like they're webplicating.

      --
      Guy asked me for a quarter for a cup of coffee. So I bit him.
  8. XUL apps by OmniVector · · Score: 2, Interesting

    it's a shame we don't have a standard web-app framework yet, because i've seen some pretty cool stuff done with XUL. i keep thinking "man, it would be awesome to have an XUL based webmail client. or an XUL based search engine" .. etc etc. hopefully what-wg will change things, but it's a shame to see all these competing web app libraries now because it really makes universality impossible

    --
    - tristan
    1. Re:XUL apps by qray · · Score: 1

      I was thinking the same when writing another post, XUL could be a part of a solution. Add in some XML RPC type technology and a technology that can cache data for requests in memory or on disk to reduce server requests and make the app more reponsive. Sort of a client side database and you'd have something that would look and feel like a traditional application.

      --
      rikar madrack tendar mogro

  9. Wow by aristus · · Score: 4, Funny

    an "oldskool" web developer grumbling about newskool kids who don't know what it was like back in the Real Days. Why, all we had were radio buttons! And they could only tune in AM! And we liked it that way!

    --
    Sometimes seventeen/Syllables aren't enough to/Express a complete
    1. Re:Wow by jarich · · Score: 1
      And we pushed the data up hill both ways through those network cables!

      And we didn't have any of this here fancy eethernet! We used Tokenized Rings! Now that was networking! And Arked-Nets!

      Young kids today have no appreciation for all the hard work we did back in MY day! (humph!)

    2. Re:Wow by Anonymous Coward · · Score: 0

      Tokenized Rings? Luxury!

      We had to carry mailbags full of punch cards through 3 feet of snow. And God help you if you folded, spindled or mutilated any of them.

      And we liked it!

    3. Re:Wow by Anonymous Coward · · Score: 0

      You had mailbags?

      We had to stand in long lines waiting for our turn at the cardreader. If the printer ran out of paper we had to wait for the teaching assistant to come back from break to get our printouts.

      Once the TAs went on strike and we had to change the paper ourselves.

      And we thought we were on the leading edge of something!

    4. Re:Wow by __aaclcg7560 · · Score: 1

      Young kids today have no appreciation for all the hard work we did back in MY day!

      I used to work for a video game company. When I told the younger employees about the early days of arcade machines (e.g., Pong, Asteroids, etc.) and the Atari 2600, they were amazed that video games existed before they were born.

      Just for kicks, I would send them to another old timer who used to work on games that used pen-and-paper only! It's kinda sad that you have to explain to kids that Dungeon & Dragons never started off as a video game.

    5. Re:Wow by Anonymous Coward · · Score: 0

      You had printers? We had birds that would peck the output into stone tablets with their beaks.

    6. Re:Wow by theshowmecanuck · · Score: 4, Funny

      Old Developer: ...and we could only use ones and zero's!
      Dilbert: You had ones? We had to use lower case L's.

      --
      -- I ignore anonymous replies to my comments and postings.
    7. Re:Wow by Anonymous Coward · · Score: 0

      We used to have to memorize the binary ourselves then use smoke signals to transmit it. The person on the other end had to then type it back in by hand, but the processors were so slow that you still had to wait to get the results of the data.

    8. Re:Wow by Anonymous Coward · · Score: 0

      Its kinda sad the YOU have to explain to kids that you play Dungeons & Dragons.

    9. Re:Wow by __aaclcg7560 · · Score: 1

      What's wrong with playing Dungeons & Dragons as a kid the old fashion way? Of course, I'm old enough to remember that playing meant going outside to play.

  10. AJAX? by Anonymous Coward · · Score: 0

    Isn't that a cleaning powder?

    1. Re:AJAX? by marika · · Score: 0, Offtopic

      No it's a city in Ontario.

      --
      This is totally insecure, but very convenient.
    2. Re:AJAX? by Anonymous Coward · · Score: 0

      No, it's a Dutch football team.

    3. Re:AJAX? by Adhemar · · Score: 5, Informative
      Isn't that a cleaning powder?
      Yes, it is
      • a cleaning powder
      It is also
      • an ancient Greek king in Homer's Iliad. Well actually two:
        • Ajax the lesser of Locrian Ajax, son of Oileus, king of Locris
        • Ajax the Great or Telamonian Ajax, son of Telamon, king of Salamis
      • a Dutch football (in the soccer sense) team of Amsterdam, already mentioned
      • several ships of the Royal Navy
      • as already mentioned, a place in Ontario, Canada, named after one ot these ships
      • a character on the animated televion series Duckman
      • a car (actually several models)
      • several companies: a Californian boiler company, a Dutch fire security company.
      • a buzzword for a combination of technologies, see this Slashdot story.
    4. Re:AJAX? by Adhemar · · Score: 1
      Isn't that a cleaning powder?
      Yes, it is
      • a cleaning powder
      It is also
      • an ancient Greek king in Homer's Iliad. Well actually two:
        • Ajax the lesser of Locrian Ajax, son of Oileus, king of Locris
        • Ajax the Great or Telamonian Ajax, son of Telamon, king of Salamis
      • a Dutch football (in the soccer sense) team of Amsterdam, already mentioned
      • several ships of the Royal Navy
      • as already mentioned, a place in Ontario, Canada, named after one ot these ships
      • a character on the animated televion series Duckman
      • a car (actually several models)
      • several companies
        • a Californian boiler company
        • a Dutch fire security company.
      • a buzzword for a combination of technologies, see this Slashdot story.
      Given the enormous number of different things one name can denote, it should't be any wonder there are actually people making money finding (unused) trademark-names for products.
    5. Re:AJAX? by kmurray · · Score: 1

      Duckman's son.

    6. Re:AJAX? by Anonymous Coward · · Score: 0

      (ajax mode)Dod am i now an weblication , and why does xml get stuck on my gums(/ajax mode)

    7. Re:AJAX? by Erbo · · Score: 1

      Also, in poker (specifically Texas Hold'em), "Ajax" is slang for the hole cards Ace-Jack. (This hand is sometimes also called "Blackjack.")

      --
      Be who you are...and be it in style!
    8. Re:AJAX? by Anonymous Coward · · Score: 0

      Ajax Amsterdam owns (51% of? can't remember) a South African franchise team, Ajax Cape Town.

    9. Re:AJAX? by Anonymous Coward · · Score: 0

      Also the name of an icelandic oldschool hardcore band (that was named after the cleaning powder, incidently)

  11. Caution by Anonymous Coward · · Score: 2, Funny

    Ajax is not meant to be used on windows.

  12. Java app by dfj225 · · Score: 5, Interesting

    Maybe I'm missing the point somewhere, but if you really want something on the web to feel like an app, why not make it a Java app that runs in the browser? With all the different browsers and how they each handle Javascript differently, I much rather write something in Java and know it will almost always work on different platforms. Anytime I have to do something in Javascript, it almost always feels like a hack. I can't imagine writing something like the stuff Google does in Javascript. Is there really an advantage to doing stuff this way over the Java way?

    --
    SIGFAULT
    1. Re:Java app by MyIS · · Score: 5, Insightful

      First of all, almost any PC will have a semi-recent IE installed (or Firefox for the more enlightened), and that is already enough to run Google's stuff.

      Compare that to the Java plugin requirement, which, sad to say, is pretty far behind in availability on most PCs.

      Also, Javascript-based stuff is easier to program, trust me on this. Layout of elements is much easier - and it can be done in any decent HTML editor. Finally, there's no thread-related insanity that AWT/Swing bring to the table.

      --
      http://zero-to-enterprise.blogspot.com/
    2. Re:Java app by TedTschopp · · Score: 4, Insightful

      I bet someone else will post the exact same thing, but instead they will replace Java with Flash...

      I think the point is that you don't need to insert an object or rely on a 3rd party enviroment. You can do it in Javascript.

      Also, the reason this is so very cool is that it doesn't tie your applicaiton into a backend of any kind, you can scale your backend as long as it spits out XML. I think this is the reason so many of the big companies are going to it. They require a bit more flexibility on that end.

      --
      Fantasy remains a human right; we make in our measure and in our derivative mode... -- JRR Tolkien
    3. Re:Java app by Anonymous Coward · · Score: 0

      Becuase java is still client side. And load times for java are poor since very few sites use it forcing the browser to (likely) load the vm for the first time when it gets to your site.

    4. Re:Java app by hey · · Score: 1

      I agree javaScript is too horrible.
      Every second line has to be a hack to cope with browser differences!

    5. Re:Java app by Anonymous Coward · · Score: 0

      You can't imagine coding the things Google have done in Javascript? Is that statement a design decision or an admitance of javascript incompetency? javascript is a very powerful language, the only problem with it is that of a solid standard that is compatiable across all browsers. There was C before ANSI C, There were libraries before POSIX, it's only when things get used often that seriousness is taken to form a solid standard. Once a lot of people keep walking in the line of google, javascript will get better.

      With that, the reason to use javascript is that of space, JAVA IS BLOAT. I always jokingly call java the cobol of our era. If my application is back end handled by python, perl, java, if I stard doing the GUI/presentation layer in java, I might as well move off the web browser. Using HTMl+Javascript for GUI allows for the advantage of keeping it on the net. Using XMLHttprequest allows you to update only needed section of pages, if your site has 1,000,000 users. This will immediately count up in terms of savings of bandwidth, load on server. It further more enhances the user experience and it's very much needed in places like Africa where high speed is available only to the very few. If the majority of web user interface was using that, I honestly would cancel my $60/month cable modem and go back to regular modem. .segmond

    6. Re:Java app by ashot · · Score: 1

      you can still have the same flexibility on the back end with java/flash

      --
      -ashot
    7. Re:Java app by redheaded_stepchild · · Score: 3, Funny

      I've got it!

      Flash + Java = Flava!

      And we can get Flava Flav to promote it!

      YES! Bow before the mighty marketing droid!

      --
      Don't use the Troll mod just because you disagree with me.
    8. Re:Java app by misleb · · Score: 3, Interesting
      Java GUIs are traditionally slow and ugly. Also there are often problems with Java runtime versions. It is difficult to write a non-trivial Java application that will run on various different version of the Java runtime. Some people are going to have 1.2, some 1.3, some 1.4, etc. Using standard DHTML or even Mozilla's XUL provides a much more elegant application that looks and feels better than most Java GUI's. DHTML and XUL also integrate with the browser better.

      -matthew

      --
      "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
    9. Re:Java app by Hamfist · · Score: 5, Informative

      Our company is arriving a bit late to the 'intranet' party, and I'm developing our Intranet in this style. Where you really notice the difference is:

      1. Speed - It f'ing fast
      2. Startup time - Instant
      3. Footprint - small
      4. Browser support - surprisingly consistent. Event models need some work, including Firefox.

      Did I mention that it's fast? Check out google suggest, realize that there's a round trip to the server going on in the background, and you'll get the picture.

      It also maintains suprisingly light code. You just register an event handler of some DOM element, and let the teensy bits of javascript pull up some fresh XHTML. This technique fits very well with simple event driven programming.

      Another nice thing is that you can use most whatever as a callback. I'm using good old PHP, as PHP snippets are fast and lightweight.

      I suspect we will be seeing alot much more of this.

    10. Re:Java app by keath_milligan · · Score: 1

      Because the elements that comprise Ajax are all included in the typical browser without adding a plug-in. What's more, functionality similar to what XmlHttpRequest provides is currently making its way into the DOM standard.

      If you stick to the standards and forego trying to maintain compatibility with very old browsers, you can write some pretty clean and functional apps with Javascript these days - and you can reasonably expect to run them on a variety of operating systems and platforms without the need for third-party add-ons. It's just a matter of testing - which is basically the same situation you're in if you expect your Java app to run across different JVMs/OSs.

    11. Re:Java app by gik · · Score: 2, Insightful

      I'd' normally agree with you on this one, but you have to ask yourself why Google would do it the Javascript way. Speed. No, this isn't a "Java is slow" troll. I see this Javascript clientside stuff as exciting, because we're using the clientside scripting strengths of the browser, which, even though they differ slightly from browser to browser, offer much in terms of execution speed.

      Also, many people are used to the concept of a "web-application" by now (CSS, tables, fun JS stuff, whatever). Being able to extend this now familiar interface by making it look like what the user's used to (for example, a web-driven mail inbox) and add the facility to be able to change these familiar looking pages and make things appear and disappear and load and unload, etc etc etc all without a page reload or launching a VM is very enticing to many web developers.

      One last note: Your point about Java is good. However, not all JVMs run EXACTLY as they should on all platforms. Today I had to upgrade my JVM because our corporate site needed something juuuuust slightly different. yuck.

      --
      ZERO
    12. Re:Java app by MortimerGraves · · Score: 1

      Although Applets offer all of the interactivity a rich web app needs, there is an advantage in using native browser capabilities over plugins -- it simplifies your tech stack and reduces some of the overhead of version checking. From experience I can assure you that you'll only know that your java app will work consistently if you are certain of the flavour and version of plugin being used; you need fairly good tech stack control for this, and the IT departments of clients will continue to helpfully upgrade plugins even when they're not asked to. :)

      Market perceptions may be a factor too -- when your clients are telling you that applets are a "bad thing" (which on the internet they certainly can be; on an intranet they can be quite good), and that they are old technology, then you are really fighting an uphill battle.

    13. Re:Java app by JimDabell · · Score: 1

      What's more, functionality similar to what XmlHttpRequest provides is currently making its way into the DOM standard.

      DOM 3 Load and Save was published as a W3C recommendation almost a year ago, and works in Mozilla, Firefox, Konqueror and the latest Opera betas.

    14. Re:Java app by temojen · · Score: 4, Insightful

      function getDataDOM(url){
      data = (!window.XMLHttpRequest)? (new ActiveXObject("Microsoft.XMLHTTP")):(new XMLHttpRequest());
      data.onreadystatechange = readyStateChangeFunction;
      data.open("GET",url,true);
      data.send(null);
      return data;
      };

      You were saying?

    15. Re:Java app by snorklewacker · · Score: 0, Flamebait

      > if you really want something on the web to feel like an app, why not make it a Java app that runs in the browser?

      Because java's a nasty cumbersome bureacratic language, applets take an age to load, the GUI toolkit isn't nearly as easy to lay out as HTML+CSS, and you can't bookmark your position in an applet. That's just to start.

      --
      I am no longer wasting my time with slashdot
    16. Re:Java app by Mr.+Slippery · · Score: 1
      Plus, you don't have to coerce your users into downloading and installing a multi-meg JVM.

      Yeah, that's the number one reason ehy Java applets suck.

      But with fancy Javascript you might have to coerce them into installing a whole new browser with a reasonably modern version of Javascript. I have hits on my website from people running Netscape 4.73 (on Windows 98), after all...

      --
      Tom Swiss | the infamous tms | my blog
      You cannot wash away blood with blood
    17. Re:Java app by slagdogg · · Score: 2, Insightful

      Ummm, yeah but Javascript in each variation of this or that browser *is* a 3rd party environment in many ways. If I write something like this in Flash, I don't need to worry so much about browser quirks and the like. Plus Flash has a rendering engine designed for apps like this ... something like Google Maps could have been just as "neato" in Flash and would've been much easier to write.

      And Flash has 99% penetration, which is probably better than the numbers for browsers which properly support Google Maps. The only real advantage of the "Ajax" approach for that application is you can write the whole app in Emacs, sans $500 Flash IDE.

      --
      (Score:-1, Wrong)
    18. Re:Java app by lukewarmfusion · · Score: 1

      Eventually, you will either give up on supporting those users or you'll sacrifice your ability to do some of the things we're describing.

      In a previous job, I had to support NS 4.7. When users started calling to complain that they couldn't get to ESPN's website, I discovered that even the big boys will leave customers behind if it means slowing the train down.

      Support as many users as you can. When you want to raise the bar of what you're putting on your site (or how you're putting, I suppose) then make 'em upgrade or tell 'em to bugger off.

    19. Re:Java app by dfj225 · · Score: 1

      It was probably more a statement of not having enough experience with javascript to even think it was possible to do something like that and have it feel snappy. I've done some simple things in javascript, like iterate through items on a form, that have taken a noticable time to process. On the same computer, something like Google Maps is surprisingly fast.

      I suppose Java might be overkill for something like the Google Suggest and it is a shame loading the JVM takes so much time/resources. I think javascript would be a much better language to use if things were supported uniformly accross browsers. It always seems like a huge waste of time to do something in javascript that works well in one browser only to have to entirely rewrite it or scrap it because it isn't working in a different browser.

      --
      SIGFAULT
    20. Re:Java app by battjt · · Score: 1

      It becomes close impossible to maintain when you look at it only once every 6 months. I've worked on a couple of these projects.

      Not having a compiled language is a real pain when you do maintance because it is harder to trace throught the code or know when you broke it. (yah, you don't write comprehensive tests either!)

      Joe

      --
      Joe Batt Solid Design
    21. Re:Java app by GeckoX · · Score: 1

      That sounds like a bad dev process, not exactly the fault of the tech used. Web apps can be thoroughly documented, and comprehensive tests most certainly can be written.

      --
      No Comment.
    22. Re:Java app by gregarican · · Score: 1

      True this. Where I work we have some folks in the accounting department who use a couple of external websites that require Java support. Too bad the different sites keep changing their code and requiring different JVM versions from each other! Write once, run anywhere. Sure thing...

    23. Re:Java app by GeckoX · · Score: 1

      I was in agreement with you until you took it too far.

      Provide me with a working flash example that at least matches google maps functionality and I may reconcider, regardless of how easy/hard to write.

      And 99% penetration?

      You really didn't need to exagerate to make your point. Now you've just undermined it.

      --
      No Comment.
    24. Re:Java app by GeckoX · · Score: 3, Insightful

      Bullshit Bullshit Bullshit.

      Can I say it again?

      Bullshit Bullshit Bullshit.

      I write these kinds of apps. I have been doing so for years now. I haven't written a browser-fork in code in AGES. I don't even use the hacks in CSS for chrissakes. They aren't needed.

      Remind me never to hire you mmm kay?

      --
      No Comment.
    25. Re:Java app by slagdogg · · Score: 1

      Provide me with a working flash example that at least matches google maps functionality and I may reconcider, regardless of how easy/hard to write.

      OK. That application has all the visual appeal of Google Maps, just a different back end. I should probably get bonus points for including a site which was mentioned in the article, but you really don't have to bother. Really.

      And 99% penetration?

      OK, 98%. My bad.

      --
      (Score:-1, Wrong)
    26. Re:Java app by temojen · · Score: 1

      Here's a trick: offer CDs with firefox on them for sale.

    27. Re:Java app by Anonymous Coward · · Score: 0

      There are lots of people that have Microsoft's almost jvm. That hideous piece of offal is among the least compliant pieces of software the evil Microsoft has ever made.

      It makes it hard to make applets that people can you. Kick bill gates in the pants.

    28. Re:Java app by Nept · · Score: 1

      Anytime I have to do something in Javascript, it almost always feels like a hack

      Maybe that's just the way you're doing it? Does google suggest seem like a javascript hack? Or would you rather have it load up in a java applet?

      --
      "Teachers leave us kids alone ..." - Roger Waters, Pink Floyd
    29. Re:Java app by Anonymous Coward · · Score: 0

      Er, I see you dealing with browser differences in there.

    30. Re:Java app by temojen · · Score: 1

      Not nearly every second line, and this should be ALL the browser detection required for an application using XMLHttpRequest.

    31. Re:Java app by williamhb · · Score: 1

      I bet someone else will post the exact same thing, but instead they will replace Java with Flash...

      I think the point is that you don't need to insert an object or rely on a 3rd party enviroment. You can do it in Javascript.

      Also, the reason this is so very cool is that it doesn't tie your applicaiton into a backend of any kind, you can scale your backend as long as it spits out XML. I think this is the reason so many of the big companies are going to it. They require a bit more flexibility on that end.


      In my work on the Intelligent Book project (intro text, example screenshot), I've been doing just this sort of thing using a Java applet for the communication and then modifying the page for 18 months or so (including returning XML). Fundamentally the advantage to using JavaScript over Java if you can is that the calls into the browser DOM from Java go through JavaScript anyway (whether explicitly in your code, or internally in the Sun code) and that Java-to-JavaScript bridge has been the source of interesting bits of flakiness, and there is still a delay on the first JavaScript-to-Java call in Firefox and Mozilla.

      If you want to support graphical components (eg graphing tools, maths editor), you can nest XML-rendering applets on the page. This is what I do - see a couple of papers on my website (apologies for the dire need to update it). Of course, then you are stuck with having to do the Java-to-JavaScript thing at some point.

      The fact that it is becoming a popular thing to do is great news - the more of us there are taking advantage of this capability, the more impetus there is for the browser authors to make sure it can be supported in a clean and quirk-free way.

      Will Billingsley
      PhD student
      Intelligent Book project.
    32. Re:Java app by Anonymous Coward · · Score: 0

      Then you don't have luser customers that demand Netscape 4.x support, do you?

      Unbelievably, we still do :-( And a few that want ancient IE versions too.

    33. Re:Java app by deserttrail · · Score: 1

      Not the same thing.

      I just skimmed over the spec, but this looks like it just handles serialization of a DOM document to XML and vice versa. It doesn't seem to deal with where the document came from.

      The XMLHttpRequest object makes an HTTP request to a server to retrieve an XML document. Any valid XML document will do (except in IE, which will take just about anything).

      --
      Be civil to all; sociable to many; familiar with few; friend to one; enemy to none. --Benjamin Franklin
    34. Re:Java app by m50d · · Score: 0, Flamebait

      Because Java looks butt-ugly, and is very slow. Call me a troll if you like but it's true.

      --
      I am trolling
    35. Re:Java app by GeckoX · · Score: 3, Interesting

      We finally managed to officially drop NS4 and pre IE5 support about a year and a half ago or so on our worst hanger-on clients. We did replace all of our web applications with standards compliant support only close to 4 years ago now. We also left the old NS4/preIE5 supported web applications online to meet our requirements. It wasn't until we could show our clients the logs for the legacy sites, that were pretty much entirely empty, that it'd be acceptable to drop that support.

      Our stance with new contracts is that we write to standards only for web apps. We will NOT enter into ANY contracts that specify explicitly what browsers will be supported. Pick a standard or pick someone else is our current motto ;)

      --
      No Comment.
    36. Re:Java app by GeckoX · · Score: 1

      So, you link to a picture viewing app and a flash penetration stat from...wait for it...The Horses Mouth!

      Care to try again?

      --
      No Comment.
    37. Re:Java app by JimDabell · · Score: 1

      I think you might be right (and I know what XMLHttpRequest is, thanks :) ). I was basing my statement on knowledge of an earlier draft. It appears that although it's implemented in the browsers I mentioned, it was taken out of the DOM3LS specification before final publication. I'm not sure if another specification covers this or if I'm missing the bit of the specification that refers to this, I'll have to investigate further.

    38. Re:Java app by GeckoX · · Score: 1

      Don't be appologetic. You aren't doing any browser detection at all. What you are doing rather is a feature test. Big difference.

      And of course, it's still a big plus that there's only one feature test in that code :)

      --
      No Comment.
    39. Re:Java app by coopaq · · Score: 1
      I write these kinds of apps. I have been doing so for years now. I haven't written a browser-fork in code in AGES.

      Have you tried IE 7.0?

      Me neither.

    40. Re:Java app by copypaste · · Score: 1

      You can use Sarissa to abstract a lot of the ie/moz differences in XMLHttpRequest and DOM.

    41. Re:Java app by mla_anderson · · Score: 1

      Actually you don't even have to have the backend spit out XML for everything. Sometimes you'll run across something that needs to return a single but important piece of data. XML at that point is over kill. Despite its name XMLHttpRequest does not require that the data transport is done in XML, it is more flexible than that.

      You can also use it for sending form data. I have applications that need to have form data sent to the server, but the user will continue to work in the same form. Prior to using the XMLHttpRequest object I would once again pull the web page from the server. Now I fire the post and forget about it. I don't need to redo the page, it's already just as I want it.

      The XMLHttpRequest object can be used intelligently to reduce the load on a server and at the same time make the user experience rich and snappy. The fact that it works well across browsers just adds to the benefit.

      --
      Sig is on vacation
    42. Re:Java app by Anonymous Coward · · Score: 0

      Our stance with new contracts is that we write to standards only for web apps. We will NOT enter into ANY contracts that specify explicitly what browsers will be supported. Pick a standard or pick someone else is our current motto ;)

      Heh - I like that, and it'd make my life a lot easier :-) I'll see if I can convince the powers that be here.

    43. Re:Java app by Anonymous Coward · · Score: 0


      In fact, Flava was the internal codename for a Macromedia project that investigated combining Flash and Java.

    44. Re:Java app by slagdogg · · Score: 1

      So, you link to a picture viewing app

      Yes, a picture viewing app that fetches data from a back end and displays it beautifully. Just like Google Maps fetches data from a back end and displays it beautifully. Different data, different display, exact same concepts. The Flash app works exactly the same on Linux, Mac, and Windows, in any browser that supports Flash. The Google Maps app works similarly on Linux, Mac and Windows, in any browser that supports "Ajax". The difference is that the Flash app is written once, without the "if this browser then do that" behaviors.

      and a flash penetration stat from...wait for it...The Horses Mouth!

      Care to try again?


      I really should stop posting to Slashdot.

      --
      (Score:-1, Wrong)
    45. Re:Java app by MortimerGraves · · Score: 1

      Nah, just leave an invisible message for the version 4 users (invisible that is to any browser that can handle CSS) pointing them to their choice of free, modern, standards compliant browsers.

      Let's be fair -- I run Win 98 at home, but Netscape 4.7... only when testing web sites. :)

    46. Re:Java app by blackpaw · · Score: 2, Informative

      Your're using a synchronous requests - Firefox/Mozilla have appalling performance on sync calls (10+ seconds). Its a interesting contrast with IE

    47. Re:Java app by Anonymous Coward · · Score: 0

      Because the "Java way" (using applets) isn't a web application. It's a web page with an application embedded in it. This of course requires a plugin, and we all know what a pain in the ass they are.

    48. Re:Java app by Anonymous Coward · · Score: 0

      That's a really stupid idea. I think I should beat you like a... hey, wait.

    49. Re:Java app by Anonymous Coward · · Score: 0

      You can't click on the images and drag them around like you can with google maps. Try again.

    50. Re:Java app by fm6 · · Score: 1
      Did I mention that it's fast? Check out google suggest, realize that there's a round trip to the server going on in the background, and you'll get the picture.
      A more interesting example is Google Maps. Open a map. Then resize the window or scroll the map. The result is a faster, more user-friendly response than you'll see in any any Java app.

      Browser apps that work in the browser itself will always be better than those that work via plugins. That's why Google and others are rebelling against XForms. The idea is right, but without browser support, you have to use a plugin. And, for all the reason's you've just mentioned (and more), forms based on plugins will never fly.

    51. Re:Java app by jcdenhartog · · Score: 1

      "Compare that to the Java plugin requirement, which, sad to say, is pretty far behind in availability on most PCs."

      I totally agree. Also, in my experience, most Java applets are slow, at least in the intial load. Finally, I have yet to see any complex Java applets that are well designed from a UI perspective, though that's probably more an issue of poor understanding of UI issues.

      --
      "The majority is always wrong; the minority is rarely right." - Henrik Ibsen
    52. Re:Java app by acb · · Score: 1

      Where do you draw the line? Shouldn't you also avoid tables for the benefit of those still using NCSA Mosaic? What about the small but significant CERN Linemode demographic? Do you want to cut them off?

      At some stage, you have to say that it's time to move on. Now that modern, standards-compliant browsers like Firefox exist and are freely available, it's more than about time to knock Netscape 4.7 on the head and tell those still using it to upgrade or be left behind.

    53. Re:Java app by Trailer+Trash · · Score: 2, Insightful

      1. Java penetration is nowhere near that of Flash. If you really want to go proprietary, use Flash. Not only does it also allow XML requests to the server, it also has a very nice application creator.

      2. The differences between platforms is way overstated. My apps run in Firefox, Mozilla, and IE for Windows, as well as newer versions of Safari.

      Javascript is included in all browsers. Every platform that matters has an interpreter already. It's a great choice.

    54. Re:Java app by teebo · · Score: 1

      I haven't laughed out-loud while reading /. in years. Thanks. :)

    55. Re:Java app by GeckoX · · Score: 1

      You're really comparing that to google maps?

      If you can't see the difference then this conversation just isn't worth having.

      --
      No Comment.
    56. Re:Java app by dfj225 · · Score: 1

      Well, I probably should have stated it in my main post that I think something like Google suggest could probably only be reasonably coded in Javascript. I wouldn't want to wait for a Java applet to load to use a feature like that. Perhaps compatiblity has come a long way since I've last tried to do something significant. Thats what the hack comment was trying to imply.

      --
      SIGFAULT
    57. Re:Java app by beanlover · · Score: 2, Informative

      data.open("GET",url,true);

      The "true" as the third argument sets it to async according to this page.

      B

    58. Re:Java app by Mr.+Slippery · · Score: 1
      Where do you draw the line? Shouldn't you also avoid tables for the benefit of those still using NCSA Mosaic? What about the small but significant CERN Linemode demographic?

      I don't have any Mosaic hits in my logs. I do have Netscape 4 and IE 4 hits - not a lot, but some. If you want the maximum audience for your content, that suggests where to draw the line.

      Now that modern, standards-compliant browsers like Firefox exist and are freely available, it's more than about time to knock Netscape 4.7 on the head and tell those still using it to upgrade or be left behind.

      Firefox requires a 233Mhz Pentium, and recommends a 500MHz box with 128 MB. Believe it or not, there are still people out there with computers that don't meet the required, much less recommended, spec.

      For my personal websites, it's all content, and there's no reason to leave anyone behind for the sake of eye candy.

      For the site that pays the bills, our members are antique dealers, and (at least according to the boss) as a whole they are a significantly non-tech-savvy bunch, so suggesting any sort of upgrade is right out. (Maybe antique dealers like using "antique" software and hardware, I dunno.) I pitch it to the lowest common denominator. I keep Javascript to a minimum and don't use the newest features.

      --
      Tom Swiss | the infamous tms | my blog
      You cannot wash away blood with blood
    59. Re:Java app by jrumney · · Score: 1
      And Flash has 99% penetration

      Where do those figures come from? Someone from the marketing department at Macromedia's arse?

    60. Re:Java app by jrumney · · Score: 1
      In my work on the Intelligent Book project (intro text, example screenshot), I've been doing just this sort of thing using a Java applet for the communication and then modifying the page for 18 months or so (including returning XML). Fundamentally the advantage to using JavaScript over Java if you can is that the calls into the browser DOM from Java go through JavaScript anyway (whether explicitly in your code, or internally in the Sun code) and that Java-to-JavaScript bridge has been the source of interesting bits of flakiness, and there is still a delay on the first JavaScript-to-Java call in Firefox and Mozilla.

      You don't need to touch the DOM at all if you do the rendering in Java. The controls available to you that way are much richer than the standard HTML controls too.

    61. Re:Java app by williamhb · · Score: 1

      You don't need to touch the DOM at all if you do the rendering in Java. The controls available to you that way are much richer than the standard HTML controls too.


      This is true to an extent, but then you're really just using the browser as a delivery mechanism for a dedicated client app. And if you have any hypertext in your document, that is more easily rendered and integrated into the user's environment in a browser / browser pane than in a Swing HTML component.

      There are some advantages to keeping it in the browser - use of third party plugins, CSS on the HTML is particularly helpful for vision impaired users (who have normally already got their browser set up with a personalised CSS with larger fonts, etc), shorter loading times for the page, and generally the fact that the browser is what the visitor is used to (and has come to your site with) makes a big difference.

      They each (browser, Java) have their uses, and some better work to tie them together would be useful. A XUL that had easier access to Java would be handy. So I could just say "here's the tag, here's the class to render it". Java tag libraries on the client side. As would merging the virtual machine worlds of the browser and Java so hopping between JavaScript and Java calls wouldn't be so awkward.
    62. Re:Java app by dr+ttol · · Score: 1

      Odd. I've never really used slashdot's membership features, but I wanted to send a direct message to you. couldn't figure out how. Can you contact me instead? wayne [dot] chang [at] i2hub.com. Wanted to know more about your company and possible business relations..

    63. Re:Java app by Anonymous Coward · · Score: 0

      There is no Round Trip on Google Sugest, it all preloaded...

      Why exectly do you need to go back to server if the data is constant ... just need updatiting once a while...

    64. Re:Java app by Avumede · · Score: 1

      I don't doubt you, since I've only done some light javascript programming. However, why is it that Google apps tend not to work in Safari at first? I always assumed it was because of Javascript incompatability.

    65. Re:Java app by LordMyren · · Score: 1

      the problem with java is it integrates like crap into the web. the applet is not exactly the most seamless device ever made.

      ecmascript works with what's already there. its not easy, but google is proving that it can be done with blissful results. the good web developers have known about xmlhttprequest for years. and have been screaming at opera to hurry the fsck up and include the damned thing already.

      i find the statement "i much rather write something in JAva and know it will almost always work on different platforms" laughable, if only because most java developers seem unable to deploy their applications to work on any browsers.

    66. Re:Java app by LordMyren · · Score: 1

      i think the other key reason is that xmlhttprequest is exceedingly good at being a lightweight asyncronous system. java, you have to code a fraking interface, with "ajax" you have an interface, you're just manipulating elements in the interface.

      thats the real deal.

  13. yeah, but what about... by lottameez · · Score: 2, Funny

    Wonkavision? No, not television....Wonkavision.
    Weblication? No, not web applications... Weblications.

    --
    Yeah? Well I think you're overrated too.
  14. XUL apps-Darwin as code. by Anonymous Coward · · Score: 0

    Isn't the OSS model built upon the Darwin model?

    Anyway, welcome to the Netscape vs IE wars redux.

  15. Others that can die as well by Anonymous Coward · · Score: 0

    Webisode, Weblog/Blog.. feel free to suggest more

    1. Re:Others that can die as well by Anonymous Coward · · Score: 0

      webinar

    2. Re:Others that can die as well by Anonymous Coward · · Score: 0

      e-flyer

  16. of limited importance. by Leonig+Mig · · Score: 1

    Don't get me wrong I love the gmail interface, and for rich GUI applications where interaction is the rule rather than the exception this seems like it could well become popular.

    But the devices which are going to be accessing the web in the future are not all going to be PC based devices, and the overhead of client side layer does not seem worthwhile.

    If you want to be read anywhere in the world on any device, needing a javascript "engine" running in an iframe simply to say "hello world!" seems like a mistake.

  17. In today's world/market this makes perfect sense by netsavior · · Score: 1

    your customer/visitor is just as likely to be using a 3gHz super duper PC straight out of the box as a 400mHz "Email checker" grade computer. Your server is the only thing you really have controll over, it is nice to see people switching to the model of "Catering to the lowest common denominator"

  18. With a tease like that... by OECD · · Score: 0

    Read More... | 6 bytes in body

    Six more bytes? I HAD to click through...

    --
    One man's -1 Flamebait is another man's +5 Funny.
  19. Apple iTMs RSS Demo by br0ck · · Score: 1

    Apple developers have posted a useful IE/Mozilla/Safari demo for parsing iTunes RSS feeds with explanation . I used their demo code to very easily add a much more seamless 'add to cart' function to a site I'm working on.

    1. Re:Apple iTMs RSS Demo by stupidfoo · · Score: 0

      WTF is with these DMG files? Thanks apple. That's exactly what we need, yet another file type.

  20. Fascinating technology by MyIS · · Score: 0

    How far from a fully web-based productivity/home software suite with nothing but a good browser and a videocard on the other side?

    Think about it, sell a tiny commoditized PC-like box with nothing but a browser and media player, all in firmware. Then sell a monthly subscription service that provides a Javascript-based rich text editor, webmail client, calendaring, and even a basic photo editor. All the user files never leave the server, accumulating there like in Gmail. And yes, all of this is possible already - that's just what the article mentions.

    With enough capital to fund the hardware (which could and should be sold at a loss), such vendor could make a killing off the monthly fees. And if you think that people won't trust a server-based file store, then consider how much sensitive information people already store in their Hotmail/Gmail.

    --
    http://zero-to-enterprise.blogspot.com/
  21. Too skimpy? by Quixote · · Score: 2, Informative

    I RTFA (I know, I should burn my /. membership card), but I got the feeling that the entire article could be summarised in a paragraph or two. There was a lot of handwaving, and not enough nuts-and-bolts stuff. I was looking for simple examples, etc. but other than links to Google's myriad offerings, there wasn't much else.

    1. Re:Too skimpy? by TedTschopp · · Score: 3, Informative

      Check out Apples site and their example

      Very cool stuff.

      --
      Fantasy remains a human right; we make in our measure and in our derivative mode... -- JRR Tolkien
    2. Re:Too skimpy? by gilgongo · · Score: 1

      Well it *is* an article from Adaptive Path - they're a consultancy. They borrow your watch to tell you the time... etc. etc.

      They're trying to sell their "product" of consultancy - it's not as if they'll be doing any of the coding, or even understanding the finer points.

      --
      "And the meaning of words; when they cease to function; when will it start worrying you?"
  22. I see a problem... by rewt66 · · Score: 1

    The Fine Article talks about several elements working together to pull off this new stuff. One of the technologies is "dynamic display and interaction using the Document Object Model".

    So if DOM is essential to the "display and interaction" (that is, the user interface), what does that do to non-Windows users? When they browse, do they just get nothing? Or do they get a crippled user interface?

    1. Re:I see a problem... by Leonig+Mig · · Score: 1

      I think the DOM they are referring to is a W3 standard not a MS one.

      http://www.w3.org/DOM/
    2. Re:I see a problem... by Run4yourlives · · Score: 1

      DOM has nothing to do with windows, and is in fact a W3C spec.

      If your browser can run javascript, it presumably is using a DOM, in one form or another.

      Point taken though on interoperability though

  23. JSON is old and busted already by beanlover · · Score: 1

    That is sooooo last month...try to keep up will ya? :)

  24. Sounds a lot like JPSpan by misleb · · Score: 5, Informative
    Does anyone know how Ajax compares with JPSpan? I've been using JPSpan in a Firefox plugin that I am working on and it is really nice. Basically it takes a PHP class and presents it to your JavaScript as a JavaScript object (after you create an isntance of it). As far as your web application is concerned, the object exists in the local context, but actually, the code is running on a remote server. JPSpan takes care of the XmlRequest stuff for you.

    -matthew

    --
    "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
    1. Re:Sounds a lot like JPSpan by Anonymous Coward · · Score: 1, Interesting

      This looks like an awesome tool, check out the examples here: http://jpspan.sourceforge.net/wiki/doku.php?id=exa mples

      It looks like anyone with some PHP and basic Javascript can build nice, functional applications that use xml http requests.

  25. Mozilla? by ceswiedler · · Score: 2, Interesting

    Can Mozilla integrate these apps better? From what I understand there's a lot of JavaScript going on to talk to the server, parse the results, etc. Could some of that be moved into custom reusable libraries in Mozilla / Firefox which the Javascript (Ajax engine) utilizes? I've noticed that Google Maps can take a heck of a lot of processor overhead. I imagine a lot of that is Javascript parsing which could easily be moved into compiled libraries.

    It would be very interesting to have these applications work better (faster, more smoothly) on Mozilla based platforms, and degrade into a portable Javascript-only implementation on other browsers such as IE.

  26. What's going on here? by millennial · · Score: 0, Offtopic

    When I login, my user name doesn't show up on the first page. I get weird trailing characters like "-×oe" after the story, and I can't see my user info page. Is Slashdot broken (again)??

    --
    I am scientifically inaccurate.
  27. could this be the death of flash? by huphtur · · Score: 1, Funny

    one can only hope...

  28. And when I tried... by rewt66 · · Score: 1

    It said, "Nothing to see here. Move along."

  29. Flash for Rich Web Applications by Anonymous Coward · · Score: 2, Interesting

    I don't understand why developers still look at HTML fix ups to make web applications rich. Especially when a tool like Macromedia's Flash allows a developer to build a rich web application with a clean interface that truly mimics a desktop application's. It offers a small foot print, interactivitey, mantains state, and can work with eneterprise backend logic (Web Services, J2EE, ASP.Net, and Coldfusion). Better solution hand down.

    If your interested I wrote a short white paper on why its the future of web applications at http://www.jasonmperry.com/.

    1. Re:Flash for Rich Web Applications by RAruler · · Score: 0, Flamebait

      I personally want to bash everyone who agrees with you with a frying pan. Fuck Flash.

      Flash should only be used for cheezy animations, and even then it shouldn't be used.

      --

      --
      Insert Witty Sig Here
    2. Re:Flash for Rich Web Applications by fabu10u$ · · Score: 0, Troll
      I don't understand why developers still look at HTML fix ups to make web applications rich. Especially when a tool like Macromedia's Flash allows a developer to build a rich web application with a clean interface that truly mimics a desktop application's. It offers a small foot print, interactivitey, mantains state, and can work with eneterprise backend logic (Web Services, J2EE, ASP.Net, and Coldfusion). Better solution hand down. If your interested I wrote a short white paper on why its the future of web applications at http://www.jasonmperry.com/.
      Signed, Jason Perry, Marketing Department, Macromedia.
      --
      They say the mind is the first thing to ... uh, what's that saying again?
    3. Re:Flash for Rich Web Applications by Anonymous Coward · · Score: 1, Funny

      And it locks out people with disabilities. No thanks.

      Oh and by the way, may I wipe my ass with that paper of yours? Thanks in advance.

    4. Re:Flash for Rich Web Applications by mla_anderson · · Score: 1

      Download firefox, and do nothing else to it. Now compare a flash based site to an XMLHttpRequest+CSS+etc site. Which one works right away and which one directs the user to another page where they have to download a plugin and hope all goes well?

      Now let's start with someone who wants to dabble in web development. Which of the two technologies can be done right away without having to buy a development environment?

      --
      Sig is on vacation
    5. Re:Flash for Rich Web Applications by kbmccarty · · Score: 2, Insightful

      I don't understand why developers still look at HTML fix ups to make web applications rich. Especially when a tool like Macromedia's Flash allows a developer to build a rich web application with a clean interface that truly mimics a desktop application's.

      Let me know when it works on my iBook running Debian (Google Maps behaves perfectly). And I'm sure people running BSDs and proprietary Unixes are equally thrilled by Flash. Clearly Macromedia doesn't care much for cross-platform compatibility, given that they completely ignore this petition (there is even a version of RealPlayer for Linux on PPC).

      --
      - Kevin B. McCarty
  30. Give it a name by lal · · Score: 2, Interesting

    The cynic in me says that this guy took a good look at Google's innovation and gave it a name:

    At Adaptive Path, we've been doing our own work with Ajax over the last several months, and we're realizing we've only scratched the surface of the rich interaction and responsiveness that Ajax applications can provide.

    In this quote, read "doing our own work" as "invoking view source".

    1. Re:Give it a name by JimDabell · · Score: 1

      The cynic in me says that this guy took a good look at Google's innovation and gave it a name:

      Google's innovation? This technology has been around for years. Google are merely the first high-profile organisation to require it for public web applications. And requiring it is bad, the concept of "graceful degradation" is sadly lost on Google.

    2. Re:Give it a name by Anonymous Coward · · Score: 0

      And requiring it is bad, the concept of "graceful degradation" is sadly lost on Google.

      Yeah, cause no one should be doing anything remotely new that niche browsers or browsers from 10 years ago can't handle.

      Sometimes it's just time to cut the losses you might have by using a "new" tech and hope the rest of the world finally catches up.

    3. Re:Give it a name by JimDabell · · Score: 1

      Yeah, cause no one should be doing anything remotely new that niche browsers or browsers from 10 years ago can't handle.

      "Graceful degradation" means that when you do do something new that some browsers can't handle, it's constructed in such a way that those browsers still get something that works.

      Criticising graceful degradation as being an attitude of avoiding new, incompatible stuff is ignorant, since if you weren't doing new, incompatible stuff, graceful degradation wouldn't even apply.

    4. Re:Give it a name by lal · · Score: 1

      I disagree with both of your points:

      On innovation: Google's use of "ajax" (if we must use that name) is novel (and hence an innovation) because it strings together a number of existing technologies to greatly increase the usability of their offering. Yes, the technologies underlying "ajax" have been around for a while, but they certainly haven't been applied anywhere near as effectively as Google has applied them in their new applications.

      On graceful degradation, two points:

      First, "Ajax" would be impossible to pull off in Netscape 4.x or a text browser. Netscape is too broken, and Ajax is a GUI technology. So asking for graceful degradation in this context is asking too much. By supporting both IE, Mozilla and Safari, Google is clearly showing that they're making a good-faith effort to support a variety of modern, graphical browsers. It is reasonable to assume they'll support more as time goes forward.

      Second, Google is only applying "ajax" to those products which are not unique to them. You can go to Yahoo for mail, Mapquest for maps, etc., if you don't like Google's lack of graceful degradation. Google's search still renders well in almost any browser. It is only the new stuff that breaks the old browsers.

      Now, if, e.g., Amazon switched over to "ajax" and did not provide a path for old browsers, your gripe would be legitimate, because you'd no longer be able to access their core offering.

    5. Re:Give it a name by JimDabell · · Score: 3, Insightful

      On innovation: Google's use of "ajax" (if we must use that name) is novel (and hence an innovation) because it strings together a number of existing technologies to greatly increase the usability of their offering.

      Which existing technologies? Google's use of remote scripting (that's the name it's had for years, I don't see the need to change it) uses HTML, CSS, Javascript and XMLHttpRequest.

      Given that XMLHttpRequest has been used in relation to these technologies for just under six years, and that before that, invisible inline frames were used to do similar things, I fail to see how this is a novel combination of technologies. In fact it's hard to conceive of a use of XMLHttpRequest that didn't use these technologies.

      GMail is the most complex example of it I have seen. GMail is the most popular example of it I have seen. But "complex and popular" does not mean "innovative" unless you are looking in a Microsoft dictionary.

      First, "Ajax" would be impossible to pull off in Netscape 4.x or a text browser. Netscape is too broken, and Ajax is a GUI technology. So asking for graceful degradation in this context is asking too much.

      Please go back and read what I wrote. I know this is impossible in those browsers. That's the whole basis for graceful degradation.

      It is certainly possible to build a webmail application that works in Lynx and Netscape 4. It won't be very fancy, but it will work.

      You can make it much more user-friendly for more advanced browsers in one of two ways.

      1. Do it the Google way, and construct a Javascript behemoth that fails to function at all in browsers that don't support every feature Google wants.

      2. Do it so that it degrades gracefully, so if a browser doesn't happen to have all the features you use, it falls back to less onerous requirements.

      Quite frankly, I'm surprised that Google don't understand this better. If pages didn't degrade gracefully, the Google search engine itself would not be possible.

      I should also note that we don't have to go back to browsers like Netscape 4 and Lynx when talking about this stuff - the latest releases of Konqueror, Opera and Safari have all had problems dealing with the GMail code.

    6. Re:Give it a name by captwheeler · · Score: 1
      Quite frankly, I'm surprised that Google don't understand this better. If pages didn't degrade gracefully, the Google search engine itself would not be possible.

      XMLHttpRequest won't be ditched/broken in the next browser cycle, in part because Google uses it... they are defining the next generation of graceful degrading. You can't get new features without doing this. Conversely, if they degraded service for browsers without XMLHttpRequest, its compatibility could be broken with a new 'extended' version.

      --

      Thanks for putting on the feedbag. Thanks for going all out. Thanks for showing me your Swiss Army knife.

    7. Re:Give it a name by Buchenskjoll · · Score: 1

      I also want Google Maps to work in Lynx. Ascii art has been around for decades, so it certainly is possible.

      --
      -- Make America hate again!
  31. The Brand Is Evolving by doctorcisco · · Score: 1
    Ajax dishwasher detergent ... Ajax laundry detergent ... Ajax with Bleach ... Ajax Scouring Powder ...

    But really, the greatest source of household dirt, smut, filth, and sewage is, yes, the INTERNET. Therefore, coming RSN (like most apps are):

    Ajax Web Development! We keep the internet clean!

    Brought to you by:

    The Vast Right-Wing Conspiracy

    Household Products and Services Division

  32. JavaScript ? I'm out. by javaxman · · Score: 1
    It's probably just a bias on my part, but if it's related to JavaScript ( that which was once more correctly called LiveScript ), then I'm simply not very interested. What's described is "write an ungodly big JavaScript to pass XML between the server and client". Sounds great... really new, groundbreaking stuff there.

    Thanks anyway. You kids have fun. My browser will ignore your site(s) until I'm literally forced to use them.

    Then, they won't work right unless I use the browser you developed it on... yea, Google maps, that's great, it works with all the Javascript-supporting browsers out there, right ? ( btw, that was sarcasm right there )

    Besides that, what really gets me is- hey, you're going to wait for some server process at some point anyway, right? What's your glorified Javascript doing besides displaying a "Waiting for server..." dialog anyway? Yea, real useful...

    1. Re:JavaScript ? I'm out. by cabra771 · · Score: 5, Funny

      Dude. Seriously. It's 2005. Time to put down the Netscape 4.7 and walk away.

      --

      -my other sig is your mom
    2. Re:JavaScript ? I'm out. by JimDabell · · Score: 1

      What's described is "write an ungodly big JavaScript to pass XML between the server and client".

      What? XMLHttpRequest can grab an XML document in a few lines of code. What makes you think you need to "write an ungodly big JavaScript"?

      Then, they won't work right unless I use the browser you developed it on... yea, Google maps, that's great, it works with all the Javascript-supporting browsers out there, right ?

      Feel free to single Google out for screwing up compatibility, but it's a shortcoming of Google, not something intrinsic to Javascript. Javascript can easily be used to enhance the UI for a web application, while gracefully degrading for clients that can't handle it.

      Besides that, what really gets me is- hey, you're going to wait for some server process at some point anyway, right? What's your glorified Javascript doing besides displaying a "Waiting for server..." dialog anyway?

      You really haven't paused to look at what's possible. For example, a webmail application can periodically poll the server for new events such as new mail without interrupting what the user is doing with a page reload. Yes, obviously the client still has to communicate with the server, but that doesn't mean it isn't an improvement.

    3. Re:JavaScript ? I'm out. by javaxman · · Score: 1
      Dude. Seriously. I'm using Safari 1.2.4.

      Also, seriously, Javascript sucks eggs, IMHO... like I said, it's probably just a bad, unfounded personal bias I have based solely on historical issues ( security, bug-compatability across implementations, etc ) and just seeing lots of crap scripts, but... I'm not a fan. Most things Javascript are used for are either just annoying, or could be done server-side.

      I'm generally of the opinion that, if what you really want is an active, full-fledged application, you shouldn't decide you *have* to implement it in a web browser. Once you've gone beyond simple parsing of XML/HTML for display, you've created a platform dependancy anyway- write a damn binary or something. Just a bias, showing my age or whatever, but I prefer my HTTP content to be as platform-agnostic as possible. Javascript isn't very- is that script going to ever work well on a handheld ?

      Also, seriously, I don't get the real utility of the system described in TFA, besides, like I said, posting some "Waiting for server data" message, which is pretty useless, really... the client needs data from the server in any case... is the 'modal' server-client response method really broken? Is there a real problem this approach solves?

      But really, I'm serious when I say it's just my opinion. Have all the fun with Javascript you want. Write ActiveX controls if it makes you happy, I don't care, I won't use them unless forced to, either.

    4. Re:JavaScript ? I'm out. by Cap'n+Steve · · Score: 3, Funny

      "Thanks anyway. You kids have fun. My browser will ignore your site(s) until I'm literally forced to use them."

      I guess you won't be responding again, once I point out that there are three sections of Javascript in this very page.

    5. Re:JavaScript ? I'm out. by grazzy · · Score: 1

      Just get a real OS and your problems should be solved.

    6. Re:JavaScript ? I'm out. by javaxman · · Score: 1
      What? XMLHttpRequest can grab an XML document in a few lines of code. What makes you think you need to "write an ungodly big JavaScript"?

      Uh... the need of TFA to draw a big box around a component and label it "Ajax Engine", combined with having personally seen some damn large javascripts in the past. Why, is this "Ajax Engine" script a tiny little thing?

      Feel free to single Google out for screwing up compatibility, but it's a shortcoming of Google, not something intrinsic to Javascript. Javascript can easily be used to enhance the UI for a web application, while gracefully degrading for clients that can't handle it.

      Hey, sorry... clearly Javascript is a favorite technology of yours or something, that's OK... back away from the flame thrower. Actually, since Google Maps supports Firefox and company, I'm _guessing_ that we're really looking at a bug in the WebKit/KHTML code somehow... although looking at where XMLHttpRequest comes in sheds some light on it's _clear_ browser-dependence, which is _exactly_ what I have a problem with.

      But like I said, if you _want_ to tie your web page to a particular class of browser, go ahead. That's fine, as long as you and the folks you're designing websites for realize that's what you're doing.

      And no, for limited uses, I don't mind Javascript _too_ much, it can be a useful tool. I only dislike it's use when it locks alternative browsers out of content without good reason- which is, in my experience, all too often the case. It's one of those tools that people all too often use because they think it's cool, or they like it, or they're used to it -not because they _need_ the functionality- and that occasionally gets in the way of creating a useful product.

      Javascript can be a fine way to detect browser capabilities and customize the experience- but if you're not displaying *anything* to users of Lynx, OmniWeb, KHTML-based browsers, or ( worst of all ) non-Windows browsers... then there's a problem. With the possible exception of showing images in Lynx, you should always be able to provide some reasonable level of functionality in your website to less-capable browsers. I *definitely* fault the Google enginers for not providing a script-free version of their tool ( with many, many fewer features - but still, what's wrong with a plain ol' HTML form that generates an image when you click "go"?!? ). I can only hope they'll have a simple, stripped-down version of the site when Maps is no longer beta.

      a webmail application can periodically poll the server for new events such as new mail without interrupting what the user is doing with a page reload.

      Yes, and, for browsers that don't support XMLHttpRequest, you can put a "get new messages" button on the page. Is that too much to ask ?

    7. Re:JavaScript ? I'm out. by JimDabell · · Score: 1

      Why, is this "Ajax Engine" script a tiny little thing?

      So let me get this straight - you've characterised it as "an ungodly big JavaScript to pass XML between the server and client", and yet you haven't read or understood the article at all?

      There is no "AJAX engine". It's a term used to describe a particular combination of technologies. Like the way we call HTTP+HTML+etc "the web" instead of calling it "HTTP+HTML+etc" all the time.

      The core component that has been getting a lot of attention lately is the XMLHttpRequest object. You can pull XML documents over the network with a few lines of code. Your claim that it requires massive amounts of code is ridiculous.

      Hey, sorry... clearly Javascript is a favorite technology of yours or something

      Where did you get that idea? It's a tool, I use it where it's appropriate. I replied to you because what you were saying was completely misleading, not because I like Javascript.

      although looking at where XMLHttpRequest comes in sheds some light on it's _clear_ browser-dependence, which is _exactly_ what I have a problem with.

      Browser dependence? It works on Internet Explorer, Gecko, KHTML and the latest Opera betas. Including all the browsers using those engines, that's dozens of browsers it works in. So exactly what is your problem?

      But like I said, if you _want_ to tie your web page to a particular class of browser, go ahead.

      What does that have to do with XMLHttpRequest? I explicitly mentioned graceful degradation. You do know what that is, don't you?

      I only dislike it's use when it locks alternative browsers out of content without good reason- which is, in my experience, all too often the case.

      Then criticise the people that write that code. It's not something intrinsic to Javascript or XMLHttpRequest. Like I said, they can be used while remaining perfectly compatible with alternative browsers.

      Yes, and, for browsers that don't support XMLHttpRequest, you can put a "get new messages" button on the page. Is that too much to ask ?

      Of course not. But you are describing it as if developers have to choose between the two options. They can use both - offering automatic notifications for browsers that have XMLHttpRequest, and letting people using other browsers click the button manually.

    8. Re:JavaScript ? I'm out. by mla_anderson · · Score: 1

      Besides that, what really gets me is- hey, you're going to wait for some server process at some point anyway, right? What's your glorified Javascript doing besides displaying a "Waiting for server..." dialog anyway? Yea, real useful...

      Actually....no. You missed what the A was for in Ajax. (And by the way, Ajax is just their name for the technology...they didn't invent it or combine it, it's not really new.) A stands for Asynchronous. As in I don't have to sit around waiting for the server, I can be doing other things in the page at the same time. Also, to get new data I don't have to refresh the page and fetch everything again, I can get only what is important to retrieve. I can use less bandwidth, load the server less and make my site respond faster. This is a plus for me (how much can you save by reducing your bandwitdh usage by just 20%?), and for my users who get faster access to my site. This can be intelligent use of javascript.

      I suspect in your mind javascript is still just for making things blink and/or scroll.

      --
      Sig is on vacation
    9. Re:JavaScript ? I'm out. by javaxman · · Score: 1
      Of course not. But you are describing it as if developers have to choose between the two options. They can use both - offering automatic notifications for browsers that have XMLHttpRequest, and letting people using other browsers click the button manually.

      If developers _did_ use both, I wouldn't be as annoyed with Javascript ( and Google Maps ) as I am. The sad fact is that all too often, developers ( too be fair, probably their product managers ) don't choose to use both techniques, and that's why I ( and many others ) dislike Javascript, as I keep saying, perhaps unfairly. It's just another tool, with good uses... which is frequently used improperly.

      Hey, I'm perfectly aware that you can have the script engine component be a small, managable layer that's customized for each page. I also know from experience that it's going to be tempting for some developers less skilled ( or more ambitious ) than you to create large, unmanageable scripts which remove the concept of "page"... though that's honestly a bigger problem for developers than users - but the "AJAX Engine" isn't going to always be small, either, and somehow I doubt you're being totally honest ( even to yourself ) by describing that layer in terms of a single XMLHttpRequest call... check out the script on Google Maps... maybe you have a different idea of what a 'small' javascript is than I do, but that looks pretty big to me... and we're just going to get more of the same- and, like google maps, we're going to get more "your browser not supported".

      So exactly what is your problem?

      Websites that require certain browsers/OS combinations, when they don't need to do so, didn't I make that clear ? What's your problem ?

      I clearly stated that my aversion to Javascript is just a personal bias, why jump all over it ? I can't imagine why I thought you were a big Javascript fan... jeesh...

      You mean you just responded with all that because I characterized the "Ajax Engine" as a large Javascript? Only because that's what I've seen strewn across the web, large scripts by coders who are sure they're being very clever... you probably write nice, small, manageable scripts, but, if so, you're not the norm there. How big would your engine layer need to be to be correctly characterized as "large" ?

    10. Re:JavaScript ? I'm out. by javaxman · · Score: 1
      I guess you won't be responding again, once I point out that there are three sections of Javascript in this very page.

      That is pretty funny, but, as I point out elsewhere, my only _serious_ objection is where scripts prevent the use of websites entirely. You can turn off Javascript on this page and you'll never miss it.

    11. Re:JavaScript ? I'm out. by javaxman · · Score: 1
      And by the way, Ajax is just their name for the technology...they didn't invent it or combine it, it's not really new.

      Wow, I guess when I said :

      "write an ungodly big JavaScript to pass XML between the server and client". Sounds great... really new, groundbreaking stuff there.
      I should have put a (sarcasm, folks ) there as well ?!?

      don't have to sit around waiting for the server, I can be doing other things in the page at the same time.

      Like what?!??

      to get new data I don't have to refresh the page and fetch everything again, I can get only what is important to retrieve.

      I thought that's what CSS was supposed to do?? I shouldn't say that, really, I understand that use of Javascript... but it doesn't make sense unless there's one _small_ bit of data you're retrieving amongst a _lot_ of static stuff... in the case of a lot of sites, like news sites and mapping sites, the big stuff are images ( which my browser caches if you don't change their names/URLs ) and what you're so concerned with reloading is a little page of text, or an image that's new anyway...

      What I'm going to say may shock you, but I've QA'd some sites developed with and without Javascript designed exactly the way you say. In general, the bandwidth savings you're talking about don't happen. 10%, maybe. 20%, never. If you're getting that much traffic, are you saying you can't afford another server or more bandwidth?

    12. Re:JavaScript ? I'm out. by JimDabell · · Score: 1

      If developers _did_ use both, I wouldn't be as annoyed with Javascript

      If people abuse Javascript in the manner you describe, then by all means criticise them for it. But don't lump those incompetents in with the people who use Javascript - including remote scripting, or "AJAX" - appropriately.

      but the "AJAX Engine" isn't going to always be small, either, and somehow I doubt you're being totally honest ( even to yourself ) by describing that layer in terms of a single XMLHttpRequest call...

      Again, there is no such thing as an "AJAX engine" on websites any more than there is a "web engine" on websites or a "DHTML engine" on websites.

      If you want to do lots of complicated things, then yes, there will be a lot of code. If you want to do small, simple things, then no, it won't be a lot of code. Remote scripting/AJAX is a technique that can be used in both situations. And like I said, you can use this technique effectively in a few lines of code.

      People have linked to tutorials in these comments, I suggest that you at least skim them before complaining about it.

      check out the script on Google Maps... maybe you have a different idea of what a 'small' javascript is than I do

      I wouldn't call Google Maps small. Google maps needs a lot of code because it does a lot of stuff. This isn't anything to do with remote scripting or Javascript, it's simply how programming works. You want to write an application that does a lot of things - you write a lot of code.

      Saying that remote scripting needs lots of code to work because you have a negative impression of Google Maps is like saying that C programs need millions of lines of code because you saw the source to Windows.

      Websites that require certain browsers/OS combinations, when they don't need to do so, didn't I make that clear ?

      But remote scripting requires no such thing!

      You mean you just responded with all that because I characterized the "Ajax Engine" as a large Javascript?

      I responded because you described a fairly useful technique in a completely unreasonable way without being the least bit familiar with it or even reading the article. You went on to state that "they won't work right" and said that since it requires communication with the server it was useless anyway!

      Not only was it completely misleading to anybody unfamiliar with the technique, it was also pretty annoying when plenty of people have developed things with this technique that aren't incompatible or bloated, and are being described as such by you.

      Yes, I agree, there are a lot of cases where Javascript is used in an inappropriate manner. It annoys me too. But you can write crap code in any language, and it's simply ignorant to criticise this technique because some people don't know how to apply it well.

  33. Is there a different portable filesystem type they should be using?

    --

    --
    the strongest word is still the word "free"
    1. Re:erm by stupidfoo · · Score: 1

      Just put the files in a standard ZIP and let the whole world decompress it with their favorite software.

      Instead on the pc I have to download yet another program. Use that program to convert it to an ISO, and then mount it.

      That's great.

  34. So basically what you're telling me... by La+Camiseta · · Score: 2, Interesting

    Isn't he describing something like the Echo Framework?

    Hey look, a web framework that uses javascript to dynamically update itself! It's only been around at that website since 2002.

  35. Comet by Anonymous Coward · · Score: 0

    I developed a web server with Comet abrasive cleanser. It makes you vomit and makes your mouth turn green, it's awesome.

  36. Reminds me .... by Anonymous Coward · · Score: 0

    It's a show about nothing!

  37. Free software by obender · · Score: 0, Offtopic

    Does anyone know if their licence is GPL compatible?

    1. Re:Free software by obender · · Score: 1
      My apologies for the above post, I actually thought there is some code behind this. Actually all they say is fetch xml from the server using Javascript and then still using Javascript update the web page using the fetched XML document. The update is not done by some fancy XSL transformation but by writing code that goes up and down the parsed tree of the XML.

      Several people tried this in the past and many seemed to conclude its more efficient to just fetch dynamically generated Javascript and execute it directly.

      Speed issues aside, the web browser will let you make an application that looks a bit more like a native one than regular web pages but never just like a native one.

      One last observation: their site does not seem to use this concept.

  38. how much did this editorial cost? by Anonymous Coward · · Score: 0

    Are we going to start seeing /. editorial spots up on ebay or what? geez

  39. That dull roar that you hear... by nobodyman · · Score: 2, Funny
    ...is the sound of thousands of recruiters feverishly updating their Monster.com job postings:
    5+ Years Ajax Development REQUIRED
    Now my resume is going to spill over to three pages, unless I remove "15 years LAMP development". Damn.
  40. Will this worry M$? by linuxwrangler · · Score: 2, Interesting

    Not only do Google mail, Google maps and several of the other examples feature pretty impressive interactive user interfaces, they also work just fine on FireFox. And on Linux. And the servers aren't tied to any particular OS either.

    The ability to deploy full featured apps hosted on AnyServer(tm) and usable on AnyBrowser(tm) can't make Microsoft very happy.

    --

    ~~~~~~~
    "You are not remembered for doing what is expected of you." - Atul Chitnis
    1. Re:Will this worry M$? by byronmiller · · Score: 1

      any browsers but Opera

      --
      Byron Miller for Congress.
  41. yes. by Run4yourlives · · Score: 1

    You don't need to tell the user to "install the javascript run time environment."

    User: "Install? What does that mean?"

  42. open source tool by ashot · · Score: 1

    There should be a project that unifies these things together and allows programmers to code with a single language/tool and handle the browser differences, etc. Perhaps there already is? This would be very powerful, perhaps it can be approached as a XUL to Javascript 'compiler' of sorts

    --
    -ashot
    1. Re:open source tool by Jerf · · Score: 1

      Like this? (Except you start in Javascript... why throw away the value of a perfectly good programming language?)

      Note that it currently works only in Mozilla, but I think that's just because I use some array methods that IE doesn't have. As it happens I'll be fixing that today. Look for a .3 release later this week.

      (Also, I don't do anything to address the async XML retrieval, but that's because so far, unless you're willing to commit to a server backend as other projects have, there just isn't much more you can do to help the developer. But we can get started writing rich widgets with no server dependence pretty easily.)

    2. Re:open source tool by Anonymous Coward · · Score: 0

      The "Echo Framework" mentioned previously seems like a good tool, but I'm still reading about it.

      http://www-128.ibm.com/developerworks/java/libra ry /j-echo1/

    3. Re:open source tool by jrumney · · Score: 1
      perhaps it can be approached as a XUL to Javascript 'compiler' of sorts

      Javascript is orthoganal to XUL.

  43. nothing to see here... move along... by DosPinas · · Score: 2, Informative

    This article describes an architectural concept NOT an actual technology. AJAX, is similar to Client-Server in that it implies a mode of development for a given network topology and NOT an actual toolset. The richer interaction of remote scripting techniques will provide a significant challenge to XFORMS as it will be unable to compete with the functionality. XFORMS is what web driven apps should have been in '97, the new class of techniques using Javascript,CSS,xmlhttprequest and other DHTML tools are the way forward.

  44. Search Engines by GroovinWithMrBloe · · Score: 2, Insightful

    What will they search now? I can't see many sites, especially shopping sites, powering their interfaces this way. Suddenly they'd lose all their search engine hits and PageRank becomes that much less useful. Sure it's good for the likes of email sites and interactive maps, where the data wouldn't be indexed much anyway.

  45. HTTP 2? by INetEngineer · · Score: 1

    Call me ignorant, but isn't the ability of HTTP version 2 supposed to act as the intermediary between calls to the server without re-posting an entire page? I thought this was where browsers were headed, like ASP.NET's "SmartNavigation" @Page directive? Please educate me.

    --
    --I smoked my sig.
    1. Re:HTTP 2? by JimDabell · · Score: 1

      The latest version of HTTP is 1.1. What are you referring to when you say "HTTP version 2"?

  46. Because.... by Run4yourlives · · Score: 2, Funny

    we're coders, not artists. (Flex or no Flex)

    And Flash is expensive to buy, IDE wise.

    HTML, Javascript and XML can all be developed on whatever text editor you like.

    1. Re:Because.... by iMaple · · Score: 1

      HTML, Javascript and XML can all be developed on whatever text editor you like.

      By that you mean vi , vim, gvim, vim for windows, vim in estonian or any other flavor of vi, Right ??? :)

    2. Re:Because.... by Anonymous Coward · · Score: 0

      If the issue is giving the end user a better interface Flash is the best choice. Even a developer with no want or design knowledge can easily configure a good Flash interface thats more effective than HTML just using the components included with the IDE.

      Their is no question that Flash is the better wat to delver content to the user. If you woried about having to learn the product let the designers create the interface and just consume the logic you build in Java, PHP, or what ever lenguage you prefer...
      -Jason

    3. Re:Because.... by Anonymous Coward · · Score: 0

      Flash is an abortion, I would seriously consider going back to carving on stone tablets before I installed the plugin.

    4. Re:Because.... by keytoe · · Score: 1

      And then you can pass it off to the design department for CSS prettification. Everybody just works on the parts they're good at.

  47. web content developer toting new web design? by iamhassi · · Score: 4, Insightful
    " "Ajax: A New Approach to Web Applications" (from Adaptive Path..."

    Adaptive Path Services: "We evaluate your site and offer detailed recommendations."

    wait wait, this is rich, let me get this straight: a web design company wrote a article saying what you're using now is the "old" sucky way and their new stuff is the way to go??

    hold on! this is revolutionary! ;)

    Not that AJAX isn't great, i'm sure it is, but this is like reading a article on how great a new car is that was written by the manufacture. Perhaps a more unbiased article needs to be submitted before I believe it.

    oh and mod me +5 flamebait cuz i have so much karma i'm sniffing clouds.

    --
    my karma will be here long after I'm gone
    1. Re:web content developer toting new web design? by mmilan · · Score: 2, Informative

      Adaptive Path is not a web design company. They provide user experience (information architecture, interaction design, etc) expertise and help people plan sites. The implementation is almost always done by someone else.

      Garret is a user experience guru - He's writing about this framework from the perspective of a user advocate, not a developer or a designer.

      The point of his article is that the user experience is improved with Ajax. He's not trying to sell you a new car, he's suggesting that end users (customers) will be better server with this approach in many cases.

      But maybe you want to continue to write huge java applets or flash sites that take 30+ seconds to load. Don't expect to feed your family though.

    2. Re:web content developer toting new web design? by stickytar · · Score: 1

      I love this stuff. I wrote a http://sadieandtodd.com/magnetic poetry board that saves the pieces in the background as people move them. There is a great GPL project called JPSPAN to help with the XMLRPC stuff. http://jpspan.sourceforge.net/wiki/doku.php

      --
      believing the big bang requires a certain amount of supernatural faith
  48. Leaves surfaces sparkling clean! by kiehlster · · Score: 1

    Now you can write your web apps to remove tough dirt and grease and it'll leave your websites sparkling clean! It's grease cutting algorithms even come in a lemon fresh scent!

  49. I can see it now.... by 50000BTU_barbecue · · Score: 2, Funny
    On Monster.com or what-have-you...

    Web developper needed, must have 5 years experience with AJAX

    I love HR departments...

    --
    Mostly random stuff.
    1. Re:I can see it now.... by jack_csk · · Score: 1

      It would be enough that they don't ask you for 8 years of .NET experience.

    2. Re:I can see it now.... by Naikrovek · · Score: 1

      I remember very clearly having a job interview in 1997 and being asked if I had 5 years of Java experience. My reply was something like "but java wasn't released until last year.." interviewer said "so that's a no, right?"

      *sigh*

    3. Re:I can see it now.... by fr2asbury · · Score: 1

      Hey, I've cleaned many a sink in my day.

  50. Hurrah! by Jhan · · Score: 1

    What has been taken for granted in every client/server application (that the client and server can, well, you know *communicate*) can now be done in a HTML application. ...and there was much rejoicing.

    It's a hack based upon unstandard JavaScript extensions, and even when it works, it still sucks for building applications.

    However, even though unstandard it is supported by most browsers, and it sucks very much less the alternatives.

    If you are forced to develop web "applications" this is probably a very good way (in English: "If you are being forced to eat dung, a good way to do it is to cut of your nose first).

    --

    I choose to remain celibate, like my father and his father before him.

  51. Sieg Heil! by Anonymous Coward · · Score: 0

    Fuck the jews. Heil Hitler!
    Eliminate the undesirables!

  52. Webfolks: You better learn this stuff by EatenByAGrue · · Score: 1

    This is not going away, and only going to get more prevalent online. The real problem right now is the lack of mature, high level APIs and components to develop these types of interfaces. Basically, it requires a lot of nuts and bolts programming to build. Coming soon (watch for it), desktop application like development tools that allow you to build rich, dynamic interfaces, using these technologies.

  53. source please? by argoff · · Score: 1

    I don't know about you, but I'd love to have some sample source available to understand better what they're doing and how it all fits together.

    1. Re:source please? by jrumney · · Score: 1

      Ctrl-U, or if you're using a heathen's browser, Alt-V C.

  54. So, should I? by dominion · · Score: 1

    So, the real question is this: I'm about 10% into coding a major open source project that I've been spec'ing out for a long time. I'm at a point where I could switch to AJAX to handle things (and don't think it's not *super* tempting), but it's a bit daunting of a task.

    Should I do that? Or should I stick to using CSS/HTML + PHP and regular server-side coding, and then move to AJAX in version 2.0?

    I love GMAIL, and the benefits of saving bandwidth and increasing the speed seem really enticing. As far as I can tell, the only disadvantages are learning a new coding skillset (my javascript is rudimentary), and limiting the browsers that can use my site down to IE and Mozilla, which is really not that big of a problem.

    Thoughts?

    1. Re:So, should I? by chris_mahan · · Score: 1

      Stick to what you have.
      Implement this feature only when you have a problem with php->xhtml+css.

      Also, there are things that break in the browser, like the back button, etc.

      Also, it's harder to make changes to the interface unless you really modularize well, but that takes effort to implement.

      Furthermore, recall that lynx and search engines don't use javascript.

      --

      "Piter, too, is dead."

    2. Re:So, should I? by JimDabell · · Score: 1

      Or should I stick to using CSS/HTML + PHP and regular server-side coding, and then move to AJAX in version 2.0?

      This isn't an either/or technology. AJAX depends upon Javascript and particular objects/features of particular implementations. It's nice (and useful) to have it mostly work in the most popular browsers, but it's not something that should be relied upon.

      Build your application with CSS/HTML + PHP. Then, when you get around to it, add remote scripting as an optional enhancement. If the objects are available on the client, use them, otherwise fall back to submitting forms in the traditional manner.

  55. People actually do like it... by SpiritOfGrandeur · · Score: 1

    I design web pages all day long for internal use on a Tier I Supplier. I have just recently started adding this to my web pages (as of Sept 2004) and surprisingly people appreciate the pages. Most of the feedback on these pages are just as said, "It feels more like an application." There is no constant refreshing, and people greatly enjoy that. The only problem is the learning curve of this new way of doing pages. I have other developers around me that would not even try to use the stuff, but agree that it is cool. While others just cannot grasp the concept of it. I personally love it! Not only is it faster in response time, it is actually easier to program, then the pages that constantly refresh. Go Figure!

  56. Interesting enough, but I want to see more. by Badgerman · · Score: 2

    Overall, I find this interesting despite some questions (interoperability, etc.). It looks convenient, it looks planned, and I've done hidden-frames work rather effectively.

    The article just doesn't SAY much. I want more links, more code, more examples. Yes, it looks pretty, but don't just show me the product, let me under the hood, let me test drive it.

    That being said, I'd also like to know if this framework can integrate into others. If you could merge this into Mono, into STRUTS, etc. . . . then we've got something REALLY interesting.

    --
    "The Sage treasures Unity and measures all things by it" - Lao Tzu
  57. Because browsers speak HTML and JS natively by Anonymous Coward · · Score: 0

    Not Flash. No matter how great Flash is, it's a plug-in, and therefore a worse user experience. The real question is: now that we are seeing what can be done with the browser in native languages, why would anyone bother with Flash?

    Beta was "better" than VHS too, but sometimes market share and de facto standards matter more.

  58. What happened to Java and Flash ? by Anonymous Coward · · Score: 0

    Doesn't this technology already exist?
    Is this new technology lower bandwidth, lower latency, more responsive?

  59. Outperforming Desktop apps by davetrainer · · Score: 4, Interesting

    Here is an article by John Udell that I found fascinating when it was published a few months ago. It discusses the quasi-rich-client architecture that Google cobbled together to bring us GMail. The really incredible part is that interfaces built on this architecture, consumed in the browser, outperform commercial desktop apps:

    "One of my favorite acid tests is address completion. When you begin typing an e-mail address, your mail program should immediately show you the matching addresses and then dynamically constrain the list as you continue to type. Outlook does poorly on this test; you have to type CTRL-K to invoke the address book in a separate window. OS X's Mail does address completion in situ, just as I expect. So does Gmail. And here's the shocker: Gmail does it faster."

    I appreciate AP's efforts to assign some greater precision and clarity to this architecture. Up until now, realistically, I figured I had to be tethered to .net/XAML, Mozilla/XUL, or something like Macromedia Flex.

    1. Re:Outperforming Desktop apps by cygnus · · Score: 1
      OS X's Mail does address completion in situ, just as I expect. So does Gmail. And here's the shocker: Gmail does it faster.
      but is it lickable? that takes time, you know! you have to coat it in varnish or lacquer or whatever, and then wait for it to dry...
      --
      Just raise the taxes on crack.
  60. Wrong by Anonymous Coward · · Score: 0

    javascript is not renown for speed
    PHP is not renown for speed
    HTTP was designed as a stateless protocol

    Any other 'round holes' anybody can think of, I'm sure the parent has some square pegs going spare.

    1. Re:Wrong by GeckoX · · Score: 0

      Oh shut up troll.

      Tell you what, I'll bow down to your every utterance for the rest of eternity if you can provide a working example of a mapping application that runs in most major browsers and is as fast, compact and responsive as maps.google.com is done using any technology currently available natively in a browser/webserver EXCEPT javascript, PHP and HTTP.

      Oh fuck it, you can keep the HTTP.

      In other words, put up or shut up.

      (Yes, I've been trolled. Just trying to balance the FUD a bit.)

      --
      No Comment.
    2. Re:Wrong by Anonymous Coward · · Score: 0

      Never mind "put up or shut up", your asking for a browser/httpd example is retarded. If you think that google maps could not be done better using a custom protocol and dedicated network client... well...

      (Can we have an acronym like "FUD" but for people who cluelessly attack factual statements? The one I thought of forms "CUNT" which is clearly unacceptable in polite conversation.)

    3. Re:Wrong by zootm · · Score: 3, Insightful
      Never mind "put up or shut up", your asking for a browser/httpd example is retarded. If you think that google maps could not be done better using a custom protocol and dedicated network client... well...
      It couldn't. Its major advantage is that it works in a webbrowser. There's no need to develop a network client when a browser-embedded one will work. This is zero-install software at its finest - providing rich, feature-heavy applications that work using only that which is available in a cross-platform web-browser.

      If one wants to look up addresses every single day, and requires advanced features of some form to do so, I'm sure your solution would be a "better" one. But since I just need to find directions now and again, Google Maps is the perfect solution - minimal, yet extremely user friendly and intuitive.

      As for "custom protocol" and "dedicated network client"... Why? We have technologies like XML so that we don't need to write a new format or parser for every task we have. Who knows, though, if you're quick developing such a system the hardware developments in the meantime might not make your efficiency gains negligable. But I doubt it.

      There are things that custom client/server models are good for. This is unlikely to be one of them for its user-base. And the people who need a faster network map system probably already have one.
    4. Re:Wrong by jrumney · · Score: 1
      Tell you what, I'll bow down to your every utterance for the rest of eternity if you can provide a working example of a mapping application that runs in most major browsers and is as fast, compact and responsive as maps.google.com is done using any technology currently available natively in a browser/webserver EXCEPT javascript, PHP and HTTP.

      map24.com

    5. Re:Wrong by GeckoX · · Score: 1

      Care to explain why the requirement of it being a comparable app that runs in a browser is retarded?

      It wouldn't exactly be a web application if it didn't run in a browser would it?

      There are lots of mapping software packages that I could install on a machine locally that perform better than google maps, but that wouldn't be the same thing would it?

      --
      No Comment.
    6. Re:Wrong by GeckoX · · Score: 1

      Um, not even close speed wise. The map applet doesn't even work on my system, at all. Plus, they are using all sorts of js etc in that site.

      --
      No Comment.
    7. Re:Wrong by jericho4.0 · · Score: 1
      I bet I could make an even better one with some custom VLSI chips and dedicated display hardware.

      --
      "A language that doesn't affect the way you think about programming, is not worth knowing" - Alan Perlis
  61. He got one thing right by Zphbeeblbrox · · Score: 1

    The technology has been around for ages. Now if only more people would start using it. I was designing dynamic Javascript applications on the web years ago. Using JS and an Iframe. Its really cool works really good and no one but google and a few others are using it. Such a shame really

    --
    If you see spelling or grammatical errors don't blame me. I tried to preview but IE here at work borked the CSS
  62. Re:In today's world/market this makes perfect sens by Anonymous Coward · · Score: 0

    400MHz is far more than enough. I routinely use gmail on firefox on a 166 MHz box with 32 megs RAM running NT4. Takes ff forever to start up, but after that it's reasonably smooth.

  63. ie 5+ is going bye bye by Anonymous Coward · · Score: 0

    that is why it is *new*. It was developed way back but not deployable to a wide audience. Hence you see Googles browser requirements. So it is new as in, new as a technology that can be put into production with actual browser support.

  64. SVG 2.0 by bigattichouse · · Score: 1

    Thats funny, I've been considering moving toward SVG 2.0 ... which provides lots of nice GUI features, PLUS javascript, and native sockets support. (Well in the standard anyway)

    --
    meh
    1. Re:SVG 2.0 by JimDabell · · Score: 1

      That simply gives me a headache. Why does a Scalable Vector Graphics file format need support for NETWORKING? SVG can already be manipulated via the DOM. The DOM already includes features to load resources over the network. The same thing in SVG is simply redundant.

      No wonder it's taking so long to implement SVG in browsers if this is the kind of thing they are sticking in the specs.

  65. We have been doing this for the last year by coryrauch · · Score: 2, Insightful

    Some slashdotters have already identified this technique of using a combination of using javascript, xml, and dhtml has been around for some time (the article even says its mature). It has been refferred to in the past as javascript remoting or dhtml depending on what your talking about. I work for a company with a web database app that uses a similar technique. Our product, Sysbotz Enterprise has been in development about a year now which show you the age here.

    I think the big deal here is not some much the technique or the new label they are giving it (ajax). Rather a educational effort to inform developers to thing past the traditional load page, post form, process, return results back to web browser concept of web apps. The web app needs to broaden its abilities and needs to be more interactive which greatly limits its uses.

  66. Flash Vs. reality... by Anonymous Coward · · Score: 0

    I don't understand why anybody would use flash for anything? I think I'll target the doom3 VM for client webpages from this moment forth, sure it's not a webpage and not everybody has the viewer installed but that never stopped the "flashers".

    My future clients will doubtlessly be overjoyed with their new visually stunning websites, because let's face it, people don't visit websites looking for fast simple textual information so much as to appreciate my artwork.

  67. bad photos by clmensch · · Score: 4, Interesting

    Why do tech writers feel the narcissistic need to display photos of themselves next to their writings? That is probably the largest photo I've ever seen on one of these articles...and it's an awful photo at that. They obviously cut the baldness of his head off for a reason, and half the photo is of his black on black outfit.

    Their whole site reeks of late 90's marketspeak. Slightly interesting article, though.

    --
    There is no gravity...the earth just sucks.
    1. Re:bad photos by Anonymous Coward · · Score: 0


      Ah man, now I've got to go RTFA. ;)

    2. Re:bad photos by Monkey · · Score: 1

      He's obviously got a bit of an ego if he goes around referring to himself as "Jesse James Garrett"

    3. Re:bad photos by AbbyNormal · · Score: 1

      "They obviously cut the baldness of his head off for a reason"

      Of course...To hide the horns! ** Evil Laughter **

      --
      Sig it.
    4. Re:bad photos by bill_mcgonigle · · Score: 2, Funny

      They obviously cut the baldness of his head off for a reason, and half the photo is of his black on black outfit.

      So you noticed how they cropped the frame too close? That's cool. So is black on black. This guy is cool. That's the point.

      If he had a darker complexion, dreds, and thick black-frame glasses he'd be even cooler. Especially if he was using a Powerbook in a park. But there's only so much you can do with a bald white guy.

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    5. Re:bad photos by bill_mcgonigle · · Score: 1

      Damn, I forgot the stubble goatee! Sorry, I'm slacking.

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
  68. Sounds Interesting... by Anonymous Coward · · Score: 0

    ... Where can I learn more? How can I get started with this?

    Thanks!

    1. Re:Sounds Interesting... by Anonymous Coward · · Score: 0

      That was horrible. Truly horrible.

  69. Insert Flash flaming here by ZehFernando · · Score: 1

    Insert obligatory uninformed "Flash == evil", "Flash can't do and java/svg/xul/html can/will be able to do soon" typical slashdot post, followed by "long rant on how of an annoying animation tool Flash it is because the crappy sites decided it'd be cool to force you to watch one/the IDE isn't open-source/it doesn't suport CPM/other random reason".

  70. Multiple uses by qray · · Score: 1

    So will it clean my counter tops as well as render spectacular web pages?

    Seriously, this is all starting to seem like a huge Frankensteinian monster. Technologies keep getting bolted on trying to get to a better user experience on the web. People want applications, but they like the non-deployment aspects of the web. We really need something new. This is getting too much like VB, trying to turn a sow's ear into a silk purse.

    I'm tired of spending hours trying to get something done in a web environment that would take me 15 minutes in a traditional client. There should be a better way. There should be something like X-Windows like technology in browsers over HTTP or some such.

    It's sad to see that the browser hasn't evoled all that much in the past 10 years.

    --
    oxurt mocru ducro mia trimar

  71. Isn't Ajax the ship that crashed and burned in FG by Colin+E.+McDonald · · Score: 1

    Isn't that the shipped that crashed and burned in
    Flash Gordon?

  72. Cool? by IPFreely · · Score: 2, Insightful
    If anything about current interaction design can be called "glamorous," it's creating Web applications. After all, when was the last time you heard someone rave about the interaction design of a product that wasn't on the Web? (Okay, besides the iPod.) All the cool, innovative new projects are online.

    Cool?

    Developing applications using a particular technology because it's cool? Un-f*****g-believable. If you can get something on the web to interact almost as well as a client application it should be considered a miracle of design. The only advantage I see on web apps is that you don't have to install anything on the client PC, and even that's a stretch if you consider the apps that require flash, MSXML or all the different media players.
    It's like calling lemmings cool because they invented base jumping.

    PS: Yes, I have developed web apps with popout menus and using MSXML to generate SOAP requests for interactive content. It still sucks.

    --
    There is nothing so silly as other peoples traditions, and nothing so sacred as our own.
  73. I Call Marketing Bull$hit by Jesus+IS+the+Devil · · Score: 3, Insightful

    Am I missing something, or is this company coming in late to the party and trying to coin the term "Ajax" as if they started the party themselves? Sounds like marketing BS to me. Just take a look at some of their wording. It's as if Google used Adaptive Path to create their client-rich interfaces:

    Google is making a huge investment in developing the Ajax approach. All of the major products Google has introduced over the last year -- Orkut, Gmail, the latest beta version of Google Groups, Google Suggest, and Google Maps -- are Ajax applications. (For more on the technical nuts and bolts of these Ajax implementations, check out these excellent analyses of Gmail, Google Suggest, and Google Maps.) Others are following suit: many of the features that people love in Flickr depend on Ajax, and Amazon's A9.com search engine applies similar techniques.

    --

    eTrade SUCKS
    1. Re:I Call Marketing Bull$hit by Anonymous Coward · · Score: 1, Informative

      You mean after this point of fact they mention?

      Google Suggest and Google Maps are two examples of a new approach to web applications that we at Adaptive Path have been calling Ajax.

    2. Re:I Call Marketing Bull$hit by Anonymous Coward · · Score: 0

      Yeah, no shit. People have been doing XML grabs via the browser for years...

      The difference is they're not all ego-manic about it....

      Nothing new to see here, move along little coders

  74. Re:That dull roar that you hear... by Anonymous Coward · · Score: 0

    Perhaps you have never seen one with
    "At least 5 years .NET development experience"

    Yes, I know some of these clueless requirements are determined by the HR. Can't they just make a bit sense though?

  75. Rich + Open == GOOD by IGnatius+T+Foobar · · Score: 1

    I'm happy to see stuff like this happening. Being able to do rich web applications without the use of non-web technologies is a good thing. It's open, it's cross-platform, and it allows us to continue using whatever browser and whatever operating system we want.

    If this trend continues, it will help to stave off the possibility of a world full of XAML web sites after Longhorn comes out. That's Microsoft's big, final attempt to proprietize the Web, and it'd be bad news for the rest of us.

    Seeing apps like Ajax, Google Maps, and A9 is encouraging. Now we need to have someone come out with a development kit that makes it drag-and-drop easy to create sites like these.

    --
    Tired of FB/Google censorship? Visit UNCENSORED!
  76. I've been doing this for a while... by venomkid · · Score: 2, Interesting

    ..and it really is beautiful. XML backend, Javascript frontend... deliciously platform independent, fast, and dynamic as you wanna be. Once you overcome some of the cross browser weirdness, it's a breath of fresh air.

    (...but if someone says the word "Weblication" to my face I'll have to smack them.)

    vk.

    --
    vk.
  77. So where is your app? by Anonymous Coward · · Score: 1, Insightful

    Please, point us to all the apps you've written using this "old technology". Point us to ANY app that uses this technology that is more than a couple years old. Point us to any book that uses this technology. Point us to a library/framework that makes this technology easy to use. The truth is that this "old technology" has a lot of promise. The fact that almost no one has used it in a real app goes to show how immature this "old technology" really is.

  78. Deal with the newbs, newb! by Anonymous Coward · · Score: 0

    It wasn't new when Berners-Lee started working on the web!

  79. wow, this is big news... by drew · · Score: 1

    somebody should tell this guy who wrote about this in 2002, or some of my old coworkers, who have been doing similar application development using frames instead of xmlhttprequest since about 1998.

    It seems like ever since google released gmail, everyone has suddenly been preaching about the next wave of web applications. give me a break.... i don't mean to slam google- the interface on gmail is definitely amazing, and they should be proud of themselves. but revolutionary, it is not.

    --
    If I don't put anything here, will anyone recognize me anymore?
  80. Ajax as used by Google sux by Anonymous Coward · · Score: 0

    Did anybody besides me note that GMail, Google Maps and some other Google stuff does not work well, if at all, using Mozilla?

    Methinks that Javascript is the problem. The MSIE and Mozilla versions don't work the same. Plain and simple. The DOM views are just too different, plus all the other crap.

    Since I don't use MSIE anymore, at the urging of the US Department of Homeland Security, there's a lot of crappily implemented sites that I just can't see at all.

    Phooie!

  81. XmlHttpRequest The Easy Way by coldcanofbeer · · Score: 4, Informative
    For an easy to understand tutorial of XmlHttpRequest, check out http://www.webpasties.com/xmlHttpRequest/

    There you will be guided with baby steps on how to implement a city, state lookup based on zip.

    1. Re:XmlHttpRequest The Easy Way by zbuffered · · Score: 1

      That's really cool. I peeked at your website for a second, but do you have anything else like that I'd be interested in?

      --
      Synergy is your friend
    2. Re:XmlHttpRequest The Easy Way by adamfranco · · Score: 2, Interesting
      That's a great tutorial there! The simplicity of the examples was key to figuring out what the minimum important parts to using this system is without being confused by the many cool things you can do with the system, but are extra.

      For those reading, I recommend that you follow that tutorial with this one which then goes into more depth on generic request/responce scripts and XML handling.

      Oh yeah, it took me a while to find these, so I'll add this list of pages that explained how to do the things that I wanted to do while going through the tutorial. There are just so many crap sites that repeat the same rubbish tutorials about javascript that it can be really hard to find good info.
      --
      "When ideology and theology couple, their offspring are not always bad but they are always blind." -- Bill Moyers
  82. how about... by Anonymous Coward · · Score: 0
  83. Here's the link to Brent's site by Anonymous Coward · · Score: 0
  84. Flash == Rich by Bustback · · Score: 0, Flamebait

    More people can see Flash than can see Google's new uber-cool map system.

    If the map system were developed with a Flash front end, it would be:

    1. More interactive
    2. More responsive
    3. With a smaller footprint
    4. With a broader audience
    5. With full browser support

    I gather you're a fan of SVG animation, think VRML is still a cool technology, and think Javascript can deal with the "Rich" part of Rich Application Development.

    var isRich = javascript == rich ? true:false;
    if (isRich)
    {
    trace("Hell froze over");
    }

    I like cheese. :P

  85. Locrian? by martinoforum · · Score: 1

    Isn't that a mode?

  86. Examples by antic · · Score: 1

    Some good examples of Ajax-type site features using Flash and Javascript:

    Flickr's slideshow Flash-app -- this one features hot chicks, so don't miss it! Mouseover top and bottom of the slideshow to get the navigation and thumbnails. Slick.
    http://flickr.com/photos/zuan/sets/66471/s how/

    Orlando Magic's new site - in-frame Flash video and slideshow (Timberwolves did something like this about a year ago too)
    http://www.nba.com/magic/

    ESPN's Flash-based game shot-charts
    http://sports.espn.go.com/nba/shotcha rt?gameId=250 222004

    For an even better example of Ajax, try an ESPN Game Update page for a live game (there should be some starting in a few hours).

    Another decent example, more along the lines of an app that runs in the browser as you described, is the NBA's live scores done with Flash with a dynamic boxscore, play-by-play and efficiency ratings.

    --
    'Thats they exact same thing a banana wrench monkey.'
    1. Re:Examples by Anonymous Coward · · Score: 0
      Uhhhh...those are flash based.We've had those for a while...

  87. Mod flamebait by fiannaFailMan · · Score: 1

    See my journal. Idiot. How you got an insightful mod is beyond me. You haven't got a fucking clue what you're talking about.

    --
    Drill baby drill - on Mars
  88. Flash - Standard rebuttal to the flamers by fiannaFailMan · · Score: 1

    Plenty of ignorant and inaccurate Flash bashing going on here. Standard Rebuttal.

    --
    Drill baby drill - on Mars
    1. Re:Flash - Standard rebuttal to the flamers by Anonymous Coward · · Score: 0
  89. Wait a Sec... by dance2die · · Score: 0

    Wait a sec... If they trademark "Ajax", does that mean we have to pay fees to use asynchronous processing of XML data using Javascript???

    --
    buffering...
    1. Re:Wait a Sec... by kronocide · · Score: 1

      It is very unlikely that they would (try to) register Ajax as a trademark...
      http://www.staples.com/images/products/catalog/pro ducts/CCPM3814.jpg

      It is also a very famous Dutch football team. ;-)

  90. html applications using .hta by Anonymous Coward · · Score: 0

    HTML Applications (.hta files) are quite good and use basic html and dhtml.

    See:
    http://msdn.microsoft.com/workshop/author/ hta/over view/htaoverview.asp

  91. Physical threats get 'insightful' mods?!! by Anonymous Coward · · Score: 0
    I personally want to bash everyone who agrees with you with a frying pan. Fuck Flash.
    Oh yeah, you're a real tough guy, aren't you? Well I've got news for you, pal. You touch me with your frying pan or anything else and I'll kick seven shades of shit out of you so hard and ram your frying pan so far up your jacksie that you'll end up having to open your collar to do a shit.

    Capiche?

  92. Great, but one caveat... by wralias · · Score: 2, Insightful

    I would be almost completely convinced that Ajax is the solution to the Reload Problem, if it weren't that there is one imperfection: in order for it to work, Javascript has to be enabled in the client browser. Yah, ok, almost everyone has it enabled, but it's not 100%.

    Even a small percentage of clients without Javascript is a major usability issue if you're talking about an enterprise web application. I avoid Javascript altogether, not because I don't like it, but because it's not a gaurantee.

  93. Re:AJAX? Flash! Aha! by dunsurfin · · Score: 1

    And we also have War Rocket Ajax from the movie Flash Gordon....

    General Kala, Flash Gordon approaching
    - What do you mean Flash Gordon approaching?
    - Open fire - all weapons
    - Dispatch war rocket Ajax to bring back his body

    Cue intellectual song lyrics by Queen:

    Flash - Aha - Saviour of the universe
    Flash - Aha - He'll save every one of us
    Flash - Aha - He's a miracle
    Flash - Aha - King of the impossible
    He's for every one of us
    Stand for every one of us
    He'll save with a mighty hand
    Ev'ry man ev'ry woman ev'ry child
    With a mighty Flash

    Flash - Aha

    Flash - Ah - He'll save every one of us

    Flash! He saved everyone of us!

    (And a Ska band by the same name)

  94. partly informed "flash isn't so bad" post by Anonymous Coward · · Score: 0

    Didn't expect that?

    I agree that the main disadvantage is the lack of a free compiler (or even IDE); and the lack of compiler for my preferred OS. I might buy such software (if it existed); though only if the software featured something ~intersting~ beyond the free alternatives.

    The Flash language seems to have grown up; the API is implemented in an object-oriented fashion not unlike the JDK; you can write new logic/GUI elements and combine everything into jar-equivalent packages (swf); there is probably nothing you can't do with flash (anymore).
    Though Java is certainly more advanced (as a language), a lot more research(!) is done on/with it and there are myriads of java libraries.
    So flash might not always be a good choice, but it may be any alternative for a java applet;
    actually someone already made what the article describes (using flash):
    http://sfmenu.sourceforge.net/
    Not overwhelming, but I nice proof of concept.

    XUL (combined with some other stuff from the mozilla dev pages; XUL alone isn't any good; basically I am talking about Mozilla/Firefox) is certainly an intersting alternative.
    But (last time I checked) the state of docs wasn't that good, several features (including some API decisions) were either broken or being rewritten.
    Anything but locally installed extensions are sandboxed (which is certainly a good idea), but the official way of getting certain rights (signed code) wasn't working.
    If I were to design a web-app (for a limited user group == I can tell them to install Firefox), I'd go with XUL. But I wouldn't go beyond a (simple) database interface; writing any kind of non-trivial program (think Open-Office) using XUL (or flash for that matter) is simply not a good idea.

    SVG is just a graphics format?! I wasn't aware of it including any kind of scripting; am I missing something?

    Informed enough ;-)

  95. ASP.NET 2.0 by SecretSqrl · · Score: 0

    I used the web service "behavior" from Microsoft to acomplish asynchronous behind interaction with a web server. It functions the same way as this AJAX thing. But do you really want to go thru another layer for every single call to the web server? Or just when you first open a page? On another note, MSFT's ASP.NET 2.0 will have a "Client Callback" mechanism that will allow you to do the same sort of thing - make calls from javascript to your web server using XMLHTTP.

  96. Anybody use this for complex forms? by koehn · · Score: 1

    I've been working on an app that has a complex (multi-page (from the user's perspective, hiding/showing DIVs is okay), interdependent, hierarchical data) form that I'd like to get and post as XML. The issue I'm facing now is how to build the DOM for the UI and bind it into some kind of JS "controller" that takes events from the view and updates the model or does other controller logic.

    XForms does this really well: it's declarative in your view how it (the UI) binds to the XML in your model. I haven't seen a good way to do this using JS.

    The other thing I see a lot of in this Ajax kind of model are race conditions: what happens when your XSL finishes loading before the XML needed for the model? All that asynchronicity is nice for interactive stuff, but it's a major PITA for dealing with things that have complex interdependencies. I know very well there are workarounds, but I'm wondering how people tackle these issues.

    The thing I see with google, amazon, et al is that all of their applications have rich data that is primarily view only. What I'm looking for are robust solutions that have considerably more complex data that the user can interact with.

  97. Map of .ch by salmacis2 · · Score: 1

    That map of Switzerland is pretty cool. All I need now is a reason to want to look at a map of Switzerland..

  98. More information? by sean23007 · · Score: 1

    There's been a lot of talk recently about this kind of thing, but there is also an almost unforgivable dearth of resources on the subject of XmlHttpRequest and its brethren. Can anyone who's used it point out some links with APIs, tutorials, examples, etc that would help in the learning and use of XmlHttpRequest? Thanks.

    --

    Lack of eloquence does not denote lack of intelligence, though they often coincide.
  99. WebApp by ka9dgx · · Score: 1
    It's already got a term... WebApp. Simple, and understood by the masses.

    --Mike--

  100. couple of gotchas... by copypaste · · Score: 1

    I've used XmlHttpRequest and depending on your target audience, you can run into problems. First, it doesn't work in IE versions earlier than 5. Second, even for versions after 5, a few installations had to have MSXML 3 re-installed before it would work.

    1. Re:couple of gotchas... by josepha48 · · Score: 1
      I didn't think Microsoft supported IE 5? Do they still?

      I made a desision when I started developing a web applicaiton 2 years ago, for the company I work at. First I said NS 6.1+ or IE 6+ are required to run it, I'm not supporting anything else. The second thing is that JavaScript usage would be limited.

      I dropped my second rule. I have a calendar that people can use for selection done as JavaScript object with properties and all. Everyone loves it, and it removes the please enter a date in mm dd yy format or parsing a date or anything, because I control the date without having to provide dropdowns. I suppose I could have done CC YY MM DD dropdowns.

      IN any caseI have found that JavaScript can be very useful in web apps these days. Problem is it WILL limit what browser can run your application.

      Manipulaing the DOM is a big plus. Each time you have to hit a server, its overhead. While I try to limit the JS to onchange setfiel, on click set variable. I have also implemented JS as edit checks for form submission and the 'submit' buttons are all buttons, that call form.submit. While I know people here at slashdot may say I suck for doing this, I could come up with no easier way to deal with a form that could have UP TO 10 different buttons on it. Edit, Clone, Delete, are all back end server funcitons and almost all updates have them. Then there is search and other funcitons. While it could use some rethought, Using JS has been the fastet way to get this up and running and to market.

      --

      Only 'flamers' flame!
      Does slashdot hate my posts?

  101. Doesn't address the main issue by Anonymous Coward · · Score: 0

    Like most rebuttals on the Flash question it avoids the most important point. Flash is a plug-in. Using it for interactive Web development is like creating a brochure Web site in Word and then converting it to a series of PDFs that the user downloads--instead of coding it in HTML. It's possible and maybe not even a bad user experience if the bandwidth is good. But it's not the best way of doing things.

    The Flash plug-in gained market share because it allowed people to do things on their Web site that they could not with browser-native code. Now that they CAN do many of those things natively in the browser, I don't see why anyone would choose Flash to do them--despite its continued development.

    It's not that Flash is useless--it's just that when the same functionality is possible using either Flash or native code, I fail to see the sense in using Flash. I feel the same way about Java applets and PDF files. If it can be accomplished in the browser, why go outside the browser? To me it's not much different from continuing to develop new software for Mac OS 9. Sure, a modern Mac will load the Classic environment and run the 9 app just fine. But why not just write for OSX from the beginning?

    To the end-user of the Web, Flash vs. native doesn't matter--all that matters is what they can do on the site. For that reason Flash is in trouble as an interactive Web technology, because all sites are still accessed through Web browsers (not Flash clients). As more sites move toward native development (a la Google), the user is less and less likely to be prompted to download or update their Flash plug-in. Flash is left as a non-default technology choice that must be pushed on the user--as opposed to the unique enabling technology it once was. Technologies in such a position usually don't last long in the mass marketplace.

  102. Chat room using XMLHttpRequest by tahpot · · Score: 1

    Another "Rich Internet App" in the same vein is QWAD Chat: http://www.qwadchat.com
    It uses XMLHttpRequest to poll a server for chat messages, without requiring page refreshing.
    In addition it has various DOM manipulation behind it to have tabs to switch between different chat rooms.

  103. Wondering... by DoubleDangerClub · · Score: 1

    As I've been reading this lengthy discussion, I've started wondering...old school developers that say this has been around forever...but where is their GMail? For a bunch of "noob" programmers, it seems a lot of them are seeing what can be done and taking advantage of it to do something new and inventive. I also realize that some people are whining about it not being compatible with browsers that don't handle all the javascript tweaks and such, but I'm also wondering, why are you crying? No one told you to use a less than compatible "elite" browser. I've seen the Gmail code and the Google Suggest code. It looks to me like people are finally coming around to taking advantage of what has always been right in front of us.

    --
    Ubuntu, the way linux should be.
    Try Ubuntu FREE! --
  104. Mac Screenshot Generator by lixlpixel · · Score: 1

    I used XMLHttpRequest to build a Remote screenshot generator which you can use to see your site on Safari, MacIE or Mozilla.

    It's the best thing to use when you don't want the user to hop through pages of forms/error-reporting/status etc.

    With this you get an interactive interface without having to use Flash or similar crap.

    We'll see a lot of this in the future for sure, it's just so convenient to built sites with it - and as a user it's really nice to have (near)instant feedback without having to reload.

  105. Server-initiated GUI changes by kronocide · · Score: 1

    Server-initiated GUI changes is the real philosopher's stone of "weblications," and overwhelmingly the most important qualitative difference between web and desktop applications. It's the reason why a simple but realtime, multiplayer game is very hard to construct over the HTTP protocol, and without using Java sockets or some alternative communications technology. Everything else is simply smart caching (well, pretty much), as long as the server can't tell the client something. That, or the whole application is actually in the "Ajax engine," which means it's not a network app, but a just-in-time downloaded app.

  106. For the sake of the children... by jestered1 · · Score: 1
    Let's hope no one uses Ajax or similar technology to create a killographic weblication.

    Even though such a weblication could be stuponfucious, we really should think of the children.

  107. JSON is an implementation by MikkoApo · · Score: 1

    AJAX is just a hype name these guys made up for a set of technologies.

  108. Flash is cheating by acb · · Score: 1

    If it uses Flash, it's not true AJAX; the point of AJAX is that it runs on a bare (recent) browser, using only JavaScript, DHTML and XMLRPC, without relying on any bloated proprietary frameworks or plugins.

    Btw, as far as nifty AJAX apps go, look at BitFontMaker; it's an old-sk00l bitmap font editor in Javascript/DHTML, which, at the touch of a button, sends its data back to the server, which sends it back in a TrueType font file.

    1. Re:Flash is cheating by antic · · Score: 2, Insightful

      I'd rather those Flash examples than something like that zoomable Swiss map which was slow and kept forcing focus on the browser window when I was trying to click across somewhere else.

      BTW, that ESPN example used Flash for the shot chart, but not the Game Updates.

      --
      'Thats they exact same thing a banana wrench monkey.'
  109. I dislike it by wikinerd · · Score: 1

    It uses JavaScript and requires client-side support. It also sends XML to the client. In my opinion, the Web should be based on server-side scripting, not client-side. I analysed my thought on my blog.

  110. Nathan Barley? by Hal_Porter · · Score: 1

    http://www.adaptivepath.com/images/team/headshot_g arrett.jpg

    Imagine him saying - "After all, when was the last time you heard someone rave about the interaction design of a product that wasn't on the Web? (Okay, besides the iPod.) All the cool, innovative new projects are online."

    Spooky, innit?

    --
    echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
  111. Death to better RIAs by Trinition · · Score: 1

    I'm excited about this, but also worried that it will be the death of better RIA (rich internet application) architectures. Things like Macromedia Flex, Luxor, Laszlo, etc. all promise to do away with HTML as a UI layout tool. However, this just legitimizes HTML and all of the pain and suffering it causes developers when you start to go beyond simple markup.

  112. I used it for a state wide web app. by davegust · · Score: 2, Informative

    I (and my business partner) used this technique 5 years ago to develop the budgeting system used by all Idaho state agencies. It uses IE5 with a few ActiveX controls (grid, custom combo boxes) bound to an XML data source. The result is a rich application-like experience within the browser.

    The back end is IIS + SQL Server. The server runs in Boise. Hundreds of users from dozens of agencies around the state manage their complex budgeting process with this app.

    XMLHTTP was a key technology in Microsoft's plan to use IE as the business app environment. Databinding to native HTML controls was pretty cool - 5 years ago.

    If you want links, try this, this, or this. It's even taught in vocational programming courses.

    1. Re:I used it for a state wide web app. by davegust · · Score: 2, Interesting

      Also check Professional ASP XML - Chapter 12: Client-side Data Binding with XML. Copyright 2000.

    2. Re:I used it for a state wide web app. by Anonymous Coward · · Score: 0
      XMLHTTP was a key technology in Microsoft's plan to use IE as the business app environment. Databinding to native HTML controls was pretty cool - 5 years ago.


      if by key technology you mean a mistakenly good feature that threatened the entire microsoft product line.

      dhtml and xmlhttprequest are the sole reason why IE7 has shelved. the IE dev team was one of the most active microsoft divisions until 5 was mostly to 6 and then microsoft axed the entire team. ie7 had some amazing prototype work with "ajax" technology that could've obsoleted the operating system. microsoft was what they were doing and stopped immediately, reassigned and fired the entire team and took axe's to the remaining source code.

      i'm so furious i lost the original article on this.
  113. fsck graceful degradation by bill_mcgonigle · · Score: 2, Insightful

    Well, at least that's what makes GMail, et. al. different/innovative.

    It appears they started with a UI design and worked backwards to figure out a way to implement it. If it couldn't be done in IE6/Firefox it got canned, otherwise they pulled out whatever tricks they could to get it working.

    Google knows how to gracefully degrade. But the browser wars/innovation have been over for 5 years. They decided to focus on usability and leave the non-compliant browsers at the station.

    The marketplace apparently approves.

    When we were coding for a new major browser rev every 9 months, graceful degradation was a more useful concept. Today there are basically 3 categories of browsers: lynx, modern, and old-and-busted. They probably never considered lynx and decided to ditch old-and-busted.

    If you can measure an appreciable productivity increase for a good UI, how much of that is worth sacrificing for lynx? Graceful degradation may have outlived its usefulness. Somebody's going to have to figure out how to make these apps accessible in another way.

    --
    My God, it's Full of Source!
    OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    1. Re:fsck graceful degradation by JimDabell · · Score: 1

      Well, at least that's what makes GMail, et. al. different/innovative.

      What makes GMail etc innovative? I've just finished explaining that these techniques have been in use for years. For instance, here's a story on Kuro5hin from 2002 that mentions a dynamic threading mode that can be used to display new information from the server without reloading the page.

      But the browser wars/innovation have been over for 5 years. They decided to focus on usability and leave the non-compliant browsers at the station.

      This isn't about "non-compliant browsers". Catering to browsers with different capabilities without resorting to highest common factor design is something web developers do all the time. It's not something that went out when people stopped supporting "both" browsers, and it's certainly not some kind of Netscape 4.x legacy. It's a general principle that the web relies on, and is unrelated to usability - apart from the fact that it is a method that avoids breaking things completely for some people.

      The marketplace apparently approves.

      I hope you aren't trying to imply that this means they are writing high quality code.

      Today there are basically 3 categories of browsers: lynx, modern, and old-and-busted.

      That's a ridiculous, superficial analysis. There are many ways in which user-agents can differ, and they can be quite independent. For instance, only the very latest betas of (modern) Opera support XMLHttpRequest, somebody might switch off images if they are surfing on their (modern) laptop over their (modern) mobile phone, or a business might follow (modern) CERT's advice and disable client-side scripting on their employee's (modern) browsers.

      If you can measure an appreciable productivity increase for a good UI, how much of that is worth sacrificing for lynx? Graceful degradation may have outlived its usefulness.

      Jesus H. Christ on a skateboard! You are replying to a comment that explains what graceful degradation is. How about you try reading it. It does not entail sacrificing any functionality whatsoever, for Lynx or any other browser. Sacrificing functionality is mutually incompatible with graceful degradation, so I fail to see how you could possibly confuse them.

    2. Re:fsck graceful degradation by bill_mcgonigle · · Score: 1

      What makes GMail etc innovative? I've just finished explaining that these techniques have been in use for years.

      Sure they have, in bits and pieces here and there. Nice hacks. But the entire GMail interface depends on these hacks. That's the difference.

      Catering to browsers with different capabilities without resorting to highest common factor design is something web developers do all the time.

      Right, and GMail doesn't. You could try to make an Aqua-savvy app run on a C-64 but it wouldn't give you the same experience. Here experience is paramount.

      I hope you aren't trying to imply that this means they are writing high quality code.

      Where did that come from? I mentioned nothing of the sort. The Marketplace isn't people who view-source, it's the users. The users like using GMail.

      For instance, only the very latest betas of (modern) Opera support XMLHttpRequest

      XMLHttpRequest was implemented in almost 4 years ago in Mozilla. As I said, Old-And-Busted.

      somebody might switch off images if they are surfing on their (modern) laptop over their (modern) mobile phone

      Fair point. Does GMail fail w/o images? Haven't tried.

      a business might follow (modern) CERT's advice and disable client-side scripting on their employee's (modern) browsers

      This might be an issue inside the NSA/CIA but in the rest of the real world this is never going to happen, as the bigwig users will scream bloody murder they can't access their favorite shopping site. A shame, but real-world.

      Sacrificing functionality is mutually incompatible with graceful degradation, so I fail to see how you could possibly confuse them.

      Are you familiar with the HCI definition of 'verbs'? There are certain UI verbs that a richer-UI platform will allow that less-rich platforms simply don't. It's possible to design a UI that requires such verbs. For example, click-and-drag in Google Maps. You can't click and drag in lynx. Now Google Maps has alternate verbs available map navigation, so it's not the best example, but nonetheless it's possible to design a UI that requires such verbs. In this case, there's nothing you can do but provide an alternate UI for lynx-type users. That's all well and good, and great for the disabled since screen-readers typically work well on lynx-navigable websites, but that's not graceful degradation, that's an alternate UI.

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    3. Re:fsck graceful degradation by JimDabell · · Score: 1

      Sure they have, in bits and pieces here and there. Nice hacks. But the entire GMail interface depends on these hacks. That's the difference.

      You're saying that it's innovative because it's depended upon instead of having a fallback? People have been writing Javascript that doesn't have a fallback since the days of Netscape 2.0. It's a pain in the neck and certainly not anything innovative.

      I honestly don't see anything whatsoever that GMail does that hasn't been done elsewhere years ago. I see a lot of people impressed because it's the first time they've seen these techniques applied. That doesn't make it innovative, just popular.

      Here experience is paramount.

      I'm not going to say this again: go back and read what I am writing. Graceful degradation does not have any negative effect on the users' experiences whatsoever.

      This might be an issue inside the NSA/CIA but in the rest of the real world this is never going to happen,

      Ahh, yes, the "real world" argument. It can be summarised as "I haven't seen it, I don't want to deal with it, so it doesn't happen".

      Yes, the clients with Javascript available far outnumber the clients with Javascript unavailable. But there are plenty of legitimate reasons for using a client with Javascript unavailable, some of which are very important to cater to. Blind users and search engines generally don't get on well with Javascript, for instance.

      Are you familiar with the HCI definition of 'verbs'? There are certain UI verbs that a richer-UI platform will allow that less-rich platforms simply don't.

      You're looking at the wrong level. The aim isn't to provide the same UI to lesser browsers, the aim is to provide the same functionality. In some cases, this is impossible - video streaming to Lynx, for example, but this isn't the norm.

      GMail, for example. Which features of GMail are impossible for a non-Javascript client? I can't think of any off the top of my head. But Google have coded the interface so that it depends upon Javascript. There are well-established techniques that have been in use for years that mean locking out non-Javascript clients just isn't necessary. And these techniques do not require any changes to the interface for the clients that already handle what Google expects.

      From everything you are writing, it seems you still don't understand the concept of graceful degradation, so I'll give the simplest example I can think of:

      <a href="javascript:popup(url);">link</a>
      <a href="url">link</a>
      <a href="url" onclick="return popup(url);">link</a>

      The first link is an example of fragile code. It works for clients that have Javascript available, and breaks for everyone else.

      The second link is an example of highest common factor design. Since not all clients can understand Javascript, it doesn't use it. It works for all clients, but at the cost of sacrificing the extra functionality that clients with Javascript available have with the first example.

      The third link is an example of graceful degradation. Clients with Javascript available get the extra functionality that is possible for them, and it still works for clients without Javascript available.

      It sounds like you still think I'm talking about highest common factor design. I am not.

  114. You don't need ActiveX objects by Quantum+Jim · · Score: 2, Interesting

    You don't even need to use ActiveX objects in IE. You can use document.createElement("xml") and use Internet Explorer's built-in XML islands extention to load content, which seems to work even if ActiveX is disabled (at least for me) in IE6-SP2. Pimping my own stuff: I wrote a few journal entries on this topic a while ago. Check out the original article and its update.

    --
    It is impossible to enjoy idling thoroughly unless one has plenty of work to do.
    - Jerome Klapka Jerome
  115. Didn't Mark Twain write the software? by Anonymous Coward · · Score: 0

    Or did he just write a book about toilets using "Ajax" as a pun (i.e. "a jake").

  116. I'd just like to say... by Anonymous Coward · · Score: 0

    that although this may be old school to most of the /. community, I wasn't aware of this approach, and I've been working on a project that needs exactly this kind of interface. So at least this pretentious bastard was helpful to somebody.

  117. Not First by xant · · Score: 2, Informative

    Hi, try http://nevow.com and take a look at livepage and canvas. This isn't magic, people.

    --
    It's rare that you're presented with a knob whose only two positions are Make History and Flee Your Glorious Destiny.
  118. JPSpan is an implementation of the 'Ajax ' idea by riverfr0zen · · Score: 1

    I don't think Ajax is an actual 'product'. It's just a term for the technique of accessing the model from a javascript/DOM based viewer over an xml based request.

    So JPSpan would be classified as an implementation of the Ajax approach.

  119. Threat to Flash by venomkid · · Score: 1

    Yup. I tell you one thing, this is a huge goddamn threat to flash. All the interactivity, no plugins, no breaking of web standard functions (if programmed right). w00t!

    vk.

    --
    vk.
  120. Bah! by rjshields · · Score: 1

    This stuff has been around for years. Asynchronous XML transfer - flash has been doing that since version 5 (~2000) and MSXML has been doing that since uhh IE 4. It's just now that more browsers support this that some clever bod decided to write a wrapper API to support multiple browsers, and some marketing bod comes along and coins a term and thinks he invented the whole thing. Nothing new here, move along now.

    --
    In this world nothing is certain but death, taxes and flawed car analogies.
  121. Uh by ZehFernando · · Score: 1

    I don't think you understood my post. I am a Flash developer. Please read my post again with your sarcasm detectors on. Peace, Zeh

  122. Weblets by hayriye · · Score: 1

    Weblicate your applications with Weblets in no time!

  123. Javascript front, Java webapp back by mparaz · · Score: 1

    I've been working on a such a "rich" app using the Javascript DOM on the front to call SOAP and XML services on the back. I wrote about my experiences.

  124. oops - My Bad by blackpaw · · Score: 1

    Been a while since I worked with that

  125. The point is XSLT or content separation! by kentsin · · Score: 1

    It is not httprequest is important. It is that render the layout in client with xslt.

    The httprequest together with javascripts can provide the dynamic interface which is not exploited for most of you.

    But what make ajax standout is to render the layout in browser (as well as in server). For example, when a user request a big document, the server just sent it to the browser: no paging is done in server, the paging is done in browser. Skip those ugly next, prev, ...

    More important, it works in text only and slim browsers: the xslt just got lost. The pure xml document is present.

  126. Flash and Ajax apps by gilgamesh2001 · · Score: 1

    I wonder what Macromedia thinks about all this Ajax hype?

  127. my Ajax app: Zuggest by Anonymous Coward · · Score: 0

    You folks might appreciate my "Zuggest" tool It uses the "Ajax" concepts you're talking about and works similarly to Google Suggest but searches against the Amazon Product database as you're typing.

    Check it out: http://www.francisshanahan.com/zuggest.aspx