Slashdot Mirror


Why Microsoft and Google are Cleaning Up With AJAX

OSS_ilation writes "Google uses it, and Microsoft is pursuing it, so there's a lot of hype and hubbub surrounding AJAX (Asynchronous JavaScript and XML). AJAX brings together some hot properties, JavaScript, HTML/DHTML and HTML, according to Julie Hanna Farris, founder of Scalix, a Linux-based, e-mail systems vendor. Scalix is using AJAX in Scalix Web Access (SWA), a Web-delivered, e-mail application. AJAX enables advanced features like drag 'n drop, dropdown menus and faster performance capabilities, which are now making their way into Web applications, she said. These kinds of capabilities represent a significant leap in the advancement of Web apps."

443 comments

  1. Where? by Anonymous Coward · · Score: 0, Offtopic

    Where are some good web sites about AJAX?

    1. Re:Where? by $RANDOMLUSER · · Score: 1

      Guys, this is pretty funny. It's a pimpkin carved something like the gotase guy. Weird, but reasonably work-safe.

      --
      No folly is more costly than the folly of intolerant idealism. - Winston Churchill
    2. Re:Where? by Anonymous Coward · · Score: 0

      Can anyone recommend a good introduction or reference book for AJAX?

    3. Re:Where? by Frymaster · · Score: 1
      Where are some good web sites about AJAX?

      what are some good sites about astorturfing?

    4. Re:Where? by Anonymous Coward · · Score: 0
    5. Re:Where? by miley · · Score: 1

      Tiny url now has a preview feature so that you get a shot at seeing the final link before visiting. http://tinyurl.com/preview.php

  2. Ditch Javascript by hal2814 · · Score: 1, Interesting

    Now if we can just keep AJAX and ditch Javascript.

    1. Re:Ditch Javascript by richdun · · Score: 4, Insightful

      So we should ditch Javascript, but keep Asynchronous Javascript And XML? Isn't that like dumping gas-powered engines but keeping gas-powered cars?

    2. Re:Ditch Javascript by richdun · · Score: 1

      ...

      Java != Javascript

    3. Re:Ditch Javascript by hal2814 · · Score: 3, Insightful

      Exactly. We need a better engine.

    4. Re:Ditch Javascript by Anonymous Coward · · Score: 0

      This guy is really whoring up his site today, isn't he?

    5. Re:Ditch Javascript by RingDev · · Score: 1

      What you mean is that we need a better client side script. But I disagree. Javascript performs the duties of AJAX wonderfully. Especially with the new Visual Studio tools, create AJAX enabled web systems is a brease.

      -Rick

      --
      "Most people in the U.S. wouldn't know they live in a tyrannical state if it walked up and grabbed their junk." - MyFirs
    6. Re:Ditch Javascript by Anonymous Coward · · Score: 0

      The gas power is fine, it's just every engine uses it in it's own customized way, which is a pain in the ass if you're a mechanic.

    7. Re:Ditch Javascript by misleb · · Score: 1

      What's wrong with Javascript? It is HTML which hinders web application development seeing as the few UI widgets that it does provide are all but worthless from an application standpoint. What we need is ubiquitous XUL.

      -matthew

      --
      "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
    8. Re:Ditch Javascript by TrappedByMyself · · Score: 1

      Now if we can just keep AJAX and ditch Javascript.

      We can only dream. A standard, browser supported REAL language. The client side should have been Java's world instead of just dopey applets

      Too bad you're getting modded into the ground because people misunderstand your post.

      --

      Help me take back Slashdot. When did 'News for Nerds' become 'FUD and Conspiracy Theories for Extremist Nutjobs'?
    9. Re:Ditch Javascript by Trejkaz · · Score: 1

      It would still be better if Ruby were universally supported as a client-side scripting language for web pages.

      --
      Karma: It's all a bunch of tree-huggin' hippy crap!
    10. Re:Ditch Javascript by leighklotz · · Score: 1

      >So we should ditch Javascript, but keep Asynchronous Javascript And XML? Isn't that like dumping gas-powered engines but keeping gas-powered cars?
      Yes, see XForms.

    11. Re:Ditch Javascript by Anonymous Coward · · Score: 0

      Or even better, some kind of universal VM (Parrot?), so you have a choice of languages.

    12. Re:Ditch Javascript by misleb · · Score: 2, Informative

      Javascript is fine. Not perfect, but it is usable. It is HTML that blows for web apps. There are just so many basic things you can't do in HTML such as listboxes and treelists. And the widgets HTML does have are really nmeant for simple forms, not complex user interfaces. Sure, you can find ugly and slow Javascript implementations but what we need is a UI language such as XUL which can describe a fully functional application UI. Right now AJAX is OK for adding a little spice to traditional web applications, but it won't be a revolution until we have something besides HTML to describe the UI.

      Javascript+XUL is very powerful. Consider that the entire Firefox front end is written in XUL and Javascript. You can use AJAX with XUL, BTW.

      -matthew

      --
      "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
    13. Re:Ditch Javascript by WindBourne · · Score: 1

      some kind of universal VM

      A lot of ppl here would argue that Java VM is the universal VM, and it is available now

      --
      I prefer the "u" in honour as it seems to be missing these days.
    14. Re:Ditch Javascript by JesseMcDonald · · Score: 1

      I agree in re: HTML. Notice that one of the major advantages of XUL is that it supports a box-layout design, like Gtk+ and Qt. How many ways have people tried to emulate that design in CSS, tables, or frames? Why couldn't they just design it into the format? Nearly all of the major web sites use some kind of box layout. Also, while iframes have their issues, there needs to be some way of including HTML-formatted text from external pages. I know you can do that with AJAX, but why couldn't they design an element, or , into the spec? In fact, why isn't src a standard attribute for all non-empty elements?

      XUL should be adopted as the standard format for web page layout, with (X)HTML reserved strictly for the content. That would go even farther than CSS in separating the content from the layout, and should make web pages even more accessible than they are at present, since browsers that can't display XUL could just display a list of all the src links.

      --
      "The state is that great fiction by which everyone tries to live at the expense of everyone else." - Bastiat
    15. Re:Ditch Javascript by misleb · · Score: 1

      Indeed, laying out a page with CSS/HTML can be a bit of a pain, but it does offer more flexability in layout than a strict box model would. For example, you can "float" a div in HTML such that all other elements can flow around it. Even position it outside of its defined "box" using negative margins and all that. I think a box model would be far too strict for use it in general document layout.

      This is the basic problem. Good document layout and good application layout are two very differnt things. We're trying to force documents to be applications. And it just isn't going to work.

      -matthew

      --
      "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
    16. Re:Ditch Javascript by KinkoBlast · · Score: 1

      Yes, you can. But then, everyone using browsers based on IE (Just a tad below 88% of users, I beleve?), KHTML, and other non-gecko browsers can't use it at all. That is, for a buissness, not acceptable. Now, my next personal site will probably use XUL out the nose. But that's another story :-)

    17. Re:Ditch Javascript by JesseMcDonald · · Score: 5, Insightful

      I agree that both models are necessary. You wouldn't want to lay out text with a box model, but you wouldn't typically want to lay out a form or list with a freeform layout, either. The element was a decent compromise, for a while, but its limitations are many, and it confuses programs that expect tables be used for data rather than layout. CSS is the recommended replacement, but omits the most useful part of the element, arranging rows and columns of arbitrary elements, while failing to add the metainformation that would allow screen-readers and the like to quickly find the content of the page.

      You say that we're "trying to force documents to be applications", and I agree. However, with HTML we're also trying to force applications to become documents. We need access to both layout models, because the Web contains both documents and applications. XUL provides this. For example, the XUL menus in the FireFox "chrome" are freeform, and the main part of the box layout is a container for freeform HTML, while the rest of the chrome follows a box model.

      Even "document" pages usually contain some "application" elements; navigation buttons, or a search box, for example. The page should be treated as an application containing content, and not forced to hold both the framework and the content in one file, with the same layout model.

      --
      "The state is that great fiction by which everyone tries to live at the expense of everyone else." - Bastiat
    18. Re:Ditch Javascript by xero314 · · Score: 1

      I for one will second this post. JavaScript, or ECMAScript, is a very powerful and flexible language. The fact that it has only been implemented for use in web browsers with HTML (this is not entirely true by the way) shouldn't be a reason to look down on JS as a language. HTML and DOM on the other hand are garbage for writing web apps. DOM has it's uses but really, using a Document Object Model for creating Applications is really ass backward. Now I did recently just leave a project that I lead, which used XUL and Javascript with home grown AJAX (or even SJAX if you will), and that turned out to work out pretty well and is an production application gaining some recognition in the realm of scientific research. The biggest problem with XUL is it's poorly supported (if firefox doesn't need it then it doesn't get built or fixed), is based on a DOM where it should really use a AOM (Application Object Model) and is more or less (not talking technically) a hack on top of HTML (you could do most of the same stuff with HTML and XBL)

      Application browsers will some day exist, hopefully in my life time. Oh and XUL better kick it in high gear before M$ and it's XAML comes in and walks all over it.

    19. Re:Ditch Javascript by Anonymous Coward · · Score: 0

      "brease" = "breeze" + "disease" convoluted with "breast"

      a disease brought on by a form of laziness associated with computers, in particular with the use of drag-and-drop IDE such as Visual Basic or sitting for hours in front of a computer watching porn.

    20. Re:Ditch Javascript by Trejkaz · · Score: 0, Troll

      Well, we already have the choice of languages, don't we... it doesn't really matter whether it's done via a universal VM or via a Ruby interpreter, because the result is the same for people who want to use Ruby. :-)

      --
      Karma: It's all a bunch of tree-huggin' hippy crap!
    21. Re:Ditch Javascript by ObsessiveMathsFreak · · Score: 1

      XUL is powerful. Go here for a taste of how easy it's markup can be.

      However, XUL's logic is based on Javascript, and this needs a serious overhaul. Javascript is powerful in some respects, but has serious failings as anything other than a supplementary language.

      If XUL can improve javascript or use a different language altogether, I think we'll begin to see more high quality web applications written in it.

      --
      May the Maths Be with you!
    22. Re:Ditch Javascript by Directrix1 · · Score: 1

      If you want to use AJAX really easily in PHP or PERL (there are others but I'm too lazy to go back to my link), then just use SAJAX. Very simple.

      --
      Occam's razor is the blind faith in the natural selection of least resistance and in universal oversimplification. -- EF
  3. "Google uses it, and Microsoft is pursuing it"? by Anonymous Coward · · Score: 0

    More like, "Google uses it, and Microsoft invented it".

    1. Re:"Google uses it, and Microsoft is pursuing it"? by ergo98 · · Score: 2, Interesting

      More like, "Google uses it, and Microsoft invented it".

      Indeed. This story is absolutely unbelievable revisionist history and nonsense. I've written about my feelings of AJAX (in fact I was honored to see that an AC already referenced it in this thread), and this article is exactly what pisses me off about the new-to-web-apps "AJAX" converts. This messaging expert is yet another dumb-ass trying to get in on the Web 2.0 action to earn some VC funding. She even used the word "paradigm" to really put up the flags.

  4. Yet another "summary" lifted directly... by richdun · · Score: 1

    From TFA: "AJAX brings together some hot properties, Javascript, HTML/DHTML and HTML"

    So it has DHTML/HTML and HTML? Wow, three HTMLs! Buzzwords ho!

    1. Re:Yet another "summary" lifted directly... by Anonymous Coward · · Score: 0

      Next thing you know, it will even bring together XHTML!!! Maybe even HTML/XHTML if we're lucky!

    2. Re:Yet another "summary" lifted directly... by QuantumRiff · · Score: 1

      she also mentioned the word Paradigm.. don't for get that one..

      --

      What are we going to do tonight Brain?
    3. Re:Yet another "summary" lifted directly... by Elwood+P+Dowd · · Score: 1

      Not to mention HTML.

      --

      There are no trails. There are no trees out here.
    4. Re:Yet another "summary" lifted directly... by RobertF · · Score: 2, Insightful

      Not only that, but apparently, only Ajax creates Drag'n'Drop and drop down menus. You learn something new everyday! Here I thought that it was Javascript and CSS that did that.

      The sad part of throwing buzzwords around is that people latch on to them and have no idea what they entail. "I want to use some ajax for my website. Do it." ??? Somebody just realized that they can use the XmlHttpRequest object and some server-side processing to save users from the need to refresh or load a whole new page. The rest of the visual goodies have nothing to do with Ajax, just some good old Javascript+CSS.

      --
      And that, my liege, is how we know the Earth to be bannana-shaped.
    5. Re:Yet another "summary" lifted directly... by El_Servas · · Score: 1

      ... or TML... or ML.... or L.

    6. Re:Yet another "summary" lifted directly... by jacksonj04 · · Score: 1

      What's worse is people wanting AJAX where it's not needed. I was putting together a database reading (not even editing) app and someone wanted "Dropdown AJAX boxes when you click on records instead of showing all the info underneath to start with". I patiently agreed, then just put a JS function to expand a hidden when you clicked the record name. Not a bit of AAX in site, only the J.

      --
      How many people can read hex if only you and dead people can read hex?
    7. Re:Yet another "summary" lifted directly... by tomhudson · · Score: 1

      Not a bit of AAX in site, only the J.

      There was ONE "A" in sight - the "A*" who asked you to do it using AJAX without knowing what they were talking about ...

    8. Re:Yet another "summary" lifted directly... by Anonymous Coward · · Score: 0

      Cue the "Go RTML!" jokes.. :)
      Or RTFML?

      waaaah. beyond me!

  5. Sorry Microsoft by hunterx11 · · Score: 1

    It seems that ActiveX is being widely adopted for web apps only insofar as it is used in IE for the XmlHttpRequest.

    --
    English is easier said than done.
  6. What is ? by jkind · · Score: 0, Troll

    What is the .NET alternative to this? Why is it tied to Javascript??

    --
    ~jennifer.k~
    1. Re:What is ? by Anonymous Coward · · Score: 0

      The .Net alternative is ASP.NET 2.0. You can get free for life versions of the new Visual Studio, one called something like Web Developer. These new versions rock to an insane degree.

    2. Re:What is ? by RingDev · · Score: 2, Informative

      The .Net alternative IS AJAX. VS.Net 2k5 has AJAX components built in. It takes a mater of seconds to get AJAX running in 2k5. There are also plug ins available for VS 2k2/2k3 to run AJAX.

      -Rick

      --
      "Most people in the U.S. wouldn't know they live in a tyrannical state if it walked up and grabbed their junk." - MyFirs
    3. Re:What is ? by imidan · · Score: 3, Informative

      The .NET alternative, which comes as a part of .NET 2.0/Visual Studio 2005, is Atlas.

      Here's an overview.

    4. Re:What is ? by LWATCDR · · Score: 1

      " What is the .NET alternative to this? Why is it tied to Javascript??"
      I believe that it is called jscript.net
      And why is it tied to JavaScript?
      1. It runs client side.
      2. As far as I know their isn't a .NET for Mac, Linux, Palm OS, Symbian, or Solaris.
      3. Why not? JavaScript is used just about everywhere.

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    5. Re:What is ? by frostfreek · · Score: 1

      Don't you mean ATLAS?

    6. Re:What is ? by ad0le · · Score: 1

      Actually, there is. http://www.mono-project.com

      --
      My mother never saw the irony in calling me a son-of-a-bitch.
    7. Re:What is ? by Anonymous Coward · · Score: 0

      What a dumbfuck.

      Let me guess you still use IE?

    8. Re:What is ? by RingDev · · Score: 1

      ATLAS is MS's new toolset designed to make working with AJAX easier.

      -Rick

      --
      "Most people in the U.S. wouldn't know they live in a tyrannical state if it walked up and grabbed their junk." - MyFirs
    9. Re:What is ? by killjoe · · Score: 1

      It's avalon really. MS is hoping that people stop developing HTML/AJAX applications once their version of XUL hits the streets. AJAX applications are very dangerous because they don't require windows, thankfully avalon does!.

      --
      evil is as evil does
    10. Re:What is ? by killjoe · · Score: 1

      From their web page.

      ""Atlas" is not merely another implementation of AJAX. Instead, "Atlas" extends the AJAX concept in two significant ways. First, the "Atlas" client script libraries dramatically simplify the tasks of creating rich UIs and remote procedures calls by providing you with true object-oriented APIs and components for Atlas development. Second, "Atlas" extends the AJAX concept by providing a rich, integrated server development platform in ASP.NET 2.0. The "Atlas" server components include ASP.NET Web services and server controls that enable you to take advantage of the power of ASP.NET, such as the ASP.NET profiles service, in an "Atlas" application."

      It looks like a embrace and extend version of AJAX.

      --
      evil is as evil does
    11. Re:What is ? by LWATCDR · · Score: 1

      But mono is only a subset of .NET with some extensions..

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    12. Re:What is ? by Bellum+Aeternus · · Score: 1
      Um... you don't need anything to do AJAX work. You can build it with .shtml. It's just a protocol that uses a built in browser object to submit and retrieve data without user interaction. Hence, the page doesn't have to refresh, or rebuild the DOM tree.

      And as for Why is it tied to Javascript?? because it is all Javascript. There's no real VB alternative, and I for one am happy about that.

      Basically, you instantiate the Javascript object, create a URL for it to call and make the call. In theory the server answering the URL call will return a well formed XML document that can be parsed. Then the returned data can be formatted by the Javascript engine on the client side.

      It's beautiful because it moves load to the client side, and speeds up page performance (in general).

      In short, there's no .NET equivelent but there are .NET tools that help make development easier. See System.XML for more information.

      --
      - I voted for Nintendo and against Bush
    13. Re:What is ? by zmarty · · Score: 1

      Does it generate FF/Opera compatible code?

      --
      If you can't find a way, make one!
    14. Re:What is ? by Skim123 · · Score: 1
      No, he doesn't. At least I don't think so.

      Atlas is the toolkit for creating AJAX-like apps. But ASP.NET 2.0 has the built-in, low-level functionality for implementing callbacks (which is what Atlas uses underneath the covers, if I'm not mistaken... which I may be, I've not explore Atlas in detail).

      --

      I could not justify my existence if I were a turkey farmer. Would I terminate myself? Undoubtably, yes.

    15. Re:What is ? by RingDev · · Score: 1

      Writing an AJAX page with out a tool like Atlas is possible, but a royal pain in the ass. Atlas makes it easier on both side, and adds in common functionality so that you don't have to redesign the wheel every time you goto the store.

      -Rick

      --
      "Most people in the U.S. wouldn't know they live in a tyrannical state if it walked up and grabbed their junk." - MyFirs
    16. Re:What is ? by RingDev · · Score: 1

      It generates HTML/CSS/XML. And I need to type more with out using caps to get this post past the lameness filter. -Rick

      --
      "Most people in the U.S. wouldn't know they live in a tyrannical state if it walked up and grabbed their junk." - MyFirs
    17. Re:What is ? by jTurbo · · Score: 1

      What do you mean by Net 2500 or VS 2200/2300?

      --
      a sig with any other name would be as witty ...
    18. Re:What is ? by RingDev · · Score: 1

      Visual Studio .Net is the integrated development environment (IDE) for .Net applications. There are 3 versions available, VS.Net 2002, VS.Net 2003, and VS.Net 2005. The year is often shortened to 2k (2000) and the last digit (5). So "VS.Net 2k5" is the short hand way of typing "Visual Studio.Net 2005"

      -Rick

      --
      "Most people in the U.S. wouldn't know they live in a tyrannical state if it walked up and grabbed their junk." - MyFirs
  7. real reason why by scenestar · · Score: 3, Insightful

    Farris: Microsoft is probably interested in AJAX for the same reasons everyone is interested in AJAX: the ability to deliver desktop quality applications through the Web.

    and charge "subscription fees" for it too.

    --
    perpetually dwelling in the -1 pits
    1. Re:real reason why by Anonymous Coward · · Score: 0

      Yes because google wouldnt want to make a buck by selling ads in said applications of thier own creation.

    2. Re:real reason why by Azathoth!EDC · · Score: 1

      I hate to break it to you, but MS has been using "AJAX" in their OWA and CRM products. Granted, the "AJAX" parts are IE only (non IE browsers are served an old-school frames site.)

    3. Re:real reason why by misleb · · Score: 5, Informative

      It is bullshit. AJAX does NOT give one the ability to deliver desktop quality applications through the web. Not even close. Sorry. At best, AJAX spices up traditional web applications. But it is still using HTML/CSS for the UI. The HTML/CSS document model simply doesn't work well for desktop quality applications.

      Saying that AJAX will allow one to deliver desktop quality applications is like saying central heating will turn a mobile home into a mansion.

      -matthew

      --
      "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
    4. Re:real reason why by grazzy · · Score: 1

      Amen to that brother. Basically using Ajax boils down to ONE command, namely the one to retrieve data from the (same) server the script is hosted on. How this changes things radically - I fail to see.

    5. Re:real reason why by Anonymous Coward · · Score: 0

      Holy shit! A company out to make money? Who woulda thunk it?

    6. Re:real reason why by Anonymous Coward · · Score: 0

      And make arbitrary changes to it without your consent, and give them access to all of your data, and let them collect marketing information on you, and so on.

    7. Re:real reason why by Skreems · · Score: 1

      It depends what you do with it. The neat thing is, it basically adds disk access to javascript, which was the one thing it didn't have before. No, it's not exactly like desktop apps, but it has all the important features, given a programmer who will use it correctly.

      --
      Slashdot needs a "-1, Wrong" moderation option.
      The Urban Hippie
    8. Re:real reason why by Jeffrey+Baker · · Score: 2, Interesting

      I agree. Web browsers (and AJAX) lack two crucial features needed for GUI development. The most important by far is a packing system. There is no way to tell the browser you want one element to be as compact as possible, and you want the element next to it to be as large as possible. This stuff has been in GUI APIs for decades, because it's a requirement. If you could get at the APIs that Mozilla uses to draw its GUI, and use those in the content area, that would be a start. But right now you just have to guess at element sizes.

      Secondly, you, as the AJAX programmer, have to re-implement all the useful things the browser does to tell you what's going on. An example: a few weeks ago Google launched a javascript RSS reader. On the first day their server system was completely overwhelmed with requests. Because of the AJAX implementation, the user couldn't tell what the hell was going on. The elements of the UI would click and move around and animate and do all sorts of things, but the data wasn't coming in from the server, so it was useless. And because of the architecture the browser was not giving messages like "server could not be contacted" or what-have-you. Someone needs to come up with a way to inform the user that something dreadful is happening behind the curtain.

      With the two above improvements, AJAX might be of some use. As it currently stands, AJAX is just an Even Bigger Hack.

    9. Re:real reason why by misleb · · Score: 1

      "All the important features?" You listed one. The ability to write data to "disk." The question is, how does this turn a document into an application? This is the fundamental problem. Documents are not applications and applications are not documents.

      -matthew

      --
      "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
    10. Re:real reason why by misleb · · Score: 2, Informative
      I agree. Web browsers (and AJAX) lack two crucial features needed for GUI development. The most important by far is a packing system. There is no way to tell the browser you want one element to be as compact as possible, and you want the element next to it to be as large as possible. This stuff has been in GUI APIs for decades, because it's a requirement. If you could get at the APIs that Mozilla uses to draw its GUI, and use those in the content area, that would be a start. But right now you just have to guess at element sizes.

      XUL provides both. AND you can use it with AJAX. But, alas, it only works with Mozilla based browers.

      -matthew

      --
      "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
    11. Re:real reason why by gasmasher · · Score: 1

      Isn't that the entire point of a user interface, providing data (I don't feel it matters where it comes from) to the user? With a well defined interface it is no different than using a linked lib other than latency. I have taken part in more than a few multi-tier apps where there is a single function that actually does all the grunt work of moving data back and forth.

      Using a powerful server to do most of the heavy lifting and using the client to merely render the output is a great way to produce a useful multiplatform application. I admit that HTML has a lot of shortcommings in the UI, but that isn't the fault of the data transfer mechanism.

    12. Re:real reason why by prockcore · · Score: 1

      The HTML/CSS document model simply doesn't work well for desktop quality applications.

      iTunes uses XML/CSS to do the iTMS. Seems to work well enough for Apple.

    13. Re:real reason why by misleb · · Score: 1

      1) I said HTML/CSS
      2) Is iTunes itself written in HTML? No.

      -matthew

      --
      "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
    14. Re:real reason why by Jeffrey+Baker · · Score: 1

      I had no idea that you could serve XUL into the browser and have it work. That's a great tip. Thanks!

    15. Re:real reason why by hahn · · Score: 3, Interesting

      >It is bullshit. AJAX does NOT give one the ability to deliver desktop quality applications through the web. Not even close. Sorry. At best, AJAX >spices up traditional web applications. But it is still using HTML/CSS for the UI. The HTML/CSS document model simply doesn't work well for >desktop quality applications.

      Of course not. It delivers a desktop-LIKE feel to certain web applications. However, that is NOT the only point of it. Other advantages include:
      #1 Immediate deployment - You can distribute your web-served application nearly instantly. Tell me what corporation WOULDN'T love the idea of having their 1000 employees have near instant access to an Office-like application and not have their IT department lift a pinky finger?
      #2 Portability - I can use the same application at any location and it'll have the same feel. If website also offers storage, I can also work on the same document/e-mail/project. Don't tell me that you wouldn't find a web version of MS Word that you could access from any internet connected computer, INCREDIBLY useful.
      #3 Everyone would be using the most up-to-date versions. I'm sick of having to download updates to my dozens of programs. Would LOVE it if everytime I used an app, I didn't have to even think about it.
      #4 Takes up very little space on your harddrive, and doesn't mess with your OS. Yes, storage is cheap, but raise your hand if you haven't had to ever re-install Windows (or simply chose to do so) because you've installed and uninstalled so many freaking apps on your computer, your registry is FUBAR, and your OS feels like it's running on a 386? How about because your menus read like an encyclopedia index of apps and are just cluttered beyond all recognition? Yeah, thought so. Plus, I just hate having a 10 gig application, that I use like once a month, sitting on my machine. Makes defragmenting, virus scans, and ad-ware scanning a royal pain too.

      So yes, you are correct, in that it can't quite match the snappiness of a local app. Not yet anyhow but that's what's great about technology, eh? What's not possible today, IS possible tomorrow. But aside from that, the advantages I listed above FAR outweigh the disadvantage of not having a "true" local app "feel". Whatever that means anyhow.

      --
      "The only normal people are the ones you don't know very well."
    16. Re:real reason why by stuuf · · Score: 1

      Documents can be applications, this has been true ever since people started putting script on web pages. DHTML, the big buzzword 5 years ago, gave web pages the ability to change their layout and formatting without being completely reloaded. That made some things possible without the extra time required to download a new page. AJAX uses scripting to also change the content of a document (which is being used as an application) without reloading the entire page. It's just moving more and more processing from the server to the client.

      --

      Everyone is born right-handed; only the greatest overcome it

    17. Re:real reason why by CompGeek01 · · Score: 1

      I know a few people who would disagree with you: http://bindows.net/ (Click for quick demo) I realize it's not perfect, but IMO you can't say it doesn't have potential.

    18. Re:real reason why by alienpeach · · Score: 1

      I actually think HTML/CSS/Javascript, if used correctly, can provide an app that is as good as, if not better than, deskop apps. But I do agree that there is a time and a place for each. Poor planning in apps lead to bad apps.

    19. Re:real reason why by ClosedSource · · Score: 1

      Those are nice advantages. The only problem with your argument is that AJAX isn't required for any of them.

    20. Re:real reason why by misleb · · Score: 1
      #1 Immediate deployment - You can distribute your web-served application nearly instantly. Tell me what corporation WOULDN'T love the idea of having their 1000 employees have near instant access to an Office-like application and not have their IT department lift a pinky finger?

      What does this have to do with AJAX? You could always deploy web based apps instantly.

      #2 Portability - I can use the same application at any location and it'll have the same feel. If website also offers storage, I can also work on the same document/e-mail/project. Don't tell me that you wouldn't find a web version of MS Word that you could access from any internet connected computer, INCREDIBLY useful.

      Portable... as long as the programmer was smart enough to make it work with the quirks of all browsers on all platforms. Frankly, I find the thought of a web based MS Word to be positvely frightening. But again, this doesn't have much to do with AJAX. You're limited by the HTML, not your ability tocomunicate with a server.

      #3 Everyone would be using the most up-to-date versions. I'm sick of having to download updates to my dozens of programs. Would LOVE it if everytime I used an app, I didn't have to even think about it.

      You'd rather wait 5 minutes for the application to load in a web browser every time you wantedto use it? Surely there are better ways of managing applications than cramming them into a document (not application) oriented web browser.

      #4 Takes up very little space on your harddrive, and doesn't mess with your OS. Yes, storage is cheap, but raise your hand if you haven't had to ever re-install Windows (or simply chose to do so) because you've installed and uninstalled so many freaking apps on your computer, your registry is FUBAR, and your OS feels like it's running on a 386? How about because your menus read like an encyclopedia index of apps and are just cluttered beyond all recognition? Yeah, thought so. Plus, I just hate having a 10 gig application, that I use like once a month, sitting on my machine. Makes defragmenting, virus scans, and ad-ware scanning a royal pain too.

      So you'd rather DOWNLOAD the 10 gig application every time you want to use it? Where do you think all that Javascript, HTML, CSS, and graphics go when you view a web page? Also, realize that most applications would not run effectively inside a web browser. Web browsers impose someheafty restrictions on what a program can do. As a general rule, they can't access your harddrive. Even trivial things like hot-keys (shortcuts) are difficult to implement in a web app.

      -matthew

      --
      "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
    21. Re:real reason why by misleb · · Score: 1

      Slow and clunky like every other "Javascript UI trying to be like a desktop application" implmentation i've seen. Also, note that there is a lot more going on here than just AJAX. It is clever. I will give it that much. But I don't see people using it seriously when they can get much better REAL applications to run ontheir computer.

      -matthew

      --
      "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
    22. Re:real reason why by misleb · · Score: 1

      Well, try comparing Google Earth to Google Maps.

      Next time you open up your favorite word processor or whatever, look at thecomponents and consider how one might implent them in HTML/CSS. You might find that you take a lot of things for granted. Consider key-shortcuts. How do you do this with HTML/CSS? HTML/CSS/AJAX provide a pitiful array of "events" which can be acted upon. You can't capture basic things like "ctrl-S" (to save a document), for example.

      Have you ever programmed applications in HTML/CSS? Without using klunky javascript UI libraries, it is nearly impossible. You just get an interactive webpage that doesn't reload. Doesn't interact with your localfilesystem. Doesn't handle events well. Etc.

      -matthew

      --
      "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
    23. Re:real reason why by Anonymous Coward · · Score: 0

      So then please check out http://www.zimbra.com/ and say that again!

    24. Re:real reason why by Anonymous Coward · · Score: 0

      Wow you are the king of the straw men. My hat is off to you, sir.

    25. Re:real reason why by cloudmaster · · Score: 1

      Yeah, I mean, for years I've wondered if there was a way to make apps that run locally but can get data remotely, are deliverd over the web with updates being instantly available, and can take up little space.

      Yes, I've written apps using AJAX before that was the buzzword (I called it using DHTML, CSS, JavaScript, and XML) and with Java Webstart - and the webstart apps are better in almost every way. Easier to test, easier to make look like local apps, faster, etc. Stick some XML-RPC or SOAP in there and you've even got faster access to remote data. But I guess AJAX is the current buzzword of choice, and people think it's a new thing. Sigh. I guess that some slow java apps back in 1997 runing on a 486 ruined anyones hopes of ever using Java for something significant...

    26. Re:real reason why by hahn · · Score: 1

      What does this have to do with AJAX? You could always deploy web based apps instantly.

      YOU argued against AJAX vs traditional local apps. That's what my response was based on. NOT on how AJAX is better than other web apps. I'm just saying that AJAX brings us closer to the local app feel and yet gives you the flexibility and other advantages of a web app (as I listed previously).

      Portable... as long as the programmer was smart enough to make it work with the quirks of all browsers on all platforms. Frankly, I find the thought of a web based MS Word to be positvely frightening. But again, this doesn't have much to do with AJAX. You're limited by the HTML, not your ability tocomunicate with a server.

      Um, you act as if it's not already being done by Google, Yahoo, Microsoft, and others. Clearly, there are plenty of "smart enough" programmers out there. I also have no idea why you think server run MS Word would be positively frightening since you never say why. I also have no idea why you think HTML would limit you. I'm also still not clear as to why you would have a problem with a Word-type application running of an internet server. Unless you just simply hate Microsoft. But hey, I never said it had to be MS that would make the application.

      You'd rather wait 5 minutes for the application to load in a web browser every time you wantedto use it? Surely there are better ways of managing applications than cramming them into a document (not application) oriented web browser.

      Huh? Have you used ANY AJAX apps? GMail, Google Maps, Microsoft Live, the new Yahoo Maps, the new Yahoo Mail, etc? Which one of these takes an agonizingly long time to load? The web browser was PREVIOUSLY document "oriented" only because whoever designed the web browser said so. Not because it's inherently so. If Google, Microsoft, Firefox, or whoever decides to extend its functionality such that it's better optimized for applications, then that's precisely what it's designed to do. I think that the real problem here is that you, my friend, lack imagination or vision. The limitations of today are NOT limitations of tomorrow.

      So you'd rather DOWNLOAD the 10 gig application every time you want to use it? Where do you think all that Javascript, HTML, CSS, and graphics go when you view a web page? Also, realize that most applications would not run effectively inside a web browser. Web browsers impose someheafty restrictions on what a program can do. As a general rule, they can't access your harddrive. Even trivial things like hot-keys (shortcuts) are difficult to implement in a web app.

      Again, huh? Correct me if I'm wrong, but when you open up Google Maps, it doesn't put the ENTIRE map onto your computer. Just the parts that you're looking at. And it does it asynchronously which is why it feels so smooth compared to previous map apps like MapQuest. Likewise, let's take an imaginary word processor designed by AJAX as an example. If you're not using the thesaurus, it simply won't download onto your computer. At the same time, it's not taking up however many dozens of megabytes it takes up, sitting on your computer. AJAX allows the computer to simply download the components of the application you're using. When you use a large app, you are NEVER using the full amount of that app's files. That's the whole point, you can use a 10 gig application without having to download the whole 10 gigs. All the functionality is available on the server. When I need it, I have it. When I don't, it doesn't waste space on my harddrive. Your average user's computer never touches 90% of the files in the Microsoft Office folder. The other 10% is probably only used once in awhile too. And this is me speaking as a fairly heavy computer user.

      As for short-cuts being difficult to implement in a web-app, I again recommend you try out some of the fine AJAX applications such as Gmail before you jump to such conclusions. Clearly not THAT difficult to implement since everyone's no

      --
      "The only normal people are the ones you don't know very well."
    27. Re:real reason why by hahn · · Score: 1

      Those are nice advantages. The only problem with your argument is that AJAX isn't required for any of them.
      I never said they were. The OP was arguing against AJAX apps because they wouldn't be good enough to replace traditional locally run apps. My argument was geared towards addressing THAT specific comparison. AJAX gets us closer to the traditional local app "feel" while providing the advantages of network distributed apps.

      --
      "The only normal people are the ones you don't know very well."
    28. Re:real reason why by misleb · · Score: 1
      YOU argued against AJAX vs traditional local apps. That's what my response was based on. NOT on how AJAX is better than other web apps. I'm just saying that AJAX brings us closer to the local app feel and yet gives you the flexibility and other advantages of a web app (as I listed previously).

      Closer in the sense that adding central heating/air brings a mobile home closer to feeling like a modern 3 bedroom, two story house, sure.

      Um, you act as if it's not already being done by Google, Yahoo, Microsoft, and others. Clearly, there are plenty of "smart enough" programmers out there. I also have no idea why you think server run MS Word would be positively frightening since you never say why. I also have no idea why you think HTML would limit you.

      HTML is meant for rendering documents and simple forms. If you can'tfigure out how that would limit you, I don't know what to tell you.If you've ever programmed in a real GUI environment with proper widgets, events, callbacks, etc, you'd understand.

      I'm also still not clear as to why you would have a problem with a Word-type application running of an internet server.

      Because it would be slow as molases, for one thing.

      Huh? Have you used ANY AJAX apps? GMail, Google Maps, Microsoft Live, the new Yahoo Maps, the new Yahoo Mail, etc? Which one of these takes an agonizingly long time to load?

      I've used all but Microsoft Live, and none feel much like a desktop application. They're basically just traditional web apps that don't reload as often. No menu bars, no key shortcuts, few proper UI widgets. The list goes on.

      The web browser was PREVIOUSLY document "oriented" only because whoever designed the web browser said so. Not because it's inherently so. If Google, Microsoft, Firefox, or whoever decides to extend its functionality such that it's better optimized for applications, then that's precisely what it's designed to do.

      It isn't a matter of "optimizing" for applications. A whole new language and rendering model is required. Mozilla has done this. It is called XUL. The whole Firefox UI itself is written in XUL. But even with this there are problems because XUL apps run in a sandbox and cannot interact with theOS to a significant degree... for security reasons. Also, the project is a bit stalled becase Mozillia developers only really work on theparts of XUL that Firefox and Mozilla use extensively.

      I think that the real problem here is that you, my friend, lack imagination or vision. The limitations of today are NOT limitations of tomorrow.

      I think the problem here is that you don't understand the technologies.

      Again, huh? Correct me if I'm wrong, but when you open up Google Maps, it doesn't put the ENTIRE map onto your computer. Just the parts that you're looking at. And it does it asynchronously which is why it feels so smooth compared to previous map apps like MapQuest. Likewise, let's take an imaginary word processor designed by AJAX as an example. If you're not using the thesaurus, it simply won't download onto your computer.

      But when you do want to use the thesaurus, are you going to want to wait 1 minute while it downloads? Loading just part of a map is different than loading just part of an application. I think you underestimate the value of having an entire application runningfrom a relatively fast local hard drive using proper UI elements.

      As for short-cuts being difficult to implement in a web-app, I again recommend you try out some of the fine AJAX applications such as Gmail before you jump to such conclusions.

      I've used Gmail. Good webmail application. But reallly not that much different than a traditional web app. I'd still prefer a local application running on my desktop independent of a web browser.

      Let me ask you this: why are you so against AJAX applications?

      i have no problem with AJAX at all. I use it in my own web

      --
      "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
    29. Re:real reason why by hahn · · Score: 1

      Closer in the sense that adding central heating/air brings a mobile home closer to feeling like a modern 3 bedroom, two story house, sure.

      Dude, melodramatic much? It's also a touch arrogant to make the assumption that your view of what's better IS what's better. For some applications, the minor trade-off in responsiveness is worth the gains in convenience of portability and cost-savings of installation to some people. If you had free gas with that mobile home and you could drive south for the winter and park it on some beachfront area in Mexico, I'd bet that some (actually probably quite a few) people would pick the mobile home over your precious 3 bedroom two story house. IOW, just because you might not find the idea of having a movable home useful, doesn't mean that no one else would.

      HTML is meant for rendering documents and simple forms. If you can'tfigure out how that would limit you, I don't know what to tell you.If you've ever programmed in a real GUI environment with proper widgets, events, callbacks, etc, you'd understand.

      Clearly you and I have different ideas in mind about what people want to use AJAX for. In my mind, Office applications like a word processor/spreadsheet/presentation software could easily be useful applications to be run off the internet. What HTML is meant for and what it CAN be extended to do by combining them with other technologies (like, oh say...AJAX?) are two different things. There are lots of things that HTML was never designed for and yet can now handle, esp with the prevalence of broadband connections nowadays. Look at all the multimedia applications now available. HTML has its limitations, but then again, that's why it's not the only game in town anymore. XML, for example, was created to deal with other types of data structures than traditional "documents". In the end, it's all just data. AJAX is a meshwork of several types of technologies brought together and thus is not limited by HTML's limitations, so I'm not sure why you've fixated on HTML limitations.

      But when you do want to use the thesaurus, are you going to want to wait 1 minute while it downloads? Loading just part of a map is different than loading just part of an application. I think you underestimate the value of having an entire application runningfrom a relatively fast local hard drive using proper UI elements.

      Again, check out Google Suggest. It brings up search terms from their ENTIRE index, AS YOU TYPE. I think I can safely say that a thesaurus is MUCH smaller than Google's search index. I was amazed myself the first time I used it. Didn't think it was possible in a web app. I was wrong. BTW, just how much is your CPU and hard drive running while you're typing something in Word? B/C mine is doing pretty much nothing. I don't know where you're getting the notion that Word is such a processor intensive application. It's not exactly tracking weather in real time. Specifically what part of Word, do you think CAN'T be run across the Internet?

      I've used Gmail. Good webmail application. But reallly not that much different than a traditional web app. I'd still prefer a local application running on my desktop independent of a web browser.

      Then you haven't tried Yahoo's NEW E-mail Beta. When it comes out to the general public and you've tried it, you might re-think the necessity of a local e-mail app over one that's accessible anywhere you might go, using any device that has a standards compliant browser.

      BTW, regarding keyboard shortcuts, you haven't fully explored GMail yet if you don't know about the keyboard shortcuts in that app. Check it out the next time you're using it. You might like them. Assuming your computer is not a 486, I think it feels pretty damn snappy.

      Things are already interesting. I'm just sick andtired of people ranting and raving about new technologies that never seem to pan out as claimed.

      Nobody's really ranting or raving about AJAX. As numerous

      --
      "The only normal people are the ones you don't know very well."
    30. Re:real reason why by misleb · · Score: 1
      Closer in the sense that adding central heating/air brings a mobile home closer to feeling like a modern 3 bedroom, two story house, sure.

      Dude, melodramatic much? It's also a touch arrogant to make the assumption that your view of what's better IS what's better. For some applications, the minor trade-off in responsiveness is worth the gains in convenience of portability and cost-savings of installation to some people. If you had free gas with that mobile home and you could drive south for the winter and park it on some beachfront area in Mexico, I'd bet that some (actually probably quite a few) people would pick the mobile home over your precious 3 bedroom two story house. IOW, just because you might not find the idea of having a movable home useful, doesn't mean that no one else would.

      What makes you think I am making a value judgement against mobile homes? All I am saying is that mobile homes and 2 story houses are not the samething. I am arguing against the idea that AJAX will somehow replace desktop applications. I am not arguing agaist AJAX or web applications in general. As I have said before, I use AJAX in my own applications. You are totally making it out to besomething that it isn't.

      Clearly you and I have different ideas in mind about what people want to use AJAX for. In my mind, Office applications like a word processor/spreadsheet/presentation software could easily be useful applications to be run off the internet. What HTML is meant for and what it CAN be extended to do by combining them with other technologies (like, oh say...AJAX?) are two different things.

      It would be a totally hack job. Extending HTML in such a way wouldbe a huge mistake. I say use the right tool for the job. And HTML (even with AJAX) is simply not the tool for the job.

      There are lots of things that HTML was never designed for and yet can now handle, esp with the prevalence of broadband connections nowadays. Look at all the multimedia applications now available. HTML has its limitations, but then again, that's why it's not the only game in town anymore. XML, for example, was created to deal with other types of data structures than traditional "documents". In the end, it's all just data. AJAX is a meshwork of several types of technologies brought together and thus is not limited by HTML's limitations, so I'm not sure why you've fixated on HTML limitations.

      Oh bullshit. AJAX isn't any kind of "meshwork." It is a way of grabbing data from a remote web serverwithout refreshing the page. It performs one little function. Thats it. It isn't even particularly novel. Everything else remains roughly the same as it was 5 years ago. HTML is still just a document markup language with a couple for form elements thrown in.

      And excuse me, I'm the one fixated on HTML? I believe I gave you a URL to an XML based alternative (XUL) to HTML for GUI's.

      Again, check out Google Suggest. It brings up search terms from their ENTIRE index, AS YOU TYPE. I think I can safely say that a thesaurus is MUCH smaller than Google's search index. I was amazed myself the first time I used it. Didn't think it was possible in a web app. I was wrong. BTW, just how much is your CPU and hard drive running while you're typing something in Word? B/C mine is doing pretty much nothing. I don't know where you're getting the notion that Word is such a processor intensive application. It's not exactly tracking weather in real time. Specifically what part of Word, do you think CAN'T be run across the Internet?

      Depends on the technologies used. Using HTML/AJAX, none of it. Not to any usable degree anyway. I'm sure someone will try anyway though.

      Then you haven't tried Yahoo's NEW E-mail Beta. When it comes out to the general public and you've tried it, you might re-think the necessity of a local e-mail app over one that's accessible anywhere you might go, using any device that has a standards compliant browser.

      I don't know how Yahoo's email client is g

      --
      "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
    31. Re:real reason why by ScrewMaster · · Score: 1

      Yes, and if Bindows gets popular Microsoft will sue and they'll have to change the name to Binspire.

      --
      The higher the technology, the sharper that two-edged sword.
  8. Come on by __aaxwdb6741 · · Score: 0

    Three minutes have passed, and no replies?
    I guess the hype about AJAX isnt big as we all previously believed...

  9. Hype, Hype, Hype by AKAImBatman · · Score: 4, Interesting

    Man, are they ever hyping this stuff. This story doesn't seem to actually cover anything new, it just hypes AJAX more!

    The truth is that the stuff we've seen in AJAX so far is nothing. I don't know about anyone else, but I've used it in regular webapps as nothing more than an interface enhancement. People don't even really notice the fact that the web pages work much smoother.

    That being said, there's a massive untapped potential in this technology. I've got demos of Video Games in AJAX, as well as a full Desktop. I tried to get Google interested in the video games concept, but I'm afraid they ignored my communication. :-(

    1. Re:Hype, Hype, Hype by fiannaFailMan · · Score: 1
      nothing more than an interface enhancement
      You say that like it doesn't matter. Interface enhancements brought computing to the masses and brought prices down for all of us.
      --
      Drill baby drill - on Mars
    2. Re:Hype, Hype, Hype by AKAImBatman · · Score: 4, Insightful

      It certainly matters. However, it doesn't matter quite as much as the hype suggests. AJAX is a very valuable technology, but the only reason why it's catching on now is that we've finally rid the web of early browsers like Netscape 4. Now that everyone has full JavaScript and DOM, we can finally build complex interfaces. XMLHttpRequest is just icing on the cake. (Hidden IFrames did the job just fine in the past, and are still more useful for some interfaces.)

    3. Re:Hype, Hype, Hype by electroniceric · · Score: 1

      Yeah, the mags really are making a mountain out of a molehill here. And there's really very little here that couldn't have been done 3-5 years ago - browsers had the same javascript support, SOAP existed, and people knew you could make a request from within Javascript.

      Am I missing something? I've always thought that was part of why people didn't do this before - amount of coding needed to implement a simple app is vastly more than with something like .NET or QT. Is that not true? Are there AJAX development kits, or do you have to build the javascript (and corresponding web services) for every little behavior by hand? And what about the problems of implementing cross-browser Java-script? Has that been simplified?

    4. Re:Hype, Hype, Hype by AKAImBatman · · Score: 1

      And there's really very little here that couldn't have been done 3-5 years ago - browsers had the same javascript support, SOAP existed, and people knew you could make a request from within Javascript.

      Precisely. As I said in another post, the XMLHttpRequest is just icing on the cake.

      I've always thought that was part of why people didn't do this before - amount of coding needed to implement a simple app is vastly more than with something like .NET or QT. Is that not true?

      It is true. However, the real reason why it hasn't been done before is that Netscape 4 held onto enough market share to really gum up the works. As long as you needed to support these people, you could use full DOM technologies in your web pages.

      Are there AJAX development kits

      There are several out there, though most are immature. I have two in my library. (One for games, one for Desktop widgets.) BlueShoes has some nice stuff, for example.

      And what about the problems of implementing cross-browser Java-script? Has that been simplified?

      Yes! No! Sort of!

      If you follow the DOM standard, you're 95% of the way there. The last part that can really frustrate you is that Microsoft doesn't support addEventListener() from the DOM Events Standard. However, if you're smart you can patch objects system-wide to have this method under IE. The implementation merely calls IE's custom "attachEvent()" call. The two are similar enough to interoperate.

    5. Re:Hype, Hype, Hype by Bogtha · · Score: 1

      Now that everyone has full JavaScript and DOM, we can finally build complex interfaces.

      Not everybody has JavaScript and the DOM, and it was never a crucial factor anyway. It's perfectly reasonable to write web applications that use AJAX when the user has the necessary technology available, and fall back to traditional operation when the user doesn't havethe necessary technology available. In fact, it's a legal requirement for many developers.

      The big change is that big names like Google are starting to use it for public web applications, so its getting a lot of mind-share. Browser support was good enough to make AJAX enhancements worthwhile years ago, its just that hardly anybody was capitalising on it.

      --
      Bogtha Bogtha Bogtha
    6. Re:Hype, Hype, Hype by AKAImBatman · · Score: 1

      It's perfectly reasonable to write web applications that use AJAX when the user has the necessary technology available, and fall back to traditional operation when the user doesn't havethe necessary technology available.

      No offsense, but we all hated maintaining two versions of code. Depending on your business, it's often perfectly reasonable to only target browsers that meet the W3C standards for JavaScript and AJAX. I know that my company hugely simplified some complex data entry forms by using AJAX technology. Instant feedback can be nice. :-)

      No, at least for me Netscape 4 was always what was holding things back. I can't even count how many times I had to have pages refresh just because Netscape couldn't add a stupid field, change some text, or use an IFrame to talk to the server.

    7. Re:Hype, Hype, Hype by dalmaer · · Score: 3, Interesting

      I agree that there is a lot of hype out there. As is often the case, the hype machine doesn't come from the people actually using it. We have been interviewing Ajax developers on our Audible Ajax podcast, and as always, the developers are not religious "Ajax everywhere, it is a silver bullet!" nuts. They are pragmatic, know when it makes sense, and when it doesn't. And, they also know the pain points. I for one hope the hype doesn't ruin things by setting the expectations as crazy as they are. Ajax is great in that it gives you reach, and is built on open standards. It is causing browsers to give us APIs that we have wanted for a long time, and can take the web to the next level, along with other technologies. There is a long way to go though. We need to learn when to use it, and need to focus on usability in general, and not using Ajax just because it is cool. We do a lot of Ajax consulting, and one of the biggest things we do is get people away from the question "so I want you to build an Ajax application". Cheers, Dion

    8. Re:Hype, Hype, Hype by xTantrum · · Score: 1
      I tried to get Google interested in the video games concept, but I'm afraid they ignored my communication. :-(

      or maybe you'll soon hear about google games. hope it doesn't happen friend but if it does, suxs to be you :(

      --
      $action = empty(PHP) ? backToC() : unset(PHP) ; "when the concrete cases are understood, the abstractions are readily
    9. Re:Hype, Hype, Hype by Anonymous Coward · · Score: 0
      according to Julie Hanna Farris, founder of Scalix, a Linux-based, e-mail systems vendor. Scalix is using AJAX in Scalix Web Access (SWA), a Web-delivered, e-mail application. AJAX enables advanced features like drag 'n drop, dropdown menus and faster performance capabilities, which are now making their way into Web applications, she said.

      Slashvertisement?

    10. Re:Hype, Hype, Hype by AKAImBatman · · Score: 1

      Precisely. Thank you for putting it so eloquently.

      It is causing browsers to give us APIs that we have wanted for a long time, and can take the web to the next level, along with other technologies.

      I'm curious, what's on the top of your list for new technologies that you wish were ubiquitous? I know the top 2 on my list are:

      1) Get Microsoft to properly support DOM Events. (Then I can stop patching their browser for them.)

      2) Make SVG a core part of web browsers. This is especially important to me because textual images can be modified in most browsers. To date that has only meant cutesy tricks with XPMs. (Such as Wolf5K) But with SVG, we can take things to a whole new level of interactive and multimedia applications! For example, it would be extremely cool to be able to show a graph or pie chart that changes as you enter data. (You can fake it today by updating the image from the server, but it just isn't as smooth.) Not to mention the ability to finally rotate images. I can't even count how many times I would have loved to have that ability. :-)

    11. Re:Hype, Hype, Hype by Bogtha · · Score: 1

      No, at least for me Netscape 4 was always what was holding things back. I can't even count how many times I had to have pages refresh just because Netscape couldn't add a stupid field, change some text, or use an IFrame to talk to the server.

      I've been there too. Just because a minority of users were still stuck using Netscape 4, it doesn't mean you had to punish all your users by forcing them to refresh the page. If the browser meets the requirements to do it dynamically, then add the event handlers, and if it doesn't, don't add them. You get AJAX enhancements for most of your users, and the ones that are using Netscape 4 fall back to the traditional way seamlessly. How does that hold you back?

      Maintaining two versions isn't really the issue. Like I said, lots of developers are legally required to make their websites/web applications work without Javascript. And in the case of you with Netscape 4 users, you had to maintain that older code anyway. It comes down to deciding whether or not the extra time spent on the AJAX code for the modern browsers is worth maintaining, and older browsers don't factor into that decision.

      --
      Bogtha Bogtha Bogtha
    12. Re:Hype, Hype, Hype by AKAImBatman · · Score: 1

      Well then, I guess I better beat them to it. Anyone out there have capital but need a good technology to start a business with? ;-)

      (And just in case you take me seriously, my email is right next to my nick at the top of this post.)

    13. Re:Hype, Hype, Hype by AKAImBatman · · Score: 1

      Maintaining two versions isn't really the issue. [...] You get AJAX enhancements for most of your users, and the ones that are using Netscape 4 fall back to the traditional way seamlessly. How does that hold you back?

      Simple. It's just too much work, and the interface is extremely clunky. A specific case that comes to mind is a webpage that allowed users to chose up to three dates from a calendar via checkboxes. Manangement wanted the dates sumarized at the bottom of the page, and didn't want to hear any lip about technology issues.

      In IE this was easy. Create a visible IFrame with space for up to three lines, submit the chosen answers to the server, and get back a textual representation of those dates. Simplicity itself! (Even if it was kind of primitive compared to what I can do now.)

      But then I had to support Netscape. Ok, so we'll not use the IFrame and refresh the page on every click, right? Well, now I have to add tons of code to track those dates, that IE will never use. Then the users complain that their scrollbar isn't at the same spot, so I have to detect the scroll location before submit, add it to the list of variables, then submit the page back to the server, get back a new page with extra Javascript to auto-scroll down to the right location.

      By the time I was done, I had two very different applications stuffed into the same codefile. It was annoying, and coders regularly broke one interface or the other depending on which browser they were developing in. (We had a good QA staff, though, so it pretty much never made it to production that way.) It was a nice attempt, but it was just too much pain and anguish for the pathetic return. (Summarizing a few dates.)

    14. Re:Hype, Hype, Hype by Zimm · · Score: 1

      Hype it is. Gmail is broken, just try using the forward and back button of your browser. It also keeps telling me I have new mail even though I just read the new mail. This is shoddy by any user's estimation.

    15. Re:Hype, Hype, Hype by Bogtha · · Score: 1

      The problem you had was starting with the enhanced version and attempting to retrofit the basic version on top of that. I've seen way too many web applications that do that. It always results in a big mess of spagetti, just as you describe. The way to approach problems like that is to start with the basic version and add the enhancements afterwards. It results in much simpler and more robust code, and you can maintain the older browser functionality pretty much indefinitely.

      This is a principle that was true when browsers were first adding frames and Javascript, it's a principle that's true today with the current AJAX popularity, and it's a principle that will be true tomorrow with whatever comes along next. When you build something, start with the foundations, not with the fluff. It's not older browsers that held you back, it's a broken methodology.

      --
      Bogtha Bogtha Bogtha
    16. Re:Hype, Hype, Hype by AKAImBatman · · Score: 1

      . The way to approach problems like that is to start with the basic version and add the enhancements afterwards. It results in much simpler and more robust code, and you can maintain the older browser functionality pretty much indefinitely.

      Which basically mean, kick the enhanced version out and just add a few tweaks to the non-enhanced version depending on the browser.

      Which is nice. But sometimes you absolutely MUST have more. If your application requires it, I say to hell with the unenhanced version. Go for the gold, and get the features done right the first time. Not all websites can do this, but not all websites need the functionality, either.

    17. Re:Hype, Hype, Hype by Bogtha · · Score: 1

      Which basically mean, kick the enhanced version out and just add a few tweaks to the non-enhanced version depending on the browser.

      No. Building your web application on a solid foundation does not entail removing features. Go Google "graceful degradation" and do some reading. You can build all kinds of fancy interfaces without sacrificing the foundation.

      If your application requires it, I say to hell with the unenhanced version.

      If your application requires it, then an unenhanced version would be impossible to build in the first place. But these types of application are a tiny minority. I suspect when you say "requires" you mean something other than "this applciation would fail to function if I didn't do it this way", which is what I understand "requires" to mean.

      --
      Bogtha Bogtha Bogtha
    18. Re:Hype, Hype, Hype by misleb · · Score: 1
      Am I missing something? I've always thought that was part of why people didn't do this before - amount of coding needed to implement a simple app is vastly more than with something like .NET or QT. Is that not true?

      That is true. By the time you write all of your CSS, HTML, Javascript, and Whateeveryouuseonthebackend, you could have done the same thing a real GUI programming environment 10 times over. Also, HTML simply lacks the UI elements that most other environments take for granted. Sliders, listboxes, treeviews, progress meters, canvas, useful textarea, etc. All those things are completely missing from HTML.

      -matthew

      --
      "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
    19. Re:Hype, Hype, Hype by LnxAddct · · Score: 1

      AJAX is hyped a bit, but it really does have some neat capabilities. Actually I've noticed better use of javascript in general recently. Its a very powerful language and only now is its true potential being realized. For some cool examples check out:

      This which is a live grid of data updated through AJAX.

      This which is just a cool javascript toolbar that also uses SVG icons if your browser is capable (Most people who see this think its flash at first).

      This or any of the examples linked to on page.

      Web Applications really are starting to take on a whole new generation of capablities and software. I personally think that is pretty neat, its like the perfect merger of fat and thin clients.
      Regards,
      Steve

    20. Re:Hype, Hype, Hype by ashitaka · · Score: 1

      You're missing a couple of things:

      1) No need to install your heavy app on every desktop that needs it with all the joys of rollout and maintenance.

      2) There is a rapidly increasing set of backend AJAX components that implement all the regular application controls. For example take a look at Blueshoes.

      --
      If you don't want to repeat the past, stop living in it.
    21. Re:Hype, Hype, Hype by misleb · · Score: 1
      1) No need to install your heavy app on every desktop that needs it with all the joys of rollout and maintenance.

      I'm not saying that a good web based application platform would not be a Good Thing(tm). I'm just saying that AJAX isn't it. AJAX give you one thing: the ability to talk to a server without refreshing the HTML. Great. But how exactly does this turn HTML into a proper application UI?

      2) There is a rapidly increasing set of backend AJAX components that implement all the regular application controls. For example take a look at Blueshoes.

      First of all, projects like Blueshoes have very little to do with AJAX. AJAX is JUST a method of communicating with a web server without refreshing the page. That's it. Second, technically it is a frontend, not a backend. Third, projects like Blueshoes are slow, ugly hacks. Every single one of them. What is need is something like XUL which works on all browsers.

      -matthew

      --
      "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
    22. Re:Hype, Hype, Hype by horza · · Score: 1

      Man, are they ever hyping this stuff. This story doesn't seem to actually cover anything new, it just hypes AJAX more!

      Then you need to get ahead of the game. Start supporting DOM Extended Syntax Transitive Operating System, or DOMESTOS.

      Phillip.

    23. Re:Hype, Hype, Hype by idrism · · Score: 1

      Yeah this is definitely old news (the guys at WebFX were doing this years ago). I don't know why this got posted.
      Plus, the author doesn't seem to know what exactly AJAX is:
      "AJAX enables advanced features like drag 'n drop, dropdown menus and faster performance capabilities, which are now making their way into Web applications, she said."

      Drag 'n drop and dropdown menus have absolutely nothing to do with AJAX. That's just plain old Javascript.

    24. Re:Hype, Hype, Hype by AKAImBatman · · Score: 1

      Go Google "graceful degradation" and do some reading. You can build all kinds of fancy interfaces without sacrificing the foundation.

      You mean like creating an online order form that has no submit button, automatically saves the values across forms, and works on browsers going all the way back to Netscape 3.0? Did that back in 1998. I think I know a thing or two about graceful degredation. The real problem is your next statements.

      If your application requires it, then an unenhanced version would be impossible to build in the first place.

      Yes, and no. You can build an interface to do the same task in both a static fashion or an AJAX fashion. The tools will still do the same thing, but their usefulness will be worlds apart. A perfect example of this is MapQuest vs. Google Maps. Interface-wise, Google Maps is far more useful. Yet there's no real way to degrade the Google Maps interface without having two versions. (The second being like MapQuest.) Google does this for GMail, but I feel kind of sorry for them. Maintenence must be a pain.

      But these types of application are a tiny minority.

      You severely underestimate the market. Partly because a lot of AJAX applications are not visible to the average user. i.e. They're hidden behind usernames and passwords. My company, for example, has a specific subset of clients. You couldn't get access to our site even if you wanted to. How many companies are banks, financial institutes, data analysis, ASP providers, etc. that all require you to become a customer to log in?

      Part of the reason for this is that such applications have real value. While your business model may not require charging for the use of the software, that software is somehow making your company money through its features. This is something that a lot of sites want to protect.

      Another point is that public sites tend to be mostly informational. e.g. It would be an overkill to make the US Patent Search feature-rich with AJAX. It's a simple search and retrieval app that wouldn't gain much at all from a fancy interface. As a result, it presents something to users that is easy to use, yet not technologically sophisticated.

    25. Re:Hype, Hype, Hype by khazad · · Score: 1

      It pisses me off when I hear fancy web effects being passed off as AJAX. It is true that AJAX methods enable more interaction and responsiveness for the user, but they have nothing to do with drag and drop, drop down menus and other javascript and DOM functionality. If you must have a buzzword to apply to these things, use Web 2.0 (which is annoying for different reasons) and leave AJAX alone.

    26. Re:Hype, Hype, Hype by karmatic · · Score: 1

      Another point is that public sites tend to be mostly informational. e.g. It would be an overkill to make the US Patent Search feature-rich with AJAX. It's a simple search and retrieval app that wouldn't gain much at all from a fancy interface. As a result, it presents something to users that is easy to use, yet not technologically sophisticated.
      Don't I wish? When I try to open images associated with patent submissions in IE, I get a blank image. When I try in Firefox, it says I need the Quicktime plugin. Quicktime, to view a static image!

    27. Re:Hype, Hype, Hype by AKAImBatman · · Score: 1

      Dude, they're just TIFFs. You need to repair your windows install if you can't view them in the Image/Fax Viewer. Regardless, the image format wouldn't be helped by an AJAX interface.

    28. Re:Hype, Hype, Hype by Bogtha · · Score: 1

      You mean like creating an online order form that has no submit button, automatically saves the values across forms, and works on browsers going all the way back to Netscape 3.0? Did that back in 1998. I think I know a thing or two about graceful degredation.

      No offense, but if that's meant to prove something, then you and I have very different ideas of what is impressive.

      You can build an interface to do the same task in both a static fashion or an AJAX fashion. The tools will still do the same thing, but their usefulness will be worlds apart. A perfect example of this is MapQuest vs. Google Maps. Interface-wise, Google Maps is far more useful. Yet there's no real way to degrade the Google Maps interface without having two versions. (The second being like MapQuest.)

      No. Not unless you are talking about "versions" of the interface. You don't have to have separate versions of the code. In fact, that's a stupid way of doing it because it's an all-or-nothing approach instead of progressive enhancement.

      Your argument doesn't work because you are confusing the idea that one interface can degrade to another (i.e. one codebase providing two interfaces) with the idea that you can write two bits of code that do the same thing in different ways (two codebases providing an interface each). The latter's stupid. I'm not arguing for that.

      Google does this for GMail, but I feel kind of sorry for them. Maintenence must be a pain.

      They brought it on themselves. They did the same as you; built the fluff first and then tried to fit the foundations underneath. Like you've pointed out, that way leads to madness, so they now have two separate codebases to maintain, not to mention glaring bugs in their AJAX interface when their assumptions don't hold true.

      You severely underestimate the market. Partly because a lot of AJAX applications are not visible to the average user.

      You don't think I know that? It's blindingly obvious to anybody who's been in the industry for longer than five minutes. I've probably worked on more private web applications than public ones. They don't differ in the most important respect - they are 99% inputting and manpulating data. Data that can be input and manipulated with normal HTML forms. It might be less usable than with an AJAX application, but as I'm not arguing against using AJAX, this doesn't rebut my argument in the slightest.

      The rest of your comment appears to have no bearing on what I am saying. Did you paste it accidentally or something?

      --
      Bogtha Bogtha Bogtha
    29. Re:Hype, Hype, Hype by aCapitalist · · Score: 1

      2) Make SVG a core part of web browsers.

      SVG is really the key to the intermediate future. It seems with SVG, a whole new world of widgets can be realized. Of course, Mozilla-based browsers still won't have complete support even with Firefox 1.5 coming out. Microsoft doesn't support it natively and its not really in their interests to with XAML coming out and just the fact that a richer web with an open standards would hurt them (in their eyes).

  10. Funny thing is... by man_of_mr_e · · Score: 5, Interesting

    Microsoft basically invented AJAX, yet they're the ones behind the curve.

    Microsoft invented the XmlHttpRequest functionality, AND they've been using AJAX (before that's what it was called) in Outlook Web Access (OWA) for years. Nobody else in the company seemed to have caught on to it though.

    1. Re:Funny thing is... by RingDev · · Score: 1

      Other then building a super simple implimentation of it in VS 2k5 and plug-ins for earlier versions of .Net -Rick

      --
      "Most people in the U.S. wouldn't know they live in a tyrannical state if it walked up and grabbed their junk." - MyFirs
    2. Re:Funny thing is... by LaughingCoder · · Score: 4, Funny

      I think that you are not allowed to say "Microsoft" and "invented" in the same sentence around these parts. The approved verbs are: copied, stole, lifted, ripped off, mangled, swiped, embraced-and-extended

      --
      The more you regulate a company, the worse its products become.
    3. Re:Funny thing is... by MindStalker · · Score: 1

      Yea but have you seen the licensing cost of OWA?? outragious.

    4. Re:Funny thing is... by ChrisGilliard · · Score: 4, Insightful

      Well, the truth is AJAX is not in Microsoft's best interest. The internet in general is bad for Microsoft. They were way into interactive TV and stuff. They really would prefer that they be the gateway to the web and that you pay $$$ to them to be able to get the content as well as selling their OS. AJAX makes windows less relevant because you can run apps on firefox on any platform. So, I can understand why they wouldn't use much of it. However, as always denying a good technology is a mistake. You can see this as a form of protectionism that backfired on them.

      --
      No Sigs!
    5. Re:Funny thing is... by caluml · · Score: 1

      Does OWA use AJAX? I've only ever noticed it using standard HTML and Javascript - web-pages, and pop-ups.

    6. Re:Funny thing is... by nick_davison · · Score: 3, Insightful

      Microsoft invented the XmlHttpRequest functionality

      Which comes as quite a surprise to everyone that's been doing the following since the mid 90s.

      Create a frame driven page with one main frame and one tiny frame.
      Whenever you want to perform an asynchronous action:
          Load a page in to the small frame.
          Have that page call an onload event that accesses a function in large frame.

      All "AJAX" (which is just a dressing up of what was already there) does is use the request object which is just a cleaner way of what people have been doing for about ten years anyway.

      There were also tricks for doing it with Java. But Microsoft had to supply an alternate mechanism because someone took Java out of the dominant web browser for a while. Can't think who might have done that though.

    7. Re:Funny thing is... by batkiwi · · Score: 1

      It's IE only, so if you were using FF it's standard "refesh and pray" approach. They've had it since exchange 2000, and the 2003 version is QUITE sophisticated.

    8. Re:Funny thing is... by killjoe · · Score: 1

      OWA looks and works like ass in firefox though. It's IE only for all practical purposes.

      Of course this makes sense as the primary purpose of exchange is to lock people into windows both on the server and client.

      --
      evil is as evil does
    9. Re:Funny thing is... by killjoe · · Score: 3, Informative

      "Microsoft invented the XmlHttpRequest functionality,"

      Microsoft invented XMLHttpRequest because before that people were using tiny little java applets to accomplish the same thing. In fact the original version of remote scripting in IE also used a java applet. When MS decided that java was the enemy they figured a way to do it without java.

      I for one see no need for AJAX, it's better to just write java applications or even applets (or thinlets).

      --
      evil is as evil does
    10. Re:Funny thing is... by man_of_mr_e · · Score: 1

      You've got to be kidding me. Think loading a giant mega memory footprint runtime library to do some simple updating on the client is "better"?

    11. Re:Funny thing is... by RingDev · · Score: 1

      I've made the invisible frame and multi-frame pages before to emulate what AJAX can do natively now. And not only did it suck designing them, but in the case of live time updates, you get the constant 'click' noise in the background every time the invisible frame reloads. A rather irritating draw back.

      But I agree with you, AJAX definately does the same thing in a much better and cleaner way.

      -Rick

      --
      "Most people in the U.S. wouldn't know they live in a tyrannical state if it walked up and grabbed their junk." - MyFirs
    12. Re:Funny thing is... by kuzb · · Score: 1

      Don't forget the MSDN site. It's been using xmlhttp request for years. Hell, I was using xmlhttprequest years before mozilla implemented it, and years before google decided to start using it. They're not at all behind the curve, they started the curve. All google did was make a few applications with it - I don't understand why so many people (excluding yourself) think this was some kind of google invention.

      Of course, we should probably not talk about this, as it pretty much destroys the typical slashdot argument that microsoft doesn't innovate anything.

      --
      BeauHD. Worst editor since kdawson.
    13. Re:Funny thing is... by killjoe · · Score: 1

      What makes you think a tiny little applet took up a giant mefa memory footprint. I bet IE uses more memory now then the applet did back then. Have you looked at how bloated IE is?

      --
      evil is as evil does
    14. Re:Funny thing is... by man_of_mr_e · · Score: 1

      Even the tiniest Java applet loads the runtime into memory, and that's about 30MB of memory footprint.

    15. Re:Funny thing is... by man_of_mr_e · · Score: 1

      Yes, under IE it uses AJAX, but it doesn't under Firefox. The mechanisms are slightly different, and MS hasn't bothered to support it under FF.

    16. Re:Funny thing is... by pmike_bauer · · Score: 1

      Think loading a giant mega memory footprint [Java] runtime library to do some simple updating on the client is "better"? Think loading a giant mega memory footprint runtime to interpret JavaScript. Its there, but is just loaded by default with most web browsers so you don't notice a startup lag. However, try viewing an AJAX-heavy site and check your browser's memory footprint!

      --
      I read /. for the (Score:-1, Conservative) comments.
    17. Re:Funny thing is... by MuMart · · Score: 1
      We've been able to write rich web apps in XUL for Mozilla for years, but it hasn't caught on because it didn't work today in IE.

      Microsoft really didn't want people making their OS irrelevant with rich web services, they had a long term plan which involved a proprietary system for internet applications.

      They certainly weren't pleased when people found they could do it today with open standards using AJAX.

    18. Re:Funny thing is... by Ice+Station+Zebra · · Score: 1

      Can we stop with the Microsoft invented AJAX. They didn't invent anything of the sort. Sure they used a IE only Active-X (can you say unsecure) control to do something similar, but that is not AJAX.

    19. Re:Funny thing is... by man_of_mr_e · · Score: 1

      You seem to be confused about what XUL is. It's simply an XML format for defining user interfaces. Not exactly "rich web apps".

    20. Re:Funny thing is... by man_of_mr_e · · Score: 1

      That would be the same ActiveX control Google and everyone else that wants to use AJAX on IE uses.

      AJAX is a technique, and that technique was used by Microsoft long before the name AJAX was coined.

    21. Re:Funny thing is... by EnronHaliburton2004 · · Score: 1

      AND they've been using AJAX (before that's what it was called) in Outlook Web Access (OWA) for years.

      Well, they've used AJAX but didn't use it well until recently.

      I'm staring at OWA on an Outlook 2000 server right now, and there is no button to delete individual messages. Works fine in the Outlook 2003 interface.

      That clearly shows that they are behind the curve, even internally.

    22. Re:Funny thing is... by man_of_mr_e · · Score: 1

      A JavaScript interpreter is quite tiny. Java is somthign totally different. AJAX sites may use more memory, but that's because they're cacheing a lot of stuff in most cases.

    23. Re:Funny thing is... by Chris+Burke · · Score: 4, Funny

      You can say "invented", you just have to leave in the quotes. ;)

      --

      The enemies of Democracy are
    24. Re:Funny thing is... by Thundersnatch · · Score: 1

      Umm... there's no such thing as an "Outlook 2000 server". If you're talking about Exchange 2000 server's version of OWA, you're talking about a 5+ year old app. A stupid UI design decision from that long ago doesn't have anything to do with how well Microsoft does AJAX.

      OWA 2000 actually improved quite a bit with the service packs for Exchagne 2000 Server. 2000 SP3 was pretty damn good. However, Outlook Web Access *2003* is an amazing imitation of the Outlook 2003 client interface in a browser. And SP2 for Exchange 2003 has even more enhancements.

      You can't compare a 5-year old pioneering AJAX app to Gmail; that's hardly fair. Comparing OWA 2003sp2 to Gmail is fair.

    25. Re:Funny thing is... by killjoe · · Score: 1

      Once again, compare that IE and all of it's components.

      --
      evil is as evil does
    26. Re:Funny thing is... by Dan_Bercell · · Score: 1
      IE 7 beta 37k without OWA 2003, just slashdot 44k With OWA + slashdot tab

      Even considering IE 7 is in beta 1, it takes little to no memeory compared to a normal site. Considering 516RAM isusually the default for new machines, its peanuts. Now a Java applet... well Java is slow even on fast machines, not bad once it gets going, but the load time is slow.

    27. Re:Funny thing is... by aztracker1 · · Score: 2, Informative

      I was doing it in frames long before as well, have also used java, and flash, in fact MS's remote scripting (introduced with ie4, & asp 3 iirc) uses a java applet for its' communications.. there are similar frameworks for PHP etc.

      I'm willing to give MS a big credit in this, however, since they did to XmlHttpRequest first, as well as their remote scripting, which makes easier tie ins on the server-side... their Atlas framework falls a little short of Ajax.Net's interfaces though.

      --
      Michael J. Ryan - tracker1.info
    28. Re:Funny thing is... by Anonymous Coward · · Score: 0

      no no no, add that to IE and all of it's components

    29. Re:Funny thing is... by man_of_mr_e · · Score: 1

      The part you keep missing is that you have the overhead of IE when using a java applet anyways, so the memory footprint of IE is irrelevant, you have it either way.

    30. Re:Funny thing is... by Sithgunner · · Score: 1

      > Microsoft basically invented AJAX

      oh... well I have been using the AJAX technique like from 3 to 4 years back before there was a AJAX word on the internet. And this sounds like MS invented the whole JavaScript. A JavaScript simply makes it AJAX, if you know how things work.

    31. Re:Funny thing is... by ClosedSource · · Score: 1

      "They really would prefer that they be the gateway to the web and that you pay $$$ to them to be able to get the content as well as selling their OS. AJAX makes windows less relevant because you can run apps on firefox on any platform."

      Sure, AJAX technology detects if you're charging for your web app and shuts down immediately if you are.

      Seriously, there's no relationship between the type of technology you use for your application and your ability to charge for it.

    32. Re:Funny thing is... by Anonymous Coward · · Score: 0

      Both of you are missing the point though:

      Applets are not integrated in the browser.

      There's no copy, cut and paste, it stands out as a grey rectangular area limited in both dimensions, the swing widgets make people edgy and it takes a long time to load the applet.

      Use the right tool for the right job, but I would think because of these issues, AJAX is now the preferred tool in most cases.

    33. Re:Funny thing is... by Bulmakau · · Score: 2, Informative

      You are forgetting that MS invented cross frame coding.
      There should be no denying, MS lead the development of HTML into DHTML into what is basically refered to AJAX today. It might be that W3C defined certain things, but the "violation" of those definitions by MS (which many times W3C adopted) is the reason AJAX exists today.
      Trace back the features you like today about AJAX and they all come down to MS features extending what was at the time the standard of web.

      --
      "From the moment I could talk, I was ordered to listen" - Cat Stevens
  11. Microsoft pursuing it??? by Anonymous Coward · · Score: 2, Informative

    Microsoft was using Ajax before anyone ever even heard of google. Outlook web interface anyone? Cmon, at least be semi-accurate.

    1. Re:Microsoft pursuing it??? by iluvcapra · · Score: 1
      Microsoft was using Ajax before anyone ever even heard of google. Outlook web interface anyone?

      Yes, with this particular technology, MS was 5 years ahead of its time -- where it stayed, firmly rooted, for the following seven years. This is mainly due to an institutional commitment to ActiveX, which does all of the useful things AJAX does, without causing certain marketing problems for Microsoft, namely, providing "rich user experience" to browsers other than IE.

      MS's real insight was their realization that people would want to use web pages to do applications, like they would on any desktop. Their strategy to exploit this, however, through ActiveX, was insecure and proprietary, and in the end this caused major lossage and for them to fall way behind.

      Contrast Sony's insistence, to the bitter end, that all its digital music players play ATRACS instead of MP3. Sony came around, too, but by then it was to late for them to set the tone for the market.

      --
      Don't blame me, I voted for Baltar.
  12. One thing is for certain by Anonymous Coward · · Score: 0

    Their interfaces will be really clean.

  13. There's something very familiar about all this by fiannaFailMan · · Score: 3, Interesting

    Sounds familiar, could have sworn I read something about this here the other day.

    Anyway. Let's not fill this page up with 'Dupe' complaints. Macromedia are probably gonna have to re-think things (in the new Adobe environment, of course) since they were convinced that Flash would be the vehicle of choice in developing what they call Rich Web Applications. They'll now have to sell it on the basis that you can get a hell of a lot of functionality out of very few lines of Flex code.

    It's gonna be interesting.

    --
    Drill baby drill - on Mars
    1. Re:There's something very familiar about all this by dasil003 · · Score: 1

      Macromedia are probably gonna have to re-think things (in the new Adobe environment, of course) since they were convinced that Flash would be the vehicle of choice in developing what they call Rich Web Applications. They'll now have to sell it on the basis that you can get a hell of a lot of functionality out of very few lines of Flex code.

      AJAX is not magic. All the same CSS/JavaScript/PNG cross-platform issues still exist. Good toolkits can abstract away a lot of the incompatibilities, but you still hit a wall awfully quick when you want to create innovative effects (and visual feedback is absolutely necessary with AJAX).

      Some insignificant portion of Flash users may switch to AJAX, but by an large the market for AJAX is traditional HTML/CSS developers. Flash will be fine.

    2. Re:There's something very familiar about all this by Qbertino · · Score: 1

      Then MM can be happy that it didn't do that a good job at promoting Flash as a RIA plattform. A bad Flash IDE and the large part of the customer base accustomed to building cool looking sites rather than huge functionality helped that.

      But even though, Flash is still more powerfull that Ajax. And faster too. If they keep up buiding a VM for Linux it will still be my plattform of choice building RIAs. Which I, btw, do for a living.

      --
      We suffer more in our imagination than in reality. - Seneca
    3. Re:There's something very familiar about all this by Anonymous Coward · · Score: 0

      Does flash not work on linux? (not a linux geek)

    4. Re:There's something very familiar about all this by Qbertino · · Score: 1

      There's an offical Flash Player 7 for linux. MM even has people inside testing the Flash IDE on PC Linux/Wine.

      --
      We suffer more in our imagination than in reality. - Seneca
    5. Re:There's something very familiar about all this by Anonymous Coward · · Score: 0
      There's a flash player for i386 linux only. AMD64, ppc, and other linux architectures are locked out.

      Macromedia's strategy of withholding flash players for linux platforms (or indeed any platform at all) is absolutely suicidal. Flash will fail, and deservedly so, for the same reason that Java failed -- the company just doesn't understand that client penetration is a life and death issue for any web development platform. They could have won if they had only made the client free.

      Now it's too late, because everybody has AJAX, since Firefox runs everywhere. For better or for worse, AJAX is the only way to do rich web apps and be assured that everybody can use it.

  14. Well, duh by Psionicist · · Score: 3, Insightful

    I don't mind dupes. I don't really think about spelling- or grammatical errors (queue jokes because I'm not careful here). But do we, readers of slashdot, really need to be lectured what AJAX is?

    Google uses it, and Microsoft is pursuing it, so there's a lot of hype and hubbub surrounding AJAX (Asynchronous JavaScript and XML). AJAX brings together some hot properties, Javascript, HTML/DHTML and HTML, according to Julie Hanna Farris, founder of Scalix, a Linux-based, e-mail systems vendor

    What's next, summary teaching us what programming languages or computer is?

    Bah, this is slightly annoying.

    1. Re:Well, duh by richdun · · Score: 1

      Eh, I just wish people had the sense to actually write a "summary" - this whole thing was copy and pasted directly from the story.

    2. Re:Well, duh by Anonymous Coward · · Score: 0
      Yeah... and this is the key:
      brings together some hot properties, Javascript, HTML/DHTML and HTML
      ... good to see that I can finally use javascript, HTML, and HTML together.
    3. Re:Well, duh by lobsterGun · · Score: 1

      Are you actually complaining that there is too much info in the Slashblurb?

    4. Re:Well, duh by ShecoDu · · Score: 1

      The thing is, that when a story is brought up and doesn't explain throughly the subject, we get lots of post saying "at least it would be nice if you introduced the subject for us who don't know"

      I, personally, knew what AJAX is but and I'm not offended by the verbosity of the information, it doesn't hurt anybody to actually provide people with information on the story text.

      Maybe it's just me.

      Cheers.

    5. Re:Well, duh by shmlco · · Score: 1

      Can't be done. Take the time to write a summary, and someone else will have posted it first...

      --
      Any sect, cult, or religion will legislate its creed into law if it acquires the political power to do so.
    6. Re:Well, duh by Stiletto · · Score: 1


      Well I for one never even heard of it until today, and I would bet that the slashdot readers who don't study obscure web technology all day do appreciate being "lectured" as to what AJAX is.

    7. Re:Well, duh by LegendLength · · Score: 1

      Here here.

      Who cares about a few dupes if non-regular readers like us see it for the first time?

      (I realise this very comment has been duped many times in the past, but can it be said enough?).

    8. Re:Well, duh by Ilgaz · · Score: 1

      Not just that, for person posting the story, World's number 1 site/portal/engine using it does not matter.

      I am speaking about Yahoo of course:

      http://ws1.inf.scd.yahoo.com/maps/ajax/

      Yea, Google...

  15. vs2005 by stoolpigeon · · Score: 1

    I noticed at the technet launch for vs2005 (the local one they did in my area on tuesday) that a lot of the new components in the web development toolbox use ajax. It was pretty slick I must admit. Drag and drop them on a form and use them.
     
    I've never used visual studio for web stuff, and I don't know if it can be used to do stuff like that without getting tied into asp or whatever, but it was impressive what they can do with it.

    --
    It's hard to believe that's how Micronians are made. Why don't we see it right now by having you both kiss one another?
  16. AAX??? by RingDev · · Score: 2, Insightful

    Asynchronous And XML?

    With out Javascript AJAX doesn't work.

    -Rick

    --
    "Most people in the U.S. wouldn't know they live in a tyrannical state if it walked up and grabbed their junk." - MyFirs
    1. Re:AAX??? by wealthychef · · Score: 3, Informative

      I think the grandparent was saying that it would be nice to replace the J in AJAX with something else. But I am not sure what they meant and should let them speak for themselves. :-)

      --
      Currently hooked on AMP
    2. Re:AAX??? by chris_mahan · · Score: 2, Interesting

      Whatever happened to embedding python in firefox. That would be bitching: APAX

      --

      "Piter, too, is dead."

    3. Re:AAX??? by xTantrum · · Score: 0, Troll
      you guys gotta excuse me, but this article really annoys me. Does it bother anyone else or is it just me?
      AJAX brings together some hot properties, Javascript, HTML/DHTML and HTML
      1) i didn't know javascript was hot!! WTF?

      2)HTML/DHTML and HTML? AGAIN WTF? lets try CSS/XHTML javascript and xml. quit repeating yourself.

      i really hate this article, it actually causes a visceral reaction in me. I don't even know why /. put a link to it, it sounds like marketing drivel from not tech oriented type touting the next "HOT" tech thing. I really have to wonder if she can even code, or does she just own the company or is some VC with her head up her ass who thinks js and java are the same.

      While AJAX has recently gone mainstream, it has been in use for several years, mostly on the esoteric fringe of Web development
      yeah you could have left out esoteric!! we get it! web development.
      I believe AJAX would have made its way into the broader conscience even without Google's help. It was just a matter of time
      Maybe, but how long has "AJAX" been around again and not many did *ish with it?
      Why is Microsoft so interested in AJAX
      Who cares and Why do you think Moron?
      The fact that AJAX is platform independent is a tremendous advantage for both customers and application developers
      Well technically....its still dependant on the browser which is still dependant on the OS which is....
      --
      $action = empty(PHP) ? backToC() : unset(PHP) ; "when the concrete cases are understood, the abstractions are readily
    4. Re:AAX??? by pthisis · · Score: 1

      Asynchronous And XML?

      With out Javascript AJAX doesn't work.


      Basically right unless you're willing to limit your client base to people with browsers that support other embedded languages (e.g Grail had embedded Python--but you couldn't do APAX with it as it lacked the AAX support).

      But you can do your development in other languages and then convert to Javascript. I've known a few people who wrote simulated client-side Python and used py2js successfully. Still requires Javascript, but you can do your dev work in another language--using py2js requires that you limit what functions you use to a supported list, but some of that is "a simple matter of implementation" if the approach ever became popular.

      --
      rage, rage against the dying of the light
    5. Re:AAX??? by Bogtha · · Score: 1

      Python can't run untrusted code. There used to be a way of doing so, but it was shown to be fundamentally insecure and abandoned. Nobody has found it necessary enough to replace it with something more secure. A web browser called Grail was written in Python years ago that could run Python scripts, but obviously that's insecure too as it relied on the above mentioned functionality.

      --
      Bogtha Bogtha Bogtha
    6. Re:AAX??? by pthisis · · Score: 2, Informative
      Whatever happened to embedding python in firefox. That would be bitching: APAX

      Existing APAX solutions use py2js so you write client code in python which is translated to javascript automagically.

      See, e.g., Crackajax (or use plain py2js if you don't want a big framework).

      what if I could write an Ajax application in Python? I set out to work, and came up with CrackAJAX, which uses the jsolait JavaScript library...It uses inspect.getsource(), mucks with the indentation a bit to make it parsable, and then parses it into ASTs. Then I plugged it into a modified version of a Python-to-JScript.NET compiler I wrote to do the translation.


      http://www.aminus.org/blogs/index.php/phunt/2005/1 0/06/subway_s_new_ajax_framework

      I think TurboGears has something similar.

      --
      rage, rage against the dying of the light
    7. Re:AAX??? by consolidatedbord · · Score: 1

      I think that's what he was getting at...just give all these catch phrases the AAX... chop chop :-P

      --
      while true ; do echo this is my sig; done
    8. Re:AAX??? by chris_mahan · · Score: 1

      Ah, thanks. I'll check these out...

      I read also that there is a python for mozilla firefox in the works (http://weblogs.mozillazine.org/roadmap/archives/0 08865.html, by Brendan Eich.

      Interestinger...

      --

      "Piter, too, is dead."

    9. Re:AAX??? by chris_mahan · · Score: 1
      --

      "Piter, too, is dead."

    10. Re:AAX??? by russellh · · Score: 1

      ALAS... would be my preference. Asynchronous Lisp and S-expressions.

      --
      must... stay... awake...
  17. So what you're saying is... by Wannabe+Code+Monkey · · Score: 2, Insightful

    AJAX brings together some hot properties, Javascript, HTML/DHTML and HTML

    So what you're trying to say is "AJAX brings together Javascript."

    --
    We always knew Comcast was corrupt, here's the proof: http://tech.slashdot.org/comments.pl?sid=1909890&cid=34545432
  18. Who approved that post? by squisher · · Score: 1, Offtopic

    Oh my! Read the headline: Goole and Microsoft.

    Read the rest. Oh well, some other, insignificat company that is advertising on slashdot! Great!

    Can someone PLEASE not approve these stories? Story about a nice AJAX webmail - great and interesting. Using completely out of context comparisons to M$ and Google - wrong advertisement.

    Just my 2 cent...

    1. Re:Who approved that post? by Anonymous Coward · · Score: 0

      Read the headline: Goole and Microsoft.

      Ghoul?

  19. Google is using it, MS is persuing? by batkiwi · · Score: 0, Redundant

    It didn't get any publicity at all, but most of the reason that IE has, and has had a while, the active X control to do XMLHTTP is because Outlook Web Access has used "ajax" since Exchange 2000.

    MS has been using AJAX for YEARS before the term was even invented!

    Now, they didn't use it in a cross platform way, but they did it using the same standard IE control that every other AJAX implementation uses and not some whacked out special outlook AX control.

    Admittedly in mozilla/firefox it was crap, using the old "refresh" methodology.

  20. What my dog hears by hillg3 · · Score: 5, Funny

    Anyone remember the old Gary Larson cartoon? Man talking to dog, bubble above dogs head captioned, "what dogs hear."

    "blah blah blah AJAX, blah blah blahblah AJAX!!1!. blahblahblah Google blah AJAX, blah Microsoft sux."

    1. Re:What my dog hears by hillg3 · · Score: 3, Informative

      Yes! I found it! What dogs hear

    2. Re:What my dog hears by Anonymous Coward · · Score: 0

      Don't forget its mate, "What we say to cats."

      What we say to cats:
      Woman: "That does it, Fluffy! You've clawed the furniture for the last time! I'll not tolerate this any longer!"

      What cats hear:
      Woman: ""

    3. Re:What my dog hears by Anonymous Coward · · Score: 0

      iirc, there's a second panel to that cartoon showing 'what cats hear' ... it's the same as the one with the dog, except that the cat doesn't even hear it's name, just "blah, blah, blah".

  21. Web 3.0 by trollable · · Score: 1, Interesting

    AJAX is so 2005, we should use new technologies.

    Advanced features like drag 'n drop, dropdown menus and faster performance capabilities

    A very nice offer. Really. Something fresh and new: DnD and Menus. 1984?

    a significant leap

    21 years back. Honestly I don't like it, AJAX is not good for the users, not good for the developpers. All of that could be replaced by Java or any similar tech. With much better results. Let's switch to the Web 3.0 directly.

    1. Re:Web 3.0 by trollable · · Score: 1

      Yes the mods don't care. But honestly, can anyone explain me how the "Advanced features like drag 'n drop, dropdown menus and faster performance capabilities" of AJAX are better than the ones of the first Macintosh? (except for the colors, of course). Webapps are twenty years late.

  22. Platform independent? by Anonymous Coward · · Score: 0

    For the non techs among us, is AJAX platform independent? Outlook web access doesn't work very well on, say, a Mac.

    1. Re:Platform independent? by dmeranda · · Score: 5, Interesting

      It's almost platform independent. The main problem which primarily afflicts Microsoft's use of AJAX, such as in Outlook Web, is the way that the "A" in AJAX is "started".

      Basically to initiate an HTTP asynchronous request, the Javascript code must create a special object which encapsulates the request and communication. Althought the interface and use of this object is for the most part standard, the way in which it is initially created is not.

      • Standard (everybody but IE): req = new XMLHttpRequest();
      • MS-IE (new): req = new ActiveXObject("Msxml2.XMLHTTP");
      • MS-IE (old): req = new ActiveXObject("Microsoft.XMLHTTP");

      So if you want a platform independent AJAX app, you pretty much need a bit of code which does things the Microsoft way when the standard ways don't work. Like:

      try {
      req = new XMLHttpRequest(); /* The pseudo-standard way */
      } catch(e) {
      try {
      req = new ActiveXObject("Msxml2.XMLHTTP");
      } catch (e) {
      try {
      req = new ActiveXObject("Microsoft.XMLHTTP");
      } catch (E) {
      req = false;
      } } }

      Now, Microsoft-written applications which use AJAX only try the MS ActiveX methods, and not the standard XMLHttpRequest() function. Thus, although most of the application could have worked in any browser, this simple omission by Microsoft insures it only works under IE (and locks you into their technology).

      It should also be noted that AJAX is a methodology and not a strictly defined API. For instance most AJAX apps rely heavily on the DOM API, which Microsoft mostly but not entirely adheres to. So there's lots of things that can cause platform independence problems if not coded carefully.

    2. Re:Platform independent? by Bogtha · · Score: 1

      Internet Explorer 7 will include a native XMLHttpRequest object so instantiating it will be the same as every other browser.

      --
      Bogtha Bogtha Bogtha
    3. Re:Platform independent? by JediJorgie · · Score: 2, Insightful

      >> Standard (everybody but IE): req = new XMLHttpRequest();

      Um, since Microsoft INVENTED the fist XMLHTTP object, they could not use the "standard" method; It did not exist.

      As they did it first, it was the de-facto standard that everyone else copied.

      Now others have copied it, blessed it as "The Standard"(TM) and now people bitching because MS has not gone back and changed the way they do it?

      That is pretty stupid.

      I guess it is just like Americans telling the Brits they should *speak English*.

      Jorgie

    4. Re:Platform independent? by b3rs3rk3r · · Score: 1

      BS!

      www.live.com works in Firefox and so does start.com, both MS applications...

      Yes Outlook Webaccess doens't, but to generelize and say MS applications don't is far from the truth.

    5. Re:Platform independent? by Anonymous Coward · · Score: 0

      Has anybody yet commented on the fact that AJAX uniquely enables an architectural and structural adherence to the type of w3c philosophy everyone said *should work* if it could ever be corraled into one unified body of code behaviors:

      database (any stripe) = data persistence and relationality queried into...

      xml = structured content easily transported and...

      xsl (optionally) = data transformation of xml into...

      xhtml = browser display framework which can be styled by...

      css = unified style and identification system supporting...

      javascript = client-side interaction using oo code which requests new content into a static framework via...

      xmlhttp = a way to make the browser react without whole page refreshes

      Interestingly, the key to early adoption was eliminating the page refreshing.

    6. Re:Platform independent? by Dj+Offset · · Score: 1

      You should probably also check if XMLHttpRequest is enabled/supported without using the flawed browser sniffing method.

      if (typeof XMLHttpRequest != 'undefined')

    7. Re:Platform independent? by Anonymous Coward · · Score: 0

      If the firefox devs wanted to be extra clever, why can't they get the scripting engine do a bit of simple preprocessing and swap the words "Microsoft.XMLHTTP" and "Msxml2.XMLHTTP" to "XMLHttpRequest". It wouldn't stop people writing javascript from having to be ridiculously redundant, of course; they still have to support all the other browsers. But sites like the ones made by Microsoft would start working just fine on Firefox. What a kick in the pants for bill.

      I hate web programming.

    8. Re:Platform independent? by Anonymous Coward · · Score: 0

      >I guess it is just like Americans telling the Brits they should *speak English*.

      Yeah, like this conversation I had just last week:

      <Queen herroyalhighness>: Listen here, mister anonymous coward, we Brits created the English language, and we will use it as we see fit. I will not be arsed to explain this one bloody more time. Understand?

      <Me>: I'm pretty sure the USA kicked England's arse about 200 years ago, and the terms of England's surrender gave us exclusive title to butcher the English language. If England wants it back, they can BRING IT ON!

      <Queen whatshername>: Oh no you di'n't.

      <Me>: Talk to the hand, because my face is not listening to your worthless banter.

      <Queen nobodycares>: U R t3h fu>0rz, n0w B14T(|-|35.

      <Me>: Oh yeah? Well... well... you're ugly, and your son dresses you funny!

      <Queen pwned>: OMFG U (4n 5uK rny |)ic|<.

      <Me>: Please speak English, or I shall be forced to taunt you again.

      <Queen miffed> has left the chat room.

    9. Re:Platform independent? by duncanmacvicar · · Score: 1
      So if you want a platform independent AJAX app, you pretty much need a bit of code which does things the Microsoft way when the standard ways don't work.


      No, you just need RubyOnRails and you get full AJAX support without having to deal with javascript or request object or anything. Only Ruby, for 99% of the cases.



      Additionally, it fits nice in its MVC architecture, and you keep all AJAX actions in a controller, where you can render back html to update a div, or return javascript code to be evaluated (which in 99% of the cases is simple code like Effect.disable(id) ). Elegant and clean.



    10. Re:Platform independent? by cyclomedia · · Score: 1

      old versions of IE (5.x) and some other browsers will get stuck on the try{}catch{} as it's only in new(er) versions of JS, you need to do something along these lines:

      if( window.ActiveXObject ) //IE
      {
              req = new ActiveXObject("Microsoft.XMLHTTP");
      }
      else
      if( window.XMLHttpRequest ) //FF,NS and OP
      {
              req = new XMLHttpRequest();
      }
      else
      {
              req = false;
      }

      --
      If you don't risk failure you don't risk success.
    11. Re:Platform independent? by Anonymous Coward · · Score: 0

      I was recently at an MSDN event on asp.net 2.0. They demoed built-in ajax support working with Firefox.

    12. Re:Platform independent? by smithmc · · Score: 1

        Now, Microsoft-written applications which use AJAX only try the MS ActiveX methods, and not the standard XMLHttpRequest() function. Thus, although most of the application could have worked in any browser, this simple omission by Microsoft insures it only works under IE (and locks you into their technology).

      That's funny; Outlook Web Access works just fine for me on Firefox.

      --
      Downmodding is the refuge of the weak. Don't downmod, make a better argument!
  23. Does anyone remember... by Xarius · · Score: 1

    ...when it was called DHTML?

    --
    C17H21NO4
    1. Re:Does anyone remember... by leather_helmet · · Score: 1

      heh - agreed, a colleague of mine made a similar comment when we were talking about it yesterday

    2. Re:Does anyone remember... by Anonymous Coward · · Score: 0

      Yeah - it was so broken across different browsers that it was unusable. Now the browsers have stabilized a bit, and it's been renamed so everyone will take another look.

  24. Looks like a press release to me. by Anonymous Coward · · Score: 0

    When did slashdot become a press release center?

    1. Re:Looks like a press release to me. by Anonymous Coward · · Score: 0

      On October 8th: Dave Barry's son's birthday.

  25. Wait, it's all a matter of time by rawwa.venoise · · Score: 2, Insightful

    Just wait until microsoft defines is "standard" AJAX interface.

    What i would like to see is the US goverment and other countries to force them to adopt clean, industry defined standards like the XML, HTML,CSS, AJAX and not an assimilated badly digest crappy way of doing things that breaks the WEB. They should be more humble since the WEB has given a good chance for all companies to develop and sell new products, and microsoft is no exception here, aldo they have wakeup lately to this.

    1. Re:Wait, it's all a matter of time by Anonymous Coward · · Score: 0

      you did realize that xmlhttprequest (ajax) is something that came from IE, and was adopted by mozilla, right?

    2. Re:Wait, it's all a matter of time by Bellum+Aeternus · · Score: 1

      Ooh, government standardization - that outta help out innovation. Just like M$ standardization does, right?

      --
      - I voted for Nintendo and against Bush
    3. Re:Wait, it's all a matter of time by rawwa.venoise · · Score: 1

      goverment enforced standardization yes. Or do you forget who where the first to adopt the metric system? i didn't mean a standard made by ... just enforced, in the sense of making people to adopt it.

  26. Mod parent up by richdun · · Score: 1

    This was even mentioned in a Slashdot story (yesterday I think) about a memo or something from a MS employee.

  27. Microsoft *has been* pursuing it by Anonymous Coward · · Score: 0

    Google uses it, and Microsoft is pursuing it

    Please! Microsoft has been using AJAX. Microsoft pioneered AJAX with Outlook Web Access. Microsoft is continuing developing with AJAX (Hotmail) and is working on a development platform (Atlas). The fact that then name AJAX was coined only recently doesn't change the fact that the technology has been around for years.

    1. Re:Microsoft *has been* pursuing it by Anonymous Coward · · Score: 0
      Yay for leaked Microsoft memos...

      OMFG Microsoft invented something, get the shills onto Slashdot to remind everyone how innovative we are. Making a request to a webserver from a scripting language designed for web browsers, WOW!!! It's so non-fucking-obvious that I wish we'd patented it.

  28. A better web page scripting language? by ThinkingInBinary · · Score: 5, Insightful

    I'm not sure if your comment was intended as a pointed jab at the buzzword status of AJAX or a serious suggestion that JavaScript is crappy, but I'm assuming the second.

    There are some things about JavaScript that are really annoying. First, the object orientation seems very odd. It is well-rooted in the language, but it is quite annoying not to have real object namespaces (yes, you can use closures, but they're annoying and kludgy), real constructors, and that sort of stuff. It's almost as bad as Perl's hash + namespace = object idea, and worse in some ways.

    What I'd like, I guess, is a language that is very similar to JavaScript, but has a real object-oriented system and better support for things like loading code dynamically. It's clear that JavaScript or some future variant of it is finally being used the right way--to make pages dynamic instead of just annoying--but right now it's very cumbersome. Loading Gmail, for example, is quite slow, because it (IIRC) downloads a huge chunk of code at the beginning. Perhaps someone (maybe me) could write a wrapper system in JavaScript that uses XmlHttpRequest to load JavaScript code on demand. But some sort of modular functionality ought to be officially added to JavaScript, before it's too late and we end up with the next "___ Wars"... this time it will be the fight between JavaScript frameworks.

    1. Re:A better web page scripting language? by The+Clockwork+Troll · · Score: 1
      What I'd like, I guess, is a language that is very similar to JavaScript, but has a real object-oriented system and better support for things like loading code dynamically.
      Perhaps they'll invent it someday. Like in 1991.
      --

      There are no karma whores, only moderation johns
    2. Re:A better web page scripting language? by Bogtha · · Score: 2, Interesting

      JavaScript is object-oriented. You only call it "odd" because it's not the usual C++/Java/whatever object orientation you are used to, it's prototype-based like Self, not class-based. That's no less of a "real" object-oriented language.

      Loading Gmail, for example, is quite slow, because it (IIRC) downloads a huge chunk of code at the beginning.

      Don't blame JavaScript for the shortcomings of GMail, it's simple to dynamically load JavaScript on demand. There's a lot of really screwed up stuff about the way Google use Javascript, don't use them as examples of best practice. If Google are incapable of doing something, that means Google are incapable, not that the language is incapable.

      --
      Bogtha Bogtha Bogtha
    3. Re:A better web page scripting language? by Anonymous Coward · · Score: 0

      The problem isn't with javascript as a language, the problem is with being expected to run arbritrary code over the web. As far as security goes, at least with javascript you can audit it and hack it up so that it runs locally.

      People really need to start turning javascript off!

    4. Re:A better web page scripting language? by aztracker1 · · Score: 2, Funny

      Gasp! how dare you question our mighty Google overlords... I for one am happy that our Google overloards are here to look out for us.

      Seriously, it's probable that most of the framework really needs to be in place *before* you can use the GMail interface anyways... and anything more in terms of a "loading" would probably be a longer wait... but may be worth it in the long run...

      --
      Michael J. Ryan - tracker1.info
    5. Re:A better web page scripting language? by kwoff · · Score: 1

      Posting to slashdot won't do anything for you.

      JavaScript 2.0
      JavaScript 2.0: Evolving a Language for Evolving Systems
    6. Re:A better web page scripting language? by barryfandango · · Score: 1

      Everybody wants JavaScript to grow into a robust object-oriented language, but we shouldn't forget that there are other paradigms out there. Although JS' syntax closely resembles Java it's actually a functional, list-based language with some prototype-based OO goodies thrown in. It more closely resembles Python or even LISP than Java.

      Part of the reason that JS is underappreciated is that we're all taught primarily to work and think in OO - I know I was. After geting into the world of functional programming by learning Python and Haskell, I am much more attuned to JS' charms. If you solve problems in JavaScript with a function-oriented approach, you may find the same thing.

      For more information: "JavaScript: The World's most Misunderstood Programming Language" is a good start.

      --
      In all matters of opinion, our adversaries are insane. -Oscar Wilde
    7. Re:A better web page scripting language? by Anonymous Coward · · Score: 0

      Here's the code I use to load script files on the fly if your interested:
      function jsImport(scriptName){
          var docHead = document.getElementsByTagName('HEAD')[0]
          if(docHead[scriptName] == 'loaded'){
              //Script has already been loaded
              return
          }
          var newScript = document.createElement("SCRIPT")
          newScript.src = scriptName + '.js'
          newScript.type = 'text/javascript'
          docHead.appendChild(newScript)
          docHead[scriptName] = 'loaded'
      }

  29. The Big Question by symbolic · · Score: 3, Insightful


    Who will be the first to try and patent something "using AJAX..."?

    1. Re:The Big Question by Ilgaz · · Score: 1

      Ajax is a cleaner brand in Europe as far as I know. I clean my monitor with it :)

      There is also a soccer team, very famous named "Ajax" from Holland.

      So, a very advanced female coder saying she is doing Ajax for work will be misunderstood.

  30. Incoming data by n0dalus · · Score: 5, Interesting

    I think that if AJAX picks up and starts to be used everywhere, we should standardize a system so that optionaly, a web browser can inform the server that it has the option to connect to it using an open port on that system. It would really help things if the browser didn't need to connect to the server every few minutes to check for new data. That way, instead of my browser connecting to Gmail's servers every 60 seconds to check for new mail, Gmail's servers can connect to my browser and tell me only when I have new email. This saves processing and bandwidth and increases usability.
    This turns AJAX into more of an actual internet protocol, and I think it would really improve things.

    1. Re:Incoming data by TeamSPAM · · Score: 2, Insightful

      I acknowledge that having all their users hitting gmail every 60 seconds may tax their system a bit more than they would like. I'm not sure I'm comfortable with having some sort of open port on my computer that accepts new mail messages. Isn't this the first step for a new kind of worms/viruses for our computers?

      --
      Brought to you by Team SPAM! where we believe: "Information in the noise!"
    2. Re:Incoming data by danielk1982 · · Score: 0

      That way, instead of my browser connecting to Gmail's servers every 60 seconds to check for new mail, Gmail's servers can connect to my browser and tell me only when I have new email.

      What if you close your browser, or visit a different page? What about spam, google is pretty trustworthy but can you say the same about www.sux0rzharozZLOl111.com? Can you opt out? Besides, this isn't really something Google can do its own, you need to build something like this into browsers. There's no standrad protocol defined, its not going to happen anytime soon.

    3. Re:Incoming data by pthisis · · Score: 2, Insightful

      so that optionaly, a web browser can inform the server that it has the option to connect to it using an open port on that system.

      That would be nice but is unlikely to be a widespread solution. Huge numbers of ISPs do not allow incoming connections, many NAT boxes are outgoing only (there are some hacks to allow incoming connections but they aren't commonly implemented for corporate desktops), etc. IPv6 would be helpful in a move toward this kind of scenario..

      But the best case right now is persistent connections via XMLHttpRequest and similar (as AJAX solutions use) where the browser initially connects but the connection is left open so that the server can notify the client of changes without the client polling intermittently. It requires that the server be able to deal with large numbers of open connections, which can be a bit of a downer.

      --
      rage, rage against the dying of the light
    4. Re:Incoming data by KiloByte · · Score: 5, Informative

      1. The good ancient way.

      Try this:
      #!/usr/bin/perl
      print "Content-type: text/plain\n\n";
      $|=1;
      (print '.'),sleep 1 while 1;

      2. With XMLHttpRequest:

      var req = new XMLHttpRequest();
      req.multipart=1; ....

      and the server-side part uses content-type: multipart/x-mixed-replace

      --
      The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
    5. Re:Incoming data by zmarty · · Score: 1

      Oh yeah ... that would give virus/worm writers a blast..

      --
      If you can't find a way, make one!
    6. Re:Incoming data by andy+jenkins · · Score: 1

      For the overhead of a JVM, this is one situation where an Applet could be good.
      Applet maintains a connection to a server, when new mail arrives the server sends a simple command to the Applet: new mail indicator.
      I've used an invisible Applet to refresh a page when the server state changes...if you could get the Applet to run a JavaScript function it could be quite powerful with AJAX.

    7. Re:Incoming data by RAMMS+EIN · · Score: 1

      And, while we're at it, we might as well dispense with the limitation that the exchange needs to be a full HTTP request-reply sequence. And then you basically have my proposal from years back, which was to add generic socket facilities to JavaScript.

      This would be pretty much trivial to implement, but would add great power to JavaScript, basically allowing any protocol to be implemented in pure JavaScript. For example, implementing an IRC client (or even server...) would be possible (even simple), complete with DCC and perhaps even file transfers.

      Needless to say, my proposal didn't make it and now we're stuck with the crap that's XmlHttpRequest, or Java.

      --
      Please correct me if I got my facts wrong.
    8. Re:Incoming data by Zone-MR · · Score: 1

      I agree that it would open up a lot of interesting posibilities. Unfortunatly there would be a lot of problems with security. For example, it would be trivial to write a web page which sends spam using visitor's own SMTP servers, or bypasses firewalls to get data which isn't normally accessible to the web page owner.

    9. Re:Incoming data by jrumney · · Score: 1

      Applets can call Javascript within the browser using netscape.javascript.JSObject (don't be fooled by the name, the class is included in MS JVM and Sun plugins as well). Javascript can call back in to the applet if you include the MAYSCRIPT attribute in the applet tag.

    10. Re:Incoming data by RAMMS+EIN · · Score: 1

      Yes, that's one of the responses I got that time, too. Yet, Java has generic socket capabilities, and nobody seems to have a problem with that. So, basically, you can write your app in Java and spend a long time coding the user interface and force your users to install a hefty plugin, or you can write it in JavaScript, get the user interface coded quickly and easily, not require a plugin, but have no other choice than a clunky protocol (HTTP is clunky for many applications).

      What Java does, by the way, is limit the socket capability to allow only connections back to the host that the applet came from, unless the applet is signed. XmlHttpRequest does this exactly the same way (at least on Gecko-based browsers, the others haven't caught on yet). I see no reason the same couldn't be done for generic sockets in JavaScript.

      So maybe I'm selectively blind, and I only see the advantages, but I can't really imagine that, because I tend to be pretty strict on security. On a similar note: if your services can be exploited just because someone has generic socket capabilities, that means something is wrong with your services, not with the socket capabilities.

      --
      Please correct me if I got my facts wrong.
    11. Re:Incoming data by bundaegi · · Score: 1
      Err... what about Internet Explorer? I mean x-mixed-replace is Netscape technology, right? From the summary on this page:
      The Netscape Web browser implements a proprietary technology known as Server Push to send a type of dynamic page updates to a client. This technology is not supported by Microsoft Internet Explorer. However, you can use Server Push with Microsoft Active Server Pages (ASP), or you can Client Pull as an optional method of displaying dynamic page updates in Internet Explorer.
      So... any idea how to do a server push in Internet Explorer?
      --
      bundaegi is good for you
    12. Re:Incoming data by temojen · · Score: 1

      Does it re-call onreadystatechange when new data comes in? Any links to how to use this?

    13. Re:Incoming data by KiloByte · · Score: 1

      you can use Server Push with Microsoft Active Server Pages (ASP)
      What the hell? ASP is server-side, so how the server can matter?

      Still, the page you quoted uses the first of the ways I suggested. Except for an annoyance of the browser permanently showing the page as still loaded, it will work just fine -- and you can push javascript calls instead of long pieces of html.

      I would add some kind of keepalives to make proxies and certain firewalls happy, though -- sending a mere space every ten minutes should suffice, as far as I can tell.

      --
      The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
    14. Re:Incoming data by KiloByte · · Score: 1

      In the page you mentioned... holy cow. Active wait on the server. Schweet :p

      --
      The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
    15. Re:Incoming data by KiloByte · · Score: 1

      I initially learned this from this example, and it uses onload instead. And indeed, the event gets called every time.

      --
      The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
  31. *rolls eyes* by 6Yankee · · Score: 1

    Java icon? WTF?

    1. Re:*rolls eyes* by z0I!) · · Score: 1

      Phew. For a second I thought I was the only one to notice. Javascript is NOT Java!!!

  32. Gates & Ozzie (MS CTO)... by leather_helmet · · Score: 1

    ..were rambling about this in an email which was leaked a few days ago

    MS basically invented AJAX (methinks) and have not yet take full advantage of the technology. It is rather funny how they are both lauding AJAX only after Google has fully utilized it and made it 'cool'...

  33. Slashvertisement by jone_stone · · Score: 1

    Another in a proud tradition of advertisements masqerading as Slashdot stories....

  34. From the article: by brett77 · · Score: 1

    "Google Gmail and Google Maps are good examples of a very simple use of AJAX."

    I would go out on a limb here and say that neither of these applications could be considered "simple" within any stretch of the word.

    Who is this lady anyway?

  35. Why? It's obvious! by Anonymous Coward · · Score: 0, Funny

    Why are Microsoft and Google cleaning up with AJAX?

    Because it's stonger than dirt.

  36. How is this any different from Java Applets? by thekel · · Score: 4, Insightful

    Browsers could spend alot less effort kludging together DHTML and javascript and ride for free off of the JVM. I understand the JVM is a separate download, but browsers can include it as part of their install. I don't see why were a celebrating the creation of such a kludge with random inconsistencies across browsers and platforms that are far worse then what you find when targeting the JVM.

    1. Re:How is this any different from Java Applets? by Anonymous Coward · · Score: 0

      You're right - and what "browsers" are those? Presumably IE and Firefox for the most part, which is why MS dropped built in support for Java from IE - to kill it. Now you can go ahead and write your Java applet, but less than 10% of users will have a browser that supports it.
       
      Thank you MS - now that they've beaten up Java a bit, they can copy it from top to bottom in the most blatant ripoff in software history, rename it .NET, and use their OS and browser monopoly to shove it down everyone's throat.

    2. Re:How is this any different from Java Applets? by pthisis · · Score: 1

      Browsers could spend alot less effort kludging together DHTML and javascript and ride for free off of the JVM. I understand the JVM is a separate download, but browsers can include it as part of their install

      As a user, I do have platforms that run firefox but for which there is no JVM port--getting JVM source is moderately painful and porting it is extremely painful. There are no good open-source JVMs out there, especially with full compatible browser implementations. So as a user, Java applications have more limited availability.

      As a developer, I can count on Javascript and other AJAX technologies being a lot more prevalent than a JVM (even if one is available, the user may not have it installed and may decide it's not worthwile to do so for my application) so I get more potential users if I develop that way.

      (Also as a developer I can use Python to develop the client-side code for either one and ignore legacy languages for the most part--though I need to be cognizant of their libraries. I could use Jython or py2js as appropriate)

      --
      rage, rage against the dying of the light
    3. Re:How is this any different from Java Applets? by irritating+environme · · Score: 1

      Oh god, I just yesterday wasted 10 minutes waiting for JVm 1.5 to initialize some applet. Still. in 2005.

      I'm a frickin professional java programmer, and desktop java still exasperates me.

      Plus you can have up to four JVMs running at once if you are running eclipse, a webserver, a browser that is running applets, and some enterprise software's AET configuration utility. Christ. Java on the server, like linux on the server, is a home run. Java on the desktop, like linux on the desktop, is like fusion power, always another ten years away.

      Free ride off the JVM. That's hilarious.

      Keep in mind I don't disagree that the stack of processing that goes on in a web browser is much better:
      - call webserver
      - webserver does god knows what to generate page/XML
      - return page+date to browser
      - parse page
      - interpret Javascript
      - render to OS's gui toolkit
      But it's still better, faster, easier than Java+AWT/Swing.

      --


      Hey, I'm just your average shit and piss factory.
    4. Re:How is this any different from Java Applets? by Bogtha · · Score: 1

      There are a lot of benefits of having a document that is manipulated by script, rather than a program you just run. For instance, good luck writing a Greasemonkey script to manipulate a Java applet. Or opening two different parts of an application in different tabs.

      This is more accurately described as the Principle of Least Power. Don't use a program where a document can do the job.

      --
      Bogtha Bogtha Bogtha
    5. Re:How is this any different from Java Applets? by LegendLength · · Score: 1

      I would go further and say that if Sun had taken a leaf out of Macromedia's book and improved the size and loading time of the JVM so that it was negligable, it would so so popular.

      As a developer I just don't understand why this is not a more common opinion of the 'failing' of Java to dominate (because it is such a great language/library besides that).

    6. Re:How is this any different from Java Applets? by fm6 · · Score: 1
      Java applets use the web for deployment, but beyond that they're not really web applications. They run in little boxes on your web browser, and otherwise have nothing to do with the web. They don't leverage HTTP and other web technologies particularly well.

      The classical AJAX app is Google Map. Imagine re-implementing it as a Java applet. Such an applet would take a lot of work to implement and would not leverage the web browser's ability to dynamically download graphic files. You'd spend a lot of time re-inventing stuff that your browser already does, and you'd end up with a large collection of Java classes that you'd have to deploy with a massive set of JAR files. Such a monster would be royal pain to deploy as an applet. It would make more sense to use a non-browser installer, such Java Web Start or with an old-fashioned installer generated in a download packge or on a CD. And indeed, that is how most Java appllications are distributed.

  37. Article had no substance. by Anonymous Coward · · Score: 0

    Sounds like SearchOpenSource.com was having a slow day and decide to do some random interview w/ Julie Hanna Farris, who appears to be simply excited for been interviewed.

  38. drag 'n drop by ackthpt · · Score: 1
    drag 'n drop

    I can't recall, in almost 10 years of using browsers, ever comming across a website which used 'Drag and Drop' Other than as a Toy, have there been any?

    --

    A feeling of having made the same mistake before: Deja Foobar
    1. Re:drag 'n drop by limabone · · Score: 1

      Yes, my former company used drag and drop to let users design office interiors (cubicles, racks, shelves, etc) before ordering online. It was very useful!

    2. Re:drag 'n drop by ackthpt · · Score: 1
      Yes, my former company used drag and drop to let users design office interiors (cubicles, racks, shelves, etc) before ordering online. It was very useful!

      Sounds like something we used to use from Herman Miller, but in that case it was an actual application. This would probably be better accomplished in something like Flash.

      --

      A feeling of having made the same mistake before: Deja Foobar
    3. Re:drag 'n drop by Speedbrusher · · Score: 1

      You're obviously forgetting all the phishing websites, using Drag&Drop exploits in MSIE ;)

    4. Re:drag 'n drop by Anonymous Coward · · Score: 0

      Sure, several:

      In Roundcube you can use it to put your email into folders.

      I've also seen web stores where you could drag items into your cart.

      Google Maps^H^H^H^HLocal uses dragging, though it's not drag-n-drop in the traditional sense.

      Google's personalized homepage uses drag-n-drop to build your homepage.

    5. Re:drag 'n drop by mp3zero · · Score: 1

      We use drag and drop all over the place in the web app I work on at work. With btw, has nothing whatsoever to do with AJAX and baffles me that they post claims AJAX makes this possible.

    6. Re:drag 'n drop by Anonymous Coward · · Score: 0

      The google custom homepage allows you to drag and drop items around it.

    7. Re:drag 'n drop by bizard · · Score: 1
      One of the most useful drag and drop implementations I have seen is the Apple .Mac slide show creation interface. Want to re-arrange the order the pictures are in, drag them (along with their titles and captions as a single object) to their new position and everything else adjusts. Pretty slick and around for two years.

      That being said, it in no way uses AJAX! Repeat after me, AJAX is not DHTML. Generally you use DHTML (javascript controlling the DOM) to show changes to your page once you have retrieved fresh XML data Asynchronously from your server using Javascript. Hence the AJAX name. If they saved your changes on the fly without you having to submit the page, then that would use AJAX.

    8. Re:drag 'n drop by /dev/trash · · Score: 1

      I can think of one.
      Netflix.

  39. Sad that AJAX is the only way by jmorris42 · · Score: 2, Interesting

    What is it with this EVERYTHING on the Internet is a webpage. The browser is the only client these days outside IM and P2P warez trading for 95% of users. And even though Javascript was never intended for 'real' programming it is the only language all browsers implement so it is what everyone is forced to use. It wasn't supposed to be this way and it doesn't have to BE this way.

    If nothing else, if we want to download clients and run them in the browser, having them talk to a backend server for the data, why not get a more appropriate language? Java would be perfect if Sun weren't a bunch of asshats, but just because it won't ever be truly Free or cross platform is no reason to reject other candidates. Tcl/Tk has had a fully sandboxed browser plugin for a decade and it is 100% Free Software. It runs on every known platform where IE or Mozilla runs and could be ported anywhere else needed. I'm sure it isn't the only one. Or do we continue shoehorning everything into html?

    --
    Democrat delenda est
    1. Re:Sad that AJAX is the only way by dasil003 · · Score: 1

      And even though Javascript was never intended for 'real' programming it is the only language all browsers implement so it is what everyone is forced to use.

      Two things. First off, a lot javascript's bad wrap comes from poor browser implementations. Support these days is quite good, and with a good toolkit, a lot of the remaining issues evaporate. Secondly, javascript is a view-centric programming language. No, it is not replacement for C or Java or Python, but is tremendously well-suited for web pages. It's fully object-oriented, has good regexp support, and hooks into almost anything you could possibly want in the browser window.

      GUI and CLI programmers constantly complain about how primitive web applications are, but they're judging them by the wrong standards. Web applications are cross-platform, content-centric, instantly distributed, and rapidly developed. Yes, web applications suffer from legacy decisions that are not perfectly suited to today's world. But look at it from the flipside. If you wanted to make a GUI application that distributed and linked content as well as the web you'd have to refactor all the work that went into HTTP, HTML, and CSS to begin with, maybe it would be better, but you'd certainly create a slew of new issues for slashdotters to lambast you with.

    2. Re:Sad that AJAX is the only way by ClosedSource · · Score: 1

      Let's face it though. Javascript is hack to make a web-based document viewing technology into an interactive one. It would be far better to upgrade HTTP and HTML to natively support the functionality that all interactive web-apps need then to download the same boiler-plate javascript code trillions of times forever and ever.

    3. Re:Sad that AJAX is the only way by dasil003 · · Score: 1

      Let's face it though. Javascript is hack to make a web-based document viewing technology into an interactive one. It would be far better to upgrade HTTP and HTML to natively support the functionality that all interactive web-apps need then to download the same boiler-plate javascript code trillions of times forever and ever.

      Better from a technological standpoint, yes, but logistically impossible. What we can hope for is incremental improvement. Better CSS and Javascript support, Xforms, SVG. Its nice to think that something could come and sweep away all the web's problems, replacing it with perfect new tech, but I'm afraid HTTP/HTML/CSS/Javascript is far too ingrained for that.

    4. Re:Sad that AJAX is the only way by ClosedSource · · Score: 1

      "Better from a technological standpoint, yes, but logistically impossible ...
      but I'm afraid HTTP/HTML/CSS/Javascript is far too ingrained for that. "

      On the other hand, consider how ingrained desktop applications were prior to the WWW. History is littered with the remains of technologies that are "too ingrained" to be replaced.

  40. AJAX: Almost Just like an Application! by MobyDisk · · Score: 5, Interesting

    AJAX is great. It means that web deployed applications are now almost as good as the regular applications we've been using for over 10 years! Just imagine: We can enhance Javascript to support more OO features and reflection and add JIT and it will become just like Java! Yaaay! Then we can add support for stronger typing and compiling to native code, and then it will be just like C! Yaay!

    It is funny to watch technology reinvent itself in fast-forward.

    I work for a company that did AJAX long before it was called AJAX. And now that it is the next hot thing they are moving away from it. Why? Because they already learned the lesson that everyone else is about to figure out: AJAX is a b*stard to code and maintain. It is easier to write a client-server application in a traditional language and web deploy it than to write this crazy JavaScript + XML + HTML + DHTML + CSS stuff.

    Java and .NET natively support this. For other languages there are plenty of frameworks that will add that capability.

    1. Re:AJAX: Almost Just like an Application! by dalmaer · · Score: 1, Informative

      Moby, Ajax is being hyped a lot at the moment, that is very true. It is also true that building a very rich Ajax application on top of XHR isn't easy. However, one of the great things coming out of the attention, is that browsers are listening and adding support for apis such as "offline storage" which we have been wanting forever. Also, a lot of quality toolkits are out there now (Dojo, Zimbra, Prototype, ...) and they are doing the hard work of abstracting out the evil browser differences. Unfortunely, a recent poll on ajaxian.com showed that most people are not using these frameworks. What you get with Ajax is reach and open standards. That is why I am excited about its potential, even though we are seeing some abuse, the hype curve is nuts. Cheers, Dion

    2. Re:AJAX: Almost Just like an Application! by LegendLength · · Score: 1

      Just imagine: We can enhance Javascript to support more OO features and reflection and add JIT and it will become just like Java!

      Isn't this what Flash did, and look at it's success.

      You could even make the same (wrong) argument for css or just about any other web technology that was made after Java.

    3. Re:AJAX: Almost Just like an Application! by SanityInAnarchy · · Score: 2, Insightful

      I bet you'd think it'd be a b*stard to code and maintain anything, if we didn't already have the right abstractions. Take the browser itself, for instance. It has to open a connection, talk HTTP, parse HTML, interpret Javascript, and draw a bitmap on the screen, as well as provide a mechanism for scrolling around a document too large to display, and following a link to another document.

      Yes, it's still a b*tch to code and maintain a browser, and Microsoft still hasn't done it -- not really -- but a lot of the above is abstracted to the point where building a new web browser would essentially be figuring out where every HTML element ends up on the screen, because everything else is in a library somewhere -- the sockets/HTTP, the HTML, the GUI code, and the JavaScript, not to mention the TCP/IP.

      In fact, we've got enough abstraction there that with just a bit more, we can write OS independent apps. Some, like Mozilla, actually implement their own cross-platform... platform (XUL), while others, like the Gimp, are written for essentially one platform (POSIX/gtk+), and rely on that platform being ported (mingw / Windows GTK+).

      I suspect that the way to make AJAX work is to "reinvent in fast-forward" so that we actually have a decent, ridiculously abstracted environment for developing web apps, where the interface portion and client-side logic could be turned into AJAX, XUL, a Java applet, or even a native Windows app (pick your Visual buzzword). That way, no one has an excuse NOT to develop a good Web app. No whining about how Javascript is too slow -- compile it to Java, or provide a Windows version. No whining about how it's too hard to combine so many different technologies (perl/xml/javascript/html/css) and debug them all, because you now just have a simple platform with bindings to your language of choice -- just as easy as developing a real, honest-to-gosh GUI app. And no whining about the challenges of debugging/testing on multiple platforms -- the compatibility layer is no longer your responsibility, and if your app breaks on Internet Explorer, so will everybody else's, and Microsoft will fix it.

      Yes, Microsoft will fix it. If a new version of Internet Explorer breaks Gmail, who has to deal with the angry customers? Well, Google, to some extent, but they get to refer everyone to Microsoft, and suggest that they avoid the issue by downloading Firefox. And the idea of every Gmail user switching to Firefox probably makes Microsoft shit their pants.

      --
      Don't thank God, thank a doctor!
    4. Re:AJAX: Almost Just like an Application! by Sithgunner · · Score: 0

      What's so crazy about 'JavaScript + XML + HTML + DHTML + CSS '?

      It's just standard web pages.
      And btw JavaScript + HTML -> DHTML.

      Though it's rather harder to make AJAX pages because client side needs updating with client script not from the returned page from server.

    5. Re:AJAX: Almost Just like an Application! by BuildMonkey · · Score: 1

      Except that you don't have to deploy it to user's desktops, there is never a client version incompatibility problem, doesn't require that users have Java 1.5.6.9, is faster than local Java applications both the load and run, and avoid MS lock in with .NET.

      Right now we're migrating AWAY from a Java client to a browser, using AJAX to give a thick client feel. The familiarity of the browser and responsiveness of AJAX make Marketing happy, not have to release a maintain a version of client software makes Engineering happy. It works with our existing Linux servers, which also puts a smile on Engineering's face. Oh, yeah, its faster to develop a web application and tart it up with AJAX than to deal with Java. That makes Management happy.

  41. Idiot by Anonymous Coward · · Score: 0

    I am tired of these idiots knowing nothing about asynchronous javascript or its history, and still pretending to write "insightful" articles. There is so much f'ing garbage these days.

  42. AJAX = Suckjax by autopr0n · · Score: 2, Insightful

    I just don't get the hype. What can you do with an AJAX interface that you can't do better with a native client application?

    Sure, browsers work on every platform, and AJAX apps don't need a download, that's great. But the same thing could be done with java if everyone had a JVM, or anything else.

    AJAXs means reinventing the GUI, only with a more difficult to use, hacked together API

    --
    autopr0n is like, down and stuff.
    1. Re:AJAX = Suckjax by psykocrime · · Score: 1

      Sure, browsers work on every platform, and AJAX apps don't need a download, that's great. But the same thing could be done with java if everyone had a JVM, or anything else.

      You could do the same stuff with XUL also, if everybody ran a Mozilla based browser, or if XUL became a standard and other vendors started supporting it...

      --
      // TODO: Insert Cool Sig
    2. Re:AJAX = Suckjax by Lugae · · Score: 2, Insightful

      Some would say that you can deploy better with AJAX. As soon as a change is made, all users see that change.

      This can be unwanted behavior in some instances, but it's nice to be able to hook people into a system without an install disk or download.

      AJAX is providing that, but a desktop application is a lot nicer to work with. Plug in some remoting and you have a NICE client. Unfortunately, remoting does not seem to be the way that computing is going.

      My two cents.

    3. Re:AJAX = Suckjax by Gossy · · Score: 1
      Sure, browsers work on every platform, and AJAX apps don't need a download, that's great. But the same thing could be done with java if everyone had a JVM, or anything else.
      They're the main benefits - and they're not as trivial as you make out. In addition, interfaces don't need to refresh the entire page when updating things, which makes for a much better user experience. As you point out, no download is required, your users don't need rights to install applications to do the things they want to.

      Everyone doesn't have JVMs, and there many more people used to colding CSS, HTML, JS for webistes than Java, which is hardly used on webistes these days. Suddenly all these designers are realising they can do so much more, without needing to learn much at all to get it working.

      The oft-cited Google Maps really is a fantastic demo of how this really does change the usability of websites. If I ever use other sites like Multimap I give up in seconds - the flexibility being able to drag maps around dynamically just makes online maps so much more useful than before.

      It seems to be getting fashionable now to knock AJAX, but really there's a lot of potential there. I expect that as it gets more widely adopted and more and more people find out the weaknesses of using JS so much, we'll see a gradual move to more powerful langauges used via our browser. That move will take time though, people aren't quite ready to think of web as a complete replacement for full-blown apps just yet (just look at how popular online Java based systems are).

    4. Re:AJAX = Suckjax by freeweed · · Score: 5, Insightful

      I keep seeing comments to the effect of "Java could do this!", and I'm going to pick on yours :)

      See, Java *could* do this. Sure. I'll give you that. In fact, most people until recently HAD a JVM in their browser. Java applets should have taken over the world.

      Why didn't they? Why is AJAX getting all the press Java should have gotten?

      Me, I simply look at 2 things: gmail, and Google Maps. They both work, work well, and work better than anything else. Apparently millions of people agree with me, just look at the buzz around them. Are we all brainwashed by Google? Could these have been done as a Java applet? Maybe.

      The fact is, they WEREN'T. Or if they were, no one used them. The way I see it, AJAX is the end all and be all (for now) because it WORKS. Maybe Java is just too slow (and here come a dozen posts claiming it's not). Maybe the wait time to load a JVM into memory, plus download an applet is too long. I don't know why Java hasn't been used, but it's not like no one's thought of it before.

      I get the hype, myself. It means that I can sit at virtually any computer, type a URL, and BAM! Instant application. I've yet to see another technology that works this well.

      --
      Endless arguments over trivial contradictions in books written by ignorant savages to explain thunder in the dark.
    5. Re:AJAX = Suckjax by autopr0n · · Score: 1

      They're the main benefits - and they're not as trivial as you make out. In addition, interfaces don't need to refresh the entire page when updating things, which makes for a much better user experience.

      I'm not saying they're trivial, but it just drives me nuts that people are running around saying that this is the greatest thing since sliced bread. From a programmer/UI perspective, it's a step backwards.

      The oft-cited Google Maps really is a fantastic demo of how this really does change the usability of websites.

      Yeah, but come on, you could write Google maps as an AMIGA or DOS app. There's absolutely nothing new (other then the server-side GIS stuff). Try adding hundreds or thousands of points to a Google Maps page. The page slows to a crawl, yet, this could be done so simply in a client application.

      Or try zooming all the way out, the map is extremely distorted due to the projection, but in a client program, you could map the map to a sphere, so it would look correct. This could be done in Java, or flash (I think flash has 3d stuff now)

      --
      autopr0n is like, down and stuff.
    6. Re:AJAX = Suckjax by petermgreen · · Score: 2, Insightful

      there are a couple of reasons i can think of why java wasn't a roaring succes.

      1: thanks to the sun vs ms issue developing browser applets that will run without 3rd party software required working in a horriblly old version of java and you couldn't even use the swing classes without downloading them at applet load time.

      2: also a lot of java applets wouldn't work if you were browsing from behind a http proxy as they used other protocols to talk back.

      3: you can't exactly call awt or swing nice to program for ;)

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    7. Re:AJAX = Suckjax by recharged95 · · Score: 1

      Shouldn't JSF be a better comparsion to AJAX?

    8. Re:AJAX = Suckjax by Trevahaha · · Score: 1

      I don't think anyone is saying "OMG AJAX 4 LIFE!" I think they're saying that this is a great way to make more responsive web apps. Why? I'm fine with visiting a website and using their system, but if every site that wanted to share data with me required me to download a software to install? I'd be very reluctant to install it.

      If you give the novice user a website to install a program, they get very nervous. They know that downloading programs is risky, they have to download it, go through an install process, worry that there is spyware, etc. A website is on demand, anywhere they go.

      Of course you could write Google Maps as a software app (um, can we say Google Earth?!) - it's freaking a web version of Google Earth which they acquired when they bought out Keyhole.

      The point is, how many people have downloaded Google Earth vs using Google Maps? Well, I don't know -- but I'm sure many less! You just have to choose your distribution appropriately.

    9. Re:AJAX = Suckjax by jumpfroggy · · Score: 3, Insightful

      I agree with you. From a pragmatic point of view, AJAX is something that just works. Java can do many of the same things, but I always hated when websites use java in their pages. The load time is really annoying. I always sit there wondering what's chewing up my CPU cycles, then I see some cheesy javascript counter at the bottom of the page.

      Google maps is such a great example. You go there, it works, and it's a great interface. It's not as nice as google earth, but I don't want a client/server map app. I don't want to go to a public computer, work computer, friend's computer (etc) and say "I wish I had that app on this computer". I just go to the web application, do what I need to, and close it.

      With the huge focus on web applications, I believe this is just the start of a trend. We should be seeing some web application-specific API's popping up among browsers. Remember when mozilla was an application platform, not just an internet browser? That was the justification (IIRC) for XUL instead of native UI's; mozilla was going to be an app platform that everyone could utilize. Instead of XUL and mozilla specific, now we have AJAX that's cross platform.

      Yes, we had IFRAMES. Yes, we had Java (and flash, for that matter). But instead of "this is no good, we could already do this", my thought is "Yeah! Almost all of the browsers AGREED on something that we actually need, and made things just a bit easier in a way that actually makes sense! A miracle!".

      Plus, this should kill off old browsers in a way that XHTML/css never could. For that alone, thank you.

    10. Re:AJAX = Suckjax by master_p · · Score: 1

      Applets are also "instant applications". They are a slow download only the first time they are downloaded. But for corporate or broadband networks, it's not a problem.

  43. Be Careful by dmh20002 · · Score: 2, Informative

    If you are typing on a web page that uses XMLHTTPRequest, then you should treat it as if you were running a live program remotely. I.E. the web page could forward information about everything you type, how you move your mouse, etc, without an explicit 'submit'. Example : it if were an email app, and you typed 'my boss is a dick and my SSN is 555-55-5555' in an edit control, and then thought better of it and erased what you typed and killed the browser window without submitting, the contents could already have been captured and forwarded to the host with XMLHTTPRequest and you never knew it. Looks like a good cross site scripting opportunity.

    Of course, you usually don't know if a page is using XMLHTTPRequest in a hidden frame unless you look really hard, so I guess the bottom line is never type anything on a web page you don't want the world to see. On the other hand, AFAIK (which doesn't mean much) this hasn't shown up in practice, so maybe it isn't that big a deal.

    1. Re:Be Careful by nmoog · · Score: 1

      Thats what I said in The Fonz uses AJAX to spy on you (ajax-fueled text adventure included) - but as everyone will point out to you in overly angry tones, that could have been done a zillion years ago with a hidden iframe. I think the difference now is that people are thinking about how to apply ajax, so you are gettin all sorts of new and cool applications. Which also means you are getting all sorts of new and evil applications :)

    2. Re:Be Careful by 0kComputer · · Score: 1

      Unless the data is getting transmitted over SSL. I imagine that browsers will address this at some point in the future.

      --
      Top 10 Reasons To Procrastinate
      10.
    3. Re:Be Careful by Anonymous Coward · · Score: 0

      If you're foolish enough to enable javascript in your UA, XMLHTTPRequest is the least of your security problems!

    4. Re:Be Careful by Anonymous Coward · · Score: 0

      They'd address it by fixing any cross-site vulnerabilities if they existed. SSL is completely irrelevant; the "sniffing" is done at the client.

    5. Re:Be Careful by 0kComputer · · Score: 1

      How is SSL completely irrelevant? "Sniffing" can be done anywhere someone gets a toehold in, be it at the client, server, router, proxy, whatever level. There's a lot of hops from a client to its destination, and each of these hops exposes its unencrypted packet.

      --
      Top 10 Reasons To Procrastinate
      10.
    6. Re:Be Careful by Bemmu · · Score: 1

      I want to confirm that what the parent is saying IS really possible. I've made a small test script which spied on people's mouse movements and it freaked some people out. With XMLHttpRequest it is difficult to notice that any communications are taking place. It's like the secret e-band transmitter in laforge's visor :)

    7. Re:Be Careful by jafuser · · Score: 1

      One way to decrease paranoia (if you're running Firefox) is to install No Script. You then just whitelist (temporarily or permanently) the sites you trust.

      --
      Please consider making an automatic monthly recurring donation to the EFF
  44. AJAX has accessibility problems. by BrianH · · Score: 1

    Many of us do web development in environments that REQUIRE accessibility and nonvisual functionality. Most major corporations and media sites, all government sites, and most non-profits require that their web properties be open and functional for all of the webs users. Unlike traditional websites...or even traditional applications...AJAX webapps are typically unusuable for anyone with any kind of disability that requires assistive software. Even worse, there appears to be very little interest among the major players in correcting these problems despite the fact that a rapidly increasing number of websites are making use of AJAX.

    AJAX has potential, but it isn't mature enough to be used on mass market websites that provide essential services or information that is intended for a global audience. Microsoft knows this, which is why their AJAX apps typically have a non-AJAX clone that can be used instead. Google, OTOH, simply slams the door on noncompatible users. Neither model is particularly efficient or acceptable for most companies.

    --

    There is nothing so pathetic as seeing a beautiful young theory roughed up by a tough gang of facts.
    1. Re:AJAX has accessibility problems. by Anonymous Coward · · Score: 0

      Google, OTOH, simply slams the door on noncompatible users. Let's be fair, gmail does have a fall back interface now for older browsers, and its not that bad.

    2. Re:AJAX has accessibility problems. by BrianH · · Score: 1

      I was unaware of that, as I haven't used GMail since its Beta days. Still, that solution isn't practical or efficient either. Rather than maintain one website, keeping an alternate "compatability" site functional merely doubles the work for the developers by requiring that all site changes be implemented twice. It's a throwback to the days when we had to maintain seperate Netscape and IE versions of our "bleeding edge" websites simply to make sure they worked in both browsers.

      --

      There is nothing so pathetic as seeing a beautiful young theory roughed up by a tough gang of facts.
    3. Re:AJAX has accessibility problems. by Anonymous Coward · · Score: 0
      Thank you for posting that, also:
      • Javascript's document.write cannot be used with validating XML parsers, instead you have to target an iFrame; bad for both accessibility and standards compliance.
      • Running remote code is always a potential security risk and nearly all web browser vulns are facilitated by the javascript engine.

      It's scary how many designers and web developers don't understand the basic ideas behind markup languages and open access to information. TBL has said that the web became a success because it was inclusive. AJAX folk are forging a future for the web that will exclude huge numbers of people, myself included.

    4. Re:AJAX has accessibility problems. by Bogtha · · Score: 1

      AJAX webapps are typically unusuable for anyone with any kind of disability that requires assistive software. [Emphasis added.]

      Yes, that's probably true of typical AJAX web applications. However this is true of most web technologies when they first gain popularity. It takes a while for most developers to catch on. Some never do, but a lot do.

      There's nothing inherently inaccessible about web applications that use AJAX. It's just how many developers are choosing to proceed. Hopefully the accessibility legislation in many countries will make these developers figure out how to construct their web applications appropriately.

      If you're one of the developers that is covered by such legislation, then by all means use AJAX. You'll be setting a good example for others by showing them how to do it right. The worst possible thing to do is avoid AJAX, because that reinforces the misconception that you need to choose between AJAX and accessibility - and many developers who would otherwise choose to construct an accessible AJAX web application will choose AJAX over accessibility if they don't realise that they don't have to choose.

      --
      Bogtha Bogtha Bogtha
    5. Re:AJAX has accessibility problems. by md27 · · Score: 1

      And if you're using AJAX to power senate.gov or some other CMS powered site you're stupid. AJAX = Web Application Technology, so if your screen reader can read what is on a local APPLICATION then it should be able to read an AJAX app. And if it can't, wait 6 months and someone will have created one that can, just like when the HTML became the in thing there were no screen readers for that either.

  45. Cleaning up with Ajax by 88NoSoup4U88 · · Score: 1

    Wasn't Ajax meant for cleaning up anyways ?

  46. Thing is... i don't care by Colin+Smith · · Score: 2, Funny

    As a web user I don't give a shit what the application is made of as long as it works and doesn't open me up to all the security nightmares of the day.

    Do I care that I can get a full desktop application on the web? I don't because I already have one and free too. Video games? Nope, got'em and they're better too.

    Do something I don't have. If it can get me laid all the better.

    --
    Deleted
    1. Re:Thing is... i don't care by AKAImBatman · · Score: 2, Insightful

      Video games? Nope, got'em and they're better too.

      Actually, there's a huge market of "casual gamers" (a new term used to describe people who like to play web games and the like) that companies are having the hardest time reaching. One of the major obstacles in their way is the fact that these gamers are uninterested in installing Flash, Java, or any other plugin. If they don't get instant gratification, many of them simply leave. This means that all those super-APIs that companies like WildTangent and Unity were producing were completely off track.

      AJAX (being 100% browser code) can change that, and give casual players an instant experience. Google could have created a Google Games to compete with Yahoo! Games, but they didn't seem interested.

    2. Re:Thing is... i don't care by __david__ · · Score: 1
      AJAX (being 100% browser code) can change that, and give casual players an instant experience.
      Yeah, like this. Casual games, 100% javascript, no flash.

      -David
    3. Re:Thing is... i don't care by TedTschopp · · Score: 1

      AJAX for games is a bad idea, makes cheating too easy.

      --
      Fantasy remains a human right; we make in our measure and in our derivative mode... -- JRR Tolkien
    4. Re:Thing is... i don't care by AKAImBatman · · Score: 1

      Good example. This one is better. My demos are better yet. ;-)

    5. Re:Thing is... i don't care by Anonymous Coward · · Score: 0

      What about this: www.toeat.com.

      You can't do this without AJAX, and this is purely an "interface enhancement" but it's more than that in terms of what it allows people to do. Getting rid of pagination and drill down navigation is a huge plus, especially when you find a working system to persist (like RESTful URIs for this, such as http://www.toeat.com/US/NY/New York. These interfaces would have only been possible as a desktop application before remote scripting was popularized and webservices were opened to 3rd party developers. Why does this have an advantage over a desktop application? Release Early and Release Often is the main one. The second is that people can then integrate some of the services from a bunch of different applications into one portal (like www.netvibes.com)

    6. Re:Thing is... i don't care by AKAImBatman · · Score: 1

      AJAX for games is a bad idea, makes cheating too easy.

      1) It depends on the game. Not all games are fully networked. For example, Space Invaders is just for fun.

      2) For non-action games, it is possible to write a server that can prevent cheating. i.e. If the user can only perform specific actions anyway, there's nothing they can do to change that. Take battleship for example. You can't get any more data than the server gives you, and you can only fire when the server lets you. No real problems. :-)

    7. Re:Thing is... i don't care by temojen · · Score: 1
      If it can get me laid all the better.

      Ahh.. AJAX based dating site... I see a trip to the Venture Capitalists in my future.

    8. Re:Thing is... i don't care by Anonymous Coward · · Score: 0

      This is nothing compared to DHTML Lemmings...

    9. Re:Thing is... i don't care by AKAImBatman · · Score: 1

      Shhh! Now you're giving away the inspiration for my library. ;-)

    10. Re:Thing is... i don't care by Anonymous Coward · · Score: 0

      I'm not sure if you realize but flash has ~98% market penetration. I am fairly certain that you are wrong considering I have the data in front of me. Even the java plugin has a very large penetration.

  47. Web Apps are still a ways from 'usable'. by frostfreek · · Score: 1
    A significant advancement ... in Web Applications.

    Thank God, because most web apps are atrocious.
    • slow
    • unreliable
    • Can't or don't take advantage of UI elements available on the desktop
    • Did I mention, slow Slow SLOW!

    Google maps shows that an interface can be fast.
    We are still missing 'reliable', and 'more UI elements'.

    On an aside, XUL brings more UI elements to the (moz) browser. BUT, have you tried to program the treeview? Crap, it takes me back to the horrid GTK1.0 treeview which was implemented on a listview. I pretty much had to give up on XUL for my current project.
  48. To summarize (copy & paste that is) by Fhqwhgadss · · Score: 1
    A computer is:

    ... a device or machine for processing information from data according to a program -- a compiled list of instruction.

    --
    How does a 7-person democracy cut a pie? Into 4 pieces.
  49. Here's the best one by Anonymous Coward · · Score: 0

    http://www.yafla.com/dforbes/categories/softwareDe velopment/2005/10/21.html

    This term (AJAX) is really starting to piss me off. Oh, but look, some random shitty web app vendor gets to pimp their product and imagine that it's doing something novel.

    1. Re:Here's the best one by tomhudson · · Score: 1

      What's worse is they either are lying intentionally, or don't know what they're talking about:

      Farris: AJAX enables advanced features like drag 'n drop, dropdown menus
      ...
      Before AJAX, Web apps would have to work around the lack of something like drag 'n drop w

      1. Nobody's ever needed AJAX to do drop-down menus.
      2. Drag-n-drop is part of the W3C DOM level 2 spec - 5 years old this month. Again, you don't have to use AJAX to do drag-n-drop. Just look around for an old javascript solitaire game. No AJAX.

      So, when can we have an "Ask Slashdot - How do I get slashdot to pimp MY business?" Because that's all this article is.

  50. Why writes this crap? by dex.pdx · · Score: 1

    Ooh it's AJAX, OMG it's going to change the world!!! Is it just me or did this post feel like an advertisement for a bunch of organizations that like to sell simple things packaged in a fancy wrapper?

  51. From the department of redundancy department: by ThaFooz · · Score: 1

    AJAX brings together some hot properties, Javascript, HTML/DHTML and HTML, according to Julie Hanna Farris

    Translation: Asynchronous Javascript and (x)(ht)ml bring together some hot properties: Javascript, HTML and HTML with Javascript, and HTML, according to Julie Hanna Farris.

  52. AJAX why google will win, MS fail by Anonymous Coward · · Score: 1, Interesting

    Remember when Java came out? Well the Wordperfect suite was rewritten in Java to be cross-platform blah blah blah. So much for Wordperfect.

    Considering the huge rise in personal storage space and computing power in smaller and smaller packages, re-writing things like office suites so they run on the web (instead of in your own hand) is a retarded waste of time. The real benefit of AJAX will be some intelligent use of it for some new, exciting purpose that does not make sense on one's own laptop, pocketpc, etc. One of those would be to access databases too huge for local storage (hm, google anyone? archived mailing lists?) or things that change rapidly and are large (weather maps?) or things that need to be accessed rapidly from different locations by multiple people at different times using powerful equipment... you get the idea.

    as for MS Office and Outlook... HA! Suites will be a commodity that come on USB keys as a value-add the way photo editing software comes with cameras and scanners and firewire cards, etc.

  53. AJAX != DHTML by jlavarj · · Score: 1

    I'm amazed that even this "expert" in the article seems to not understand the difference between DHTML and AJAX. And I also find it funny that XMLHttpRequest is a MicroSoft developed technology and yet people like this "expert" feel the need to point out that M$ isn't interested in falling in line with the AJAX standard......

  54. Re:Where? ajaxian.com by dalmaer · · Score: 4, Informative

    Hi, My name is Dion Almaer, and I run a site called ajaxian.com which focuses on news, resources, and all things Ajax. We also have a podcast called Audible Ajax. Let us know if there is anything that you would like to see covered, and if there is anything cool in the Ajax world that we have missed. Cheers, Dion

  55. Microsoft & AJAX by RoadDogTy · · Score: 1

    What typically sets Microsoft apart from other AJAX application providers is that they do not appear to be interested in the cross-browser capabilities of AJAX applications. One can speculate that Microsoft has ample motivation to use Windows and Internet Explorer-specific features that create a dependency between their AJAX apps, IE [Internet Explorer] and the Windows platform/ecosystem. This has been the case historically.

    It really isn't true at all that Microsoft isn't interested in browser compatability when it comes to AJAX. The team that worked on Start.com has spent a lot of time on browser compatability, and ultimately Live.com and other Microsoft sites will support other browsers as well. It is true that in Microsoft's dream world they would like people to only use IE, but in reality that isn't the case and they aren't turning a blind eye to it.

    I think the reason that Microsoft has been so slow to implement AJAX for some of their web based offerings is that they envision a better method for the UI of web based apps that is more consistent with the way desktop apps are written. Ideally, you don't want to write an app with a desktop interface, then have to port it to the web, ensure compatability with various browsers, etc. Anyone who has tried to write AJAX code realizes that its something of a hack, and ultimately I think it will be replaced by another technology (perhaps Windows Presentation Foundation if Microsoft has its way).

  56. non-Wintel .NET (was Re:What is ?) by Anonymous Coward · · Score: 0

    IIRC, in addition to the previously-mentioned Mono project, Microsoft released a BSD version of the .NET runtime (the CLR) with .NET v1.0

  57. Clean Machine? by Doc+Ruby · · Score: 1

    What does the article mean by "cleaning up"? Regarding MS and Google, I'd expect it to mean "making a lot of money", but that's not supported in the article. In fact, recent news shows MS thinks it's missing out on business by not doing enough AJAX - hardly evidence they're making a lot of money off of it.

    Maybe the writer means "tidying up". Like hiding software problems on a backend that is maintained without the users noticing upgrades or details of failures. Maybe just putting a thin-client cross-platform mask on giant software complexity "cleans it up". But that's not referred to in the article, either.

    --

    --
    make install -not war

  58. AJAJSON by Fahrvergnuugen · · Score: 1

    I prefer AJASON - that is, replace XML with JavaScript Object Notation or, serialized javasacript objects. It parses much faster and easier than XML.

    I have a JSON class for PHP which lets me serialze any PHP object into JSON. I can send the JSON to the client, eval() it with javascript and viola, my PHP object is now a JavaScript object.

    The only problem with it is that there isn't an object serializer built into JavaScript (that I'm aware), so sending data back to the PHP script isn't as easy. I haven't been able to find any classes that do it either...

    --
    Kiteboarding Gear Mention slashdot and get 10% off!
    1. Re:AJAJSON by Anonymous Coward · · Score: 0

      JSON is a much easier alternative than XML for communicating between server and client.

  59. List of websites using Ajax by Sundroid · · Score: 4, Informative

    Here is a fairly long list of websites that use AJAX -- http://en.wikipedia.org/wiki/List_of_websites_usin g_Ajax

    1. Re:List of websites using Ajax by Anonymous Coward · · Score: 0
    2. Re:List of websites using Ajax by BishonenAngstMagnet · · Score: 2, Insightful

      Please note that it is also a candidate for deletion.

    3. Re:List of websites using Ajax by novus+ordo · · Score: 1

      damn you and webboggle! damn you all!

      --
      "You're everywhere. You're omnivorous."
  60. Why Java? by kuzb · · Score: 3, Insightful

    Why is this article marked under the 'Java' category by slashdot? That's amazingly silly. xmlhttprequest has *nothing* to do with java.

    --
    BeauHD. Worst editor since kdawson.
  61. Netscape, LiveScript and JavaScript (sic) by marianne1017 · · Score: 2, Interesting
    Netscape has amazingly bequeathed us a lot of things, whether they're good or not - LiveScript aka JavaScript being one.

    JavaSript is not related in any way to Java. It was a cold day in November 1995 when Bill Joy, in contract negotiations between Sun and Netscape, told them "sure, go ahead and use the name JavaScript."

    Sort of funny when you think about the current protection of the Java trademark, or whatever it is.

    p.s. yes I was there

  62. What the hell is this ho talkin about? by 0kComputer · · Score: 1

    Before AJAX, Web apps would have to work around the lack of something like drag 'n drop with check boxes and multiple clicks, resulting in multiple steps that quickly become laborious and time-consuming for users.

    I remember using dhtml menus in 1999, i think she's got Ajax confused with onHover...

    --
    Top 10 Reasons To Procrastinate
    10.
  63. no clue to even what it means by Anonymous Coward · · Score: 0

    What drag'n drop and dropdown menus have to do with AJAX? Or do we call any JavaScript AJAX these days to be buzzword complaint?

  64. Subscription-based software by C0deM0nkey · · Score: 1
    That way, instead of my browser connecting to Gmail's servers every 60 seconds to check for new mail, Gmail's servers can connect to my browser and tell me only when I have new email.

    What you want to learn, then, is RPC or CORBA or any of its variants. You may already realize this, but you've simply described a typical client-server application.

    I think it would really improve things.

    Maybe. Maybe not. Do you like the idea of subscription-based software? That's where AJAX inevitably leads.

    What AJAX provides us with is rich web applications - applications *approaching* the responsiveness of thick-client apps - without the need to install them, which is good. Don't fool yourself, though: the geeks love AJAX because it is shiny and new; the suits love AJAX because it enables them to move closer to a goal they've slobbered over for years: subscription-based software. AJAX is demonstrating that you can build feature-rich, responsive web applications on the web that someone can *easily* prevent you from using if you do not pony up your monthly fees on demand.

    1. Re:Subscription-based software by LordKazan · · Score: 1

      The problem is if they adopt that business model and stop using their old one someone else will come along and just fill the niche.

      or OSS will fill the niche.

      --
      If you cannot keep politics out of your moderation remove yourself from the Mod Lottery.. NOW!
  65. Accessibility by leighklotz · · Score: 4, Informative
    AJAX, being a random collection of JavaScript hacks, doesn't offer any accessibility.

    So you can't use it in software that might be sold to, for example US Government customers -- no national laboratories, no NASA, etc.

    UNLESS -- you write your own accessibility aids and write your own UI framework that compiles into both an AJAX version and a web accessible version.
    That's a tall order. However, there is help.

    You can write your web pages in HTML with XForms and let XForms handle the dynamic page aspects, and then offer up the HTML+XForms as the accessible version. (See the DHTML Accessibility Roadmap.)

    Everything that the AJAX cloud of applications does with the XMLHTTP object and updating the DOM on the fly to display choices can be done with XForms.

    Then, you can use one of these mechanisms to convert the server-side XHTML+XForms file into AJAX:
    • FormFaces A pure AJAX library that runs in today's browsers. It's stunning to see how simply this works.
    • Chiba A server-side engine in Java that integrates with TomCat or other Apache web server technologies to produce HTML that works in today's browsers. Plus, the plain-old-HTML output of Chiba is accessible right now, in addition to the XHTML+XForms file itself. (Caveat: Full AJAX implementation is in development, according to the mailing list.)
    • Orbeon Ops, like Chiba, Orbeon converts to HTML for today's browsers in its Java back end, but rather than integrating into your TomCat or Coccoon framework, it comes with its own framework that helps you separate presentation from content and write your applications.


    If you want to serve up the XHTML+XForms directly, and not rely on any AJAX technologies, try these:
    • Mozilla XForms for Mozilla and FireFox, an XPI that's available for recent betas and nightlies, this one-click install adds native XForms support to these browsers. Still in Beta, but with plenty of developers, it should be a full implementation.
    • FormsPlayer for Windows provides full support for XForms in Internet Explorer via a plug-in. Plug-ins are not everyone's cup of tea, but then neither is Mozilla ;-). You can get the AJAX benefits of dynamic page updating and yet still retain accessibility with any of the server-side or JavaScript engines above, but if your target deployment is Internet Explorer, you can gain tremendous access to advanced features inside IE with this plug-in. (Plus it has some neat Konfabulator-like tools such as SideWinder.)


    So, try them out, and see how much easier it is to write accessible code and properly separate your data and presentation layers when you use XHTML, CSS, and XForms. Then, choose a middleware solution or a browser-based solution and go forward knowing that you can meet architectural requirements without getting bogged down in JavaScript toolkits.
    1. Re:Accessibility by dasil003 · · Score: 1

      UNLESS -- you write your own accessibility aids and write your own UI framework that compiles into both an AJAX version and a web accessible version.

      It doesn't need to be that complicated. You can write standard forms that are simply enhanced with AJAX if it is available. With proper server side architecture this requires almost no additional code.

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

      Not accessible? Most accessibility software sits ontop of other browsers like IE (and to a lesser extend, Firefox). Ajax works fine.

    3. Re:Accessibility by phusikos · · Score: 2, Informative

      Properly written AJAX isn't any less accessible than a plain old HTML form. Just make sure your AJAX events are triggered by actions that would normally result in a regular HTTP request (like clicking an anchor or submit button on a form). This way, there's nothing lost if Javascript is off. Everything else can follow the 508 guidelines just as strictly as a well-designed static page. So go ahead and pitch that AJAX app to NASA.

    4. Re:Accessibility by Bogtha · · Score: 4, Informative

      AJAX, being a random collection of JavaScript hacks, doesn't offer any accessibility.

      So you can't use it in software that might be sold to, for example US Government customers -- no national laboratories, no NASA, etc.

      UNLESS -- you write your own accessibility aids and write your own UI framework that compiles into both an AJAX version and a web accessible version.

      This irritates me. This is not true. And yet moderators without a clue have pushed it up to +5, Informative. And any newbie web developers who read this are going to think that they have to choose between AJAX and accessibility. Some of them are going to choose AJAX and not bother with accessibility. If your post had been down at -1, Wrong, they might not get that impression, and would go on to write accessible AJAX web applications.

      You don't have to choose. You don't have to write "UI frameworks" that you have to "compile". That's nonsense. What you do is you write the non-AJAX version, and then you add the AJAX as an optional extra. When people have Javascript turned off, they get the basic version seamlessly. Perfectly accessible, none of the complicated nonsense you claim is necessary.

      Please stop propogating this myth. If you want to promote your favourite technologies, then by all means do so, but don't lie about the alternatives to make them look bad.

      --
      Bogtha Bogtha Bogtha
    5. Re:Accessibility by LegendLength · · Score: 1

      Thank you for taking the time to post that. I was also under the impression that the parent post was correct as I know nothing about this new tech.

    6. Re:Accessibility by kuzb · · Score: 1

      Except, if it could be done with regular old html (which it can't) that just made a request, we'd be using it. There wouldn't be a need for XMLHttpRequest. Since turning off javascript means none of this works, your assesment is flawed. Sure you could make it link to and load a new page, but then, if all you're doing with this is basic content replacement, you may as well be doing it that way in the first place - no compatibility issues, complete accessability and faster development time. Not that it's an issue, people also generally don't turn off javascript. I work for a major corporation where my job is maintaining it's core systems (we provide web services to people), our ad system uses javascript. Believe me, we're not starving. The only people who turn off javascript, are people who know better, and people who have been scared in to doing it by people who should know better. They represent a miniscule minority. Most government sites are informational to begin with, and likely wouldn't benefit much from the use of XMLHttpRequest anyway. If being more like a desktop application meant anything to these organizations, they'd be using flash in a big way by now, since it's been popular longer, and is capable of most of the things this can do, plus more that it isn't capable of.

      --
      BeauHD. Worst editor since kdawson.
    7. Re:Accessibility by leighklotz · · Score: 1

      This irritates me. ... This is not true. ... ...newbie web developers who read this are going to think that they have to choose between AJAX and accessibility.
      I can understand why you find it irritating, and I can see your point about it not being true.

      But let me elaborate: AJAX is not a specification, so almost no statements about it in general can be true or false. If AJAX means the poster children of Google Maps, GMail, etc., then my statements stand: they are not accessible, and they are not device independent. Now, Google and other companies may have plenty of people working on their own server-side technologies to make the stuff that seamlessly degrades as you suggest, but that's what I call a backend UI framework that produces HTML or DHTML depending on the situation. That's compilation in my terms, but I didn't mean to be leading any one astray by using that word; anyway, the point is, it's not a bunch of hand-authored HTML code with a little JavaScript thrown in.

      When people have Javascript turned off, they get the basic version seamlessly. Perfectly accessible, none of the complicated nonsense you claim is necessary.

      There is a tremendous amount of hair for doing this in the general case. And yes, as other posters have noted, if you have the right server-side framework for generating the output, it can work. I was suggesting some server-side framework that do just that, so I have no quibbles on that. The suggestions I made do it with standard markup languages as their input, so you retain the advantages of accessibility, device independence, and separation of concerns that come from the work that went into the development of those standards.

      But I do disagree with you on the question of UI frameworks. I do agree it's possible to write plain old HTML and put in JavaScript that seamlessly degrades, but that's not what the hype about AJAX is about, and newbie developers would do well to understand that as well.

      For bystanders, try this: go to http://maps.google.com/ and turn off JavaScript, or go to Linux and use a text-based browser with http://maps.google.com/ to try to get directions from one address to another, in text. It simply won't work, and it's not going to, because the framework that Google uses to do the impressive stuff for Google maps isn't designed for that kind of environment. But if you want to use a UI framework that can seamlessly degrade, or offer a good UI experience in both the JavaScript-enhanced world and the 508c / text world, you have a lot of work and careful planning to do. The post I made lists some frameworks that let you do this in standard ways using W3C designed technologies built from the ground up for accessibility, device-independence, and rich desktop clients.

    8. Re:Accessibility by Bogtha · · Score: 1

      AJAX is not a specification, so almost no statements about it in general can be true or false.

      Something doesn't have to be a specification in order to make meaningful statements about it. In any case, it's you making the statements about how AJAX is so complicated. If you think that you can't make meaningful statements about it, why are you doing so?

      If AJAX means the poster children of Google Maps, GMail, etc., then my statements stand

      But AJAX doesn't mean that. You can't win an argument by redefining the terms being used. Those are examples of AJAX web applications, sure, but a handful of examples doesn't define an entire concept.

      Now, Google and other companies may have plenty of people working on their own server-side technologies to make the stuff that seamlessly degrades as you suggest, but that's what I call a backend UI framework that produces HTML or DHTML depending on the situation. That's compilation in my terms

      No, graceful degradation cannot be reasonably termed "backend", "framework" or "compiled". Not in any sense of those words. You don't understand graceful degradation in the slightest. It doesn't involve generating different versions of HTML/DHTML. Go google the terms and do some reading.

      When people have Javascript turned off, they get the basic version seamlessly. Perfectly accessible, none of the complicated nonsense you claim is necessary.

      There is a tremendous amount of hair for doing this in the general case.

      It depends on what you are doing. Small improvements can be very simple. Large improvements can be complicated. There's no basis for saying that it's complicated in general, because how complicated it is depends on exactly what it is you are doing.

      I do agree it's possible to write plain old HTML and put in JavaScript that seamlessly degrades, but that's not what the hype about AJAX is about

      The hype about AJAX is improvement to interfaces. Whether or not it's done in a degradable manner is completely othogonal to the hype. It's an implementation issue, and the hype is about the end result, not implementation issues.

      For bystanders, try this: go to http://maps.google.com/ and turn off JavaScript, or go to Linux and use a text-based browser with http://maps.google.com/ to try to get directions from one address to another, in text. It simply won't work, and it's not going to, because the framework that Google uses to do the impressive stuff for Google maps isn't designed for that kind of environment.

      This is completely irrelevant to the argument. Google chose to build a framework on top of AJAX that doesn't degrade gracefully. That doesn't mean AJAX web applications can't degrade gracefully, it means Google's framework doesn't degrade gracefully.

      Your attempt to use Google's code to make generalisations about AJAX is like using Linux to make generalisations about C. Google's code was built with AJAX. Linux was built with C. If somebody told you that C was a language that could only be used to write operating systems, you'd laugh at them. Yet you are making a similar argument with Google and AJAX. The reason Google's code doesn't degrade gracefully is not because they used AJAX, but because they chose not to write their code in a degradable manner.

      But if you want to use a UI framework that can seamlessly degrade, or offer a good UI experience in both the JavaScript-enhanced world and the 508c / text world, you have a lot of work and careful planning to do. The post I made lists some frameworks that let you do this in standard ways u

      --
      Bogtha Bogtha Bogtha
    9. Re:Accessibility by leighklotz · · Score: 1

      There is nothing wrong with using JavaScript and XML and even using browser features like the HTTP posting facilities in common browsers. It's just that you have to take special efforts to make it accessible, and there's no specification for doing so, and it's not a defined standard, so people will have to muck about trying to come up with stuff that works.

      When non-technical people hear about AJAX, they think that they're going get something like GMail or Microsoft's promised Web Office and it's going to be as easy as making a web page in HTML, but it's not.

      I see you agree with me that the those pages, while they may be snazzy, are not accessible because the back-end framework that created them wasn't designed to make it so. My point is that if you code to standards such as XHTML and XForms, you can still get dynamic page stuff, but you need no JavaScript, and you don't have to blaze your own trail to define ways to do it. The W3C is an industry consortium, and the members define the standards, and implement them.

      SVG and CSS are two great examples of W3C standards that are moving forward in both standards and implementation CSS 2.1 is a refinement of technologies that are used for both snazzy look and feel and for accessibility, and if you use CSS in your web pages, you will find that they are almost automatically more accessible, becuase it's designed that way. The same is true with XForms -- it's a specification designed by industry, through the W3C, and is implemented in a variety of web browsers, web plugins, and non-web products.

      I've had nothing (at least so far ;-) to do with writing any of the software I've mentioned. (OK, I do admit filing the occasional bug report against Firefox if that counts.) I just happen to have read about them as products for filling the gap between the new standards and today's browsers.

      My point about AJAX vs web standards is that the web standards are designed to fit device independence and accessibility needs AND provide the features that people need for dynamic pages and good graphic design, without using libraries of JavaScript which either aren't accessible, aren't portable across devices, or which require a lot of design work on the part of the page authors to figure out how to make them so. With XHTML, XForms, and CSS, you know you are going down a path that leads to accesibility and device independence.

      As for my having been an editor of the XForms 1.0 Recommendation, it's true, I was. I use my real name and a real home page to post on Slashdot, because I want to, and certainly have never hidden it.

      In any case, when you choose web technologies, please consider features such as device independence and accessibility, and plan for how you're going to implement them, if they should be necessary. As I said in my original post (days ago), if you're going to provide your software to US government agencies or contractors (think NASA) you need it to be accessible.

      One good option I see today is writing your web applications on the server side generate XHTML+XForms and then transcoding that into plain HTML for accessibility, or DHTML/AJAX for dynamic pages, and I think this is much better than writing JavaScript by hand and then trying to go figure out how to separate the presentation from the data. Some packages for doing AJAX may offer you this separation and an easy route to Sec. 508 compliance and WAI approval; some, as the parent poster points out, might offer enhancements that can degrade seamlessly and whose absence won't be missed (including Google Suggest), but others won't (including Google Maps, apparently). I mentioned some software packages that I think can help in this goal, and an approach for doing so. There may be other approaches, but please do your own due diligence and plan ahead when adopting these technologies for dynamic pages.

      Leigh.

  66. Section 508 Compliance by JMUChrisF · · Score: 3, Interesting

    It really stinks when you want to play with these technologies, but as a federal contractor, not something we can do.

    I don't think there are too many screen readers our there that can handle AJAX quite yet.

    Hmm.. screen reader built onto Firefox? Notices when stuff changes. I could build that. Sweet.

    1. Re:Section 508 Compliance by Anonymous Coward · · Score: 0

      If you use asp.net check out telerik's ajax controls, most of them are 508 compliant.

    2. Re:Section 508 Compliance by Bogtha · · Score: 1

      It really stinks when you want to play with these technologies, but as a federal contractor, not something we can do.

      As I've pointed out elsewhere, there's nothing inherently inaccessible about AJAX.

      Hmm.. screen reader built onto Firefox? Notices when stuff changes. I could build that. Sweet.

      Take a look at Fangs.

      --
      Bogtha Bogtha Bogtha
    3. Re:Section 508 Compliance by saifatlast · · Score: 1

      Hmm.. screen reader built onto Firefox? Notices when stuff changes. I could build that.

      No you can't, I just filed a patent on that. My lawyers will be contacting you shortly.

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't regist
  67. Round Cube Webmail by Anonymous Coward · · Score: 0

    Check out http://www.roundcube.net/ for another webmail that uses ajax. It is actually a front end to regular pop services.

  68. Accessibility Just Ain't eXiting... by Florian+H. · · Score: 1
  69. no by geo.georgi · · Score: 2, Interesting

    Not really.
    We have this mechanism with active FTP.
    On this page http://slacksite.com/other/ftp.html
    there is pretty good description how it works.
    This is not high risk, because the port need to be opened for a short time.
    And after the connection is created, there is no need to listen more on this port, just keep the connection.
    You will accept connection only from the host in the url, and will not accept connections from other hosts.

  70. Ok, thanks Slashdot by Anonymous Coward · · Score: 0

    So, in summation, AJAX is still cool. Also Google and MS are using it, which 100% of /. readers already know.

  71. The Web's killer app is content by Geof · · Score: 2, Insightful

    Because the success of the Web is primarily about linking together data. HTML has proved itself as a flexible way to express that data, to link it together, and (increasingly) to structure it. That's what the language was designed for. Remember, HTML was not intended as a language for layout or for graphic design. If you trade in HTML for code (as you propose*), then the structure and semantics of that data is then locked up in the code, walled off from the rest of the Web. You lose all the benefits of standard representation and network effects - which matters, because the best web apps rely on data. For example, fragment identifiers, browser extensions, web crawlers (e.g. for search), the ability to target different device characteristics through CSS, and accessibility features all rely on HTML (granted, AJAX tends to be weak in supporting some of these, e.g. accessibility). You also, incidentally, wall of your code from the rest of the content of your page.

    * Admittedly I haven't looked at applets in years; maybe there has been some movement toward resolving this problem.

  72. I wanted to answer your sig by Medievalist · · Score: 1

    but the discussion is archived. You need a new sig.

    Incidentally, I was taking the train eight months ago to Boston, and a neatly-dressed, non-uniformed man walked into the station with a huge chrome revolver strapped to his belt. Nobody panicked, the lady at the counter gave him a ticket and he got on my train. Nobody asked him for police ID or gun registration papers and nobody seemed to mind at all.

    I felt safer than I've ever felt on a plane, especially now that they confiscate most of my weapons on boarding.

  73. DHTML & JAVASCRIPT?? WOW by panic911 · · Score: 1

    AJAX brings together some hot properties, Javascript, HTML/DHTML and HTML, according to Julie Hanna Farris, founder of Scalix

    How redundant. DHTML = Javascript + CSS + Html... simply saying DHTML + XML is enough to explain AJAX.

  74. Ajax isn't about the technology (XHR, etc) by dalmaer · · Score: 2, Insightful

    Although Ajax started out life talking about JavaScript, html, css, etc. It was never defined as an acronym. In my opinion the promise of "Ajax" is not XMLHttpRequest. The shift is in the architecture. Instead of a full request/response/redraw cycle, we can do what any application framework allows, in that we can talk back to the server based on any action (click, hover, sneeze) get some response, and dynamically change something on the page. This change is powerful and a no-brainer. Imagine if you clicked on a button if you email client and every widget re-drew itself each time! We have to not go crazy though. The bests uses of Ajax are often subtle, as we don't want to leave behind our users. One of the great things about the web is that my grandma knows how to use it. See a link. click it. Same for a button. Learn a few buttons (back/forward/reload). We need to make sure that our web applications are still usable. With ajax you can INCREASE usability if you are careful, but you also have the power to do the opposite.

  75. AJAX on this by Impy+the+Impiuos+Imp · · Score: 1

    > AJAX brings together some hot properties, Javascript,
    > HTML/DHTML and HTML, according to Julie Hanna Farris

    Brr...brrr...brrrp! "Viruses and adware have been detected on your computer! Would you like to download the new WINFixer 2006, AJAX edition now?" :rollseyes

    --
    (-1: Post disagrees with my already-settled worldview) is not a valid mod option.
  76. Was done several years ago by IBM Lotus by stltt · · Score: 1

    In their Domino Web Access email, calendar, contacts and notes application. Demo here:
    http://www-128.ibm.com/developerworks/lotus/demos/ dwa.html

    If I remember correctly they won an award for best web application in a Linux conference some years ago.

    1. Re:Was done several years ago by IBM Lotus by Anonymous Coward · · Score: 0

      How is this AJAX!? It reloads the site between every click.

    2. Re:Was done several years ago by IBM Lotus by fdaniels · · Score: 1

      Just because you can't see it, does not mean it is not there.

      Inbox list, calendar content, contact list, and notes list are all fetched via XML and javascript. Might not be easy on a demo inbox, but if you had a massive inbox you would see that it only loaded the visible part (+some), and when you scroll it loads more (without site reload).

      It reloads only when you switch the tabs between inbox, calendar, contact list and the notes list.

  77. New buzzwords? by DogDude · · Score: 1

    More imporantly, are "Linux" and "AJAX" the new "Synergy" and "Enterprise-class" (buzzwords)? If so, then I'm announcing my new company will be using Linux and AJAX to do wireless stuff with audio players. Give me money.

    --
    I don't respond to AC's.
  78. What we want to see from IE :) by dalmaer · · Score: 1

    You have hit two of the hot ones.

    The event model is painful to work with cross browser. That is why we have to have our own code abstracting things away, or using the good frameworks out there that do this (Dojo, Zimbra, ...).

    There are lots of features such as offline capabilities, browser side caches, etc... but the most bang for the buck is just getting the browsers to actually implement all of the standards correctly. This is in DOM, CSS, HTML, JavaScript.

    If this gap can keep closing (it is a lot better now than a few years ago) then I will be happy.

    The big scare is that MS goes nuts and breaks everything :)

    MS said that they consider some of SVG not hardware acceleratable (er, really?) and that is why they have a kinda subset within XAML.

    Canvas in IE would be great too.

    And a nice JavaScript VM (HotSpot-able), that doesn't leak memory would be great too.

    Dion

    1. Re:What we want to see from IE :) by AKAImBatman · · Score: 1

      The event model is painful to work with cross browser. That is why we have to have our own code abstracting things away, or using the good frameworks out there that do this (Dojo, Zimbra, ...).

      You're better off with addEventListener. Pretty much every browser except IE supports it at this point. If you use this patch, you can bring IE up to code until Microsoft fixes it.

      Not that event frameworks are a bad idea, mind you. It's just good to know that all the code is future proof. :-)

      There are lots of features such as offline capabilities, browser side caches, etc... but the most bang for the buck is just getting the browsers to actually implement all of the standards correctly. This is in DOM, CSS, HTML, JavaScript.

      If this gap can keep closing (it is a lot better now than a few years ago) then I will be happy.


      Indeed. The offline capability is sort of already there with MHT and HTA files. The moment we can get other browsers to support these (or develop a similar standard) is the day we can stop developing Desktop Applciations all together.

      Thankfully, the cross browser gap is minor. IE still has problems with PNG files, but that should be resolved soon. There's not too much else I can think of that can't be avoided by simply following the DOM and JavaScript 1.3 standards.

      And a nice JavaScript VM (HotSpot-able), that doesn't leak memory would be great too.

      Mozilla has already got a great engine. I think we'll be seeing Microsoft overhaul theirs as FireFox steals more market share. :-)

    2. Re:What we want to see from IE :) by Anonymous Coward · · Score: 0

      I'm no fan of remote javascript but I'm liking it for writing browser extensions. As far as Mozilla's javascript engine goes, Spidermonkey don't JIT hence Rhino (javascript in Java) performs better. I really wish parrot had lived up to it's promise...

  79. What s problem with Ajax by coolphysco1010 · · Score: 1

    1)User Interface Issues:
              The back, stop, and refresh buttons don't always work.
              Since Ajax applications generate pages dynamically, there generally aren't static links available for bookmarking or sharing with others.
              Pages don't always print well.
              Applications don't run offline.
              Clicks and actions generally don't get included into a browser's history table.

    We need to be aware of issues like this, but we have fixes for many of these already, and more are coming.

    2) Ajax requiring JavaScript and ActiveX on IE

    ok..Is that such a huge issue these days? And IE 7 will have native support for XHR at least.

    If we keep coming up with quality Ajax applications, then that will be the reason to have JavaScript turned on!

    3)Perceived application performance

    It is easy to make something slow, or seem slow. However, you only need to play with Yahoo! Mail beta to see how a fully functional app runs like a charm. So, we can do it, and it will only get better for us!

    There are definitely issues, and there are MANY things that we all wish we had. But, none of these should scare us.

  80. What killed java by autopr0n · · Score: 1

    Was Microsoft's incompatible IE version. If you work hard, you can write a great UI in anything. The point is, there's no intrinsic benefit to AJAX other then that it works everywhere, but that's just a coincidence, and says nothing about the technology itself.

    --
    autopr0n is like, down and stuff.
  81. More clueless analysts by Anonymous Coward · · Score: 0

    "Google Gmail and Google Maps are good examples of a very simple use of AJAX. For example, when a user scrolls a map, a Javascript method is invoked that repositions the current image and then makes an XML-based request for the image that is needed to fill in the new part of the map."

    I wish these AJAX analysts had a clue - Google Maps DOES NOT USE the XMLHttpRequest Object (aka AJAX/"XML-based request") for its mapping functionality - it uses plain old Javascript.

    I wish these Web 2.0 analysts would actually do some research!

  82. astroturf of the worst sorts. by ministerofsickeningr · · Score: 1

    common tactic in pushing an agenda is to first give legitimacy by name dropping 800 pound gorillas in the same sentence as your bandwagoned advertising agenda. by throwing the microsoft name around in the same breath, the PR flack that submitted this story just got what she wanted: eyeballs on her pitch.

  83. Good ASP.Net AJAX Examples by rwrife · · Score: 1

    Telerik and ComponentArt both utilize AJAX in their ASP.net controls and from what I've seen are by far the best examples of what AJAX can really do.....the stuff scalix was demoing was not impressive.

  84. A significant leap in the advancement of Web apps by Anonymous Coward · · Score: 0

    Ok, I'll give you that. Too bad that web apps still suck rotten asshole. Give me client program coded for the platform being used ANY DAY.

  85. it's true.. gmail uses it. by slashkitty · · Score: 1

    it's called auto-save and it's enabled by default.

    --
    -- these are only opinions and they might not be mine.
  86. Re:Where? ajaxian.com by Overly+Critical+Guy · · Score: 0, Flamebait

    Hi, Dion. I'm a pissed-off web user who's been visiting Slashdot far too long. Terms like "Ajax" just make me really, really angry, and I don't know why. Perhaps it's because it sounds like window cleaner. Mere years ago, this stuff was called dynamic web pages and other friendlier phrases. Can you help me to come to grips with this new wave of crappy, crappy terminology that Slashdot has, for some reason, embraced? "Blog" entries and AJAX are now front page news.

    Sincerely,
    Overly Critical Guy

    --
    "Sufferin' succotash."
  87. OGM AJAX!!!!!!!!111 by porneL · · Score: 1

    Please stop that crap. AJAX is not responsible for drag'n'drop, dropdowns.

    1. Re:OGM AJAX!!!!!!!!111 by josepha48 · · Score: 1
      What? You don't like it when people confuse the DOM, AJAX and JavaScipt?

      D&D was done when NS 4 or 3 came our I thought with that layser iframe crap. AJAX was after that.

      --

      Only 'flamers' flame!
      Does slashdot hate my posts?

  88. Microsoft *Invented* AJAX. by ThreeToe · · Score: 1

    Microsoft invented AJAX in, what, 1999? Of course, they didn't call it that, but invent it they did.

    Specifically, Microsoft invented XmlHttpRequest and pioneered its use in Outlook Web Access. OWA is an important feature for Microsoft. It gives a fantastic client-like email experience over the web.

    Oddly enough, none of Microsoft's other teams (MSN, anybody?) decided to use the AJAX approach in their products. This seems like a huge misstep and showcases just how large and disconnected Microsoft, the company, is.

    In the intervening years, Google managed to swoop in and take up the AJAX crown -- to the betterment of web users the world over.

    1. Re:Microsoft *Invented* AJAX. by b3rs3rk3r · · Score: 1

      uhhhhhhhhhhh ever heard of start.com???

      Launched way ahead of Google's "home page"?

      Also, myspace.msn.com is using Ajax...

      I think it's more the case of press jumping on anything Googlish!

    2. Re:Microsoft *Invented* AJAX. by ThreeToe · · Score: 1

      My point about Google was that GMail and then Google Maps were the products that truly alerted the world, in a big way, to the potential of AJAX. Shortly thereafter, tons of people started using AJAX to build sites, MySpace included.

      As for start.com: this is a very new Microsoft effort and it isn't an official product. (Live.com is the official product, but that only happened like a week ago.) The important point is that Microsoft had the technology in its hands long ago but failed to capitalize on it in obvious places (again, let me point my finger at MSN's many products.)

      Agreed that the press enjoys jumping on all-things-Google these days, but I think it is fair to say that Google was the first company to fully understand the value of AJAX and captilize on it in a way that the general public was aware of.

    3. Re:Microsoft *Invented* AJAX. by b3rs3rk3r · · Score: 1

      Ok, I can agree to that. Gmail was defenitly the pioner that brought it to the public. I really like gmail btw.

      Start.com has been my default home for months now though, and I prefer it to googles home. Not sure if you know, but start.com did launch prior to Google's home.

      Have you had a chance to test the new yahoo mail? I'm still waiting to get my beta request approved...

    4. Re:Microsoft *Invented* AJAX. by b3rs3rk3r · · Score: 1

      my bad... yeah just realized i mentioned start.com being first...

  89. Re:What s problem with Ajax by isbhod · · Score: 1

    My main concern with AJAX is the back button, and browser history issues. Is there anything being done to address these, or do we try and re-train web surfers to stop using back buttons and web histories?

  90. Javascript potential by ChrisZermatt · · Score: 2, Interesting

    For those of you complaining about how JS suffers from various browsers inconsistencies and bugs, and how it should have a [hard-to-build] framework that handles all this, take a look at the following:

    http://qooxdoo.oss.schlund.de/demo/dev/public/test /user/Window_2.html

    (I discovered this through /. the other day, and was quite impressed -- even if it still has a ways to go before it hits prime time).

    I'm just finishing a project where QooxDoo (when its a bit more finished) would have been the cat's ass.

  91. Poor MS by WindBourne · · Score: 1
    Yeah. Funny how MS :
    1. takes credit for a lot of things that they did not invent.
    2. does not take the blame for the damage that they have created.
    3. finally is not credited with one of the few good things that they did invent (bob and all the viruses/worms/etc were not good things).
    --
    I prefer the "u" in honour as it seems to be missing these days.
  92. Re:Where? ajaxian.com by abigor · · Score: 2, Interesting

    What! The mighty Ajax is all of the following:

    1. A couple of guys from "The Iliad".
    2. The name of a bunch of cars from the early part of the 20th century.
    3. A major Dutch soccer team.
    4. A toilet and bath cleaner.
    5. A town in Ontario.
    6. A character from the movie "Flash Gordon".
    7. A "web technology" whose component parts have existed for ages, but marketing people believe makes them sound smart and "cutting edge".
    8. Many other things.

    It is NOT, and has NEVER BEEN, a mere "window cleaner"! Good god, man!

  93. Micfosoft gets no credit for "AJAX", just "AX" by Maxmin · · Score: 1

    Microsoft may have "invented" XMLHTTPRequest, but then they ignored it for, what, 5-6 years?

    Did they see the potential? No. They created a transfer mechanism back when XML was getting hyped, then forgot about it. And it wasn't the only mechanism "invented" back then, and it's not the only one available to "AJAX" apps. For example, hidden frames, iframes, and hidden images.

    It took other bright minds to see the potential of DOM/DHTML and background data exchange, and put it to use. Try googling for "XMLHTTPRequest" - see any microsoft.com URIs in the top ten? Nope?

    Catch you later.

    --
    O lord, bless this thy holy hand grenade, that with it thou mayest blow thine enemies to tiny bits, in thy mercy.
    1. Re:Micfosoft gets no credit for "AJAX", just "AX" by man_of_mr_e · · Score: 1

      No, Microsoft used AJAX YEARS ago, exactly like google is using it today. They just didn't give it a fancy name. OWA has used it extensively for years, as has the Microsoft tree view control used in the MSDN web site.

    2. Re:Micfosoft gets no credit for "AJAX", just "AX" by RupW · · Score: 1

      OWA has used it extensively for years, as has the Microsoft tree view control used in the MSDN web site.

      Fair play with OWA and all, but the tree in the MSDN site is fairly new: six weeks at most. And I think it's just one of the new .NET 2 controls anyone can use in their site.

      The tree used to be DHTML in a single download which you didn't need authentication to fetch. I rigged up a cron job to download it every morning just before I got in and diff it against yesterday's as my own "New Stuff on MSDN" feed - their RSS feed always lags behind the site.

    3. Re:Micfosoft gets no credit for "AJAX", just "AX" by Ilgaz · · Score: 1

      Wasn't XML HTTP request a famous windows vulnerability?

      I remember it was huge before RPC fashion started.

    4. Re:Micfosoft gets no credit for "AJAX", just "AX" by Maxmin · · Score: 1

      Ah, okay, you're right - I remember the tree control, but mostly because it didn't run in Netscape. :) MS didn't provide an alternative for non-IE browsers for what seemed like a long time. It was pretty cool, though. Would've been cooler if they'd outed that technology more generally, as at the time I figured it for an activex control. Ta.

      --
      O lord, bless this thy holy hand grenade, that with it thou mayest blow thine enemies to tiny bits, in thy mercy.
  94. MS not interested in cross browser.... by b3rs3rk3r · · Score: 1

    "What typically sets Microsoft apart from other AJAX application providers is that they do not appear to be interested in the cross-browser capabilities of AJAX applications. One can speculate that Microsoft has ample motivation to use Windows and Internet Explorer-specific features that create a dependency between their AJAX apps, IE [Internet Explorer] and the Windows platform/ecosystem. This has been the case historically. "

    Anyone who has tested the Atlas framework (MS version of AJAX for .NETE) knows that this is complete BS. The frame works includes scripts for all major browsers.

  95. Microsoft is pursuing it? by Anonymous Coward · · Score: 0

    They invented it.

    The author of that article needs to do more homework.

  96. why is this posted under "Java?" by Compay · · Score: 1

    Javascript is not Java. Other than some of its syntax the only thing it has in common with Java is the name.

  97. Hype! HYpe! HYPe! HYPE! *hype?* Hype-hyPE!! hype by Hosiah · · Score: 1

    Gre-e-e-at, AJAX is the hottest language on the planet. I'll queue it behind the 2,567,899,110 *other* hottest languages on the planet I'll get around to learning some day, right after I've fully mastered the piddling mere trivial ten I know.

  98. Microsoft's Latest AJAX App = MA JAXOFF by Anonymous Coward · · Score: 0
    Microsoft AJAX for OFFice.

    Unfortunate acronym, but now your mum isn't quite so lonely.

  99. Bullshit by Anonymous Coward · · Score: 0, Informative

    Turn off JavaScript and try and load Google Maps.

    "Your web browser is not fully supported by Google"

    There's no "basic version seamlessly" there.

    1. Re:Bullshit by Anonymous Coward · · Score: 0
      Ajax is a technology, not an implementation.

      Just because Google Maps doesn't support older browsers doesn't say anything about Ajax because other Ajax apps like GMail can now degrade gracefully for older browsers.

      You don't get graceful degradation for free, however, if that's your point. Supporting older browsers is a separate effort that may or may not be significant work.

      ALSO, IT'S A MYTH THAT DISABLED PEOPLE CAN'T USE JAVASCRIPT

      Most diasbled users use screen readers that sit ontop of browsers such as IE6 or Firefox.

      Most don't typically use software like Lynx/Blynx. Now disabled people tend to be poorer than able bodied people and so their computers are older and have older software but that's a social thing, not about capabilities, and would equally apply to poor people and older computers.

    2. Re:Bullshit by Bogtha · · Score: 1

      Ajax is a technology, not an implementation.

      Thanks for pointing that out. It's sad that people assume that just because the particular AJAX web application they are familiar with is inaccessible, that means every AJAX application is. Imagine if they applied that logic elsewhere. "Operating systems are inherently unstable, just load up Windows ME if you don't believe me." "Germans are inherently evil, just look at Hitler if you don't believe me." Generalisations based on a handful of examples are stupid.

      ALSO, IT'S A MYTH THAT DISABLED PEOPLE CAN'T USE JAVASCRIPT

      This is true, and I can see how my previous comments might give the wrong impression. However, Javascript can and often does interfere with accessibility even when the user-agent supports it. Properly constructed web applications should function just fine with Javascript off, or with a fully-abled user using a user-agent with Javascript. However, a disabled person using a user-agent with Javascript on throws so many variables into the mix that I think it's safer to switch it off altogether. Perhaps this will change as the DHTML accessibility improvements going into browsers gain popularity, and when the screen reader vendors get a clue and start reading the W3C specifications.

      --
      Bogtha Bogtha Bogtha
    3. Re:Bullshit by Slashdiddly · · Score: 1

      Ajax apps like GMail can now degrade gracefully

      Only true if by "degrade gracefully" you mean "write a separate version". That's like saying my C app is portable because I also have a Java version. Working around IE bugs is hard enough, but it's peanuts compared to supporting a whole new code base (which only 1% of the people are going to use).

    4. Re:Bullshit by dorward · · Score: 1

      Ajax apps like GMail can now degrade gracefully

      Only true if by "degrade gracefully" you mean "write a separate version".

      It is possible to write such applications so they degrade gracefully, although it is almost inevitable that there is going to be some duplication of effort as some components are implemented in two places. GMail, however, is not a good example of that - it has two seperate versions, it doesn't degrade gracefully.

  100. Re:Where? ajaxian.com by JacobO · · Score: 1

    Good call.

    If I'd known I'd been sitting on such a "hot" invention for so long, I would have surely sold it. I guess my skill in coming up with new names for old and existing things are rusty. Or is it that I thought everyone knew this shit already?

    I turns out that I'm not meant for sales or marketing. I'm so sad about that too. Apparently they have to take the fun out of everything. I really enjoyed some of those projects I did several years ago, now to do the same thing again I'd have to justify why I don't want to struggle against $VENDOR's AJAX toolkit. It used to be I could concentrate on getting something interesting done, but it seems vendors are now destined to remove all that extraneous fun and replace it with user concerns like business rules and such, where's the job satisfaction in that?

  101. Java Icon? by feNIX77 · · Score: 1

    What exactly does that coffee cup next to this article have to do with AJAX?

  102. AJAX for YahooMail FireFox Extension by TheZorch · · Score: 1

    I use the AJAX for YahooMail FireFox Extension and its, quoteing Billy Crystal, "absolutely marvelous".

    I like the ability to read or preview an email without actually having to reload the page. It makes YahooMail almost as much of a joy to use as GMail...almost. GMail is superior in my honest opinion. Yahoo could learn a few things from GMail if they only paid attention.

    --
    Michael "TheZorch" Haney
    thezorch@gmail.com
    http://thezorch.googlepages.com/home
  103. Please, make it STOP!!!!!!!! by Mr.+McD · · Score: 1

    My favorite bit:

    "AJAX enables advanced features like drag 'n drop, dropdown menus and faster performance capabilities"

    Since when did AJAX enable drag & drop? Freakin' Menus even? Why, please tell me WHY people who apparently know ABSOLUTELY NOTHING about the underlying technology are allowed to talk about it? This AJAX crap is killing me!!!! There are too many PHBs out there thinking this is the next great thing and trying to integrate it into every application. Any why the fuck does this post have the coffee cup as if it pertains to Java? WHY??!!!!!!

  104. So how much did Julie pay for this /.ad? by fbg111 · · Score: 1

    How much did Julie Hanna Farris, founder of Scalix, a Linux-based, e-mail systems vendor pay for this /. ad? It obviously says nothing new about AJAX, is only aimed at PHB's, and yet for some reason Julie's company Scalix is the focus of the summary. Is it time to rename /. to Slashtroturfing.org?

    --
    Flying is easy, just throw yourself at the ground and miss. -Douglas Adams
  105. Yeah, well... by autopr0n · · Score: 1

    You already had to download the browser, or install it from a CD. That's the point.

    In addition to a browser, if people had downloaded something other then a web browser (like a java JVM) they wouldn't need to go through the trouble of downloading somethine else.

    That's the point I'm trying to make. AJAX does require a download, it's just that it's the largest installed base out there.

    But web browsers wern't designed to do this type of thing, and the hacks that have been added are still lightyears from what could be done in a DOS program, ferchrissakes!

    --
    autopr0n is like, down and stuff.
    1. Re:Yeah, well... by Gossy · · Score: 1

      You already had to download the browser, or install it from a CD. That's the point

      You may have, but I think there's a fair few Windows users out there who'd disagree. IE is part of the OS after all.

  106. Re:Where? ajaxian.com by dalmaer · · Score: 1

    Mr. Critical Guy,
    I am sorry, I can't explain the buzz to be honest. I also can't explain why this posting actually made it on to slashdot as there isn't technical meat in it.
    For some reason if you mention Ajax || Web 2.0 || Google || Microsoft || Apple || Linux, you are a sure thing right? ;)
    I think that the reason that the term Ajax took off, isn't due to the name itself (most people aren't fans due to the other million things that are out there) but it gave us one word to explain the concept.
    Now, the concept itself is very fluffy isn't it. I personally don't subscribe to the technical view (that it has to be XHR and XML ...). All I care about is the fact that we are now finally able to make server side calls whenever we want, and can update a piece of the page instead of redrawing everything.
    This is the shift in thinking that is now making into the mainstream (even though we have been doing this in general for years with many techniques including XHR).
    Cheers,
    Dion

  107. Java Category by Sloppy · · Score: 1
    If I understand correctly, this article is in the Java category.. um .. because .. it's an alternative to Java?

    So the next time there's a story about the Linux kernel, it'll be in the MacOS category because Linux is an alternative to MacOS.

    --
    As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
  108. AJAX - watch your browser go compute-bound by Animats · · Score: 1
    More and more web pages now run up the CPU, network, and cache load, even when their window is not in the foreground. Now there's this annoying "Which page is killing performance" problem.

    And, most of the time, it's ad content.

  109. AJAX: the greatest hack there ever was by Morganth · · Score: 1

    Hey, look, I like Gmail and Google Maps and all that just as much as the next guy, but as someone who's done rich desktop application UI design with Windows and Linux toolkits, I can't really see AJAX as anything but a big hack.

    UI toolkits are built to be event-driven, multi-threaded, and highly interactive. A lot of thought has gone into them, and modern OO languages really let you take advantage of the whole way of doing things (think C#/.NET or Python/GTK+, or C++/QT).

    But AJAX is what? An XML message being tossed between server and client in an inline frame. What beefy programming language do we have to deal with that XML message and respond to it, produce our UI elements, etc? Oh yea, Javascript. Where do these applications live? Not within some virtual machine, not with the help of some powerful runtime, but within a *web browser*.

    (I just think about the day when all the thought that has gone into making Operating Systems fast and flexible for multiple interactive applications is for naught because the only application anyone runs is IE/Firefox/Safari).

    Isn't this the kind of stuff that makes you feel like we're always *regressing* into worse architectural designs, even as the applications get better? AJAX was a hack to squeeze interactivity into web applications. It definitely isn't elegant, and I'd be very wary of calling it a wonderful, powerful industry standard. It may become a standard, but it certainly didn't rise to prominence thanks to the elegance of its design. Javascript, DHTML, etc. aren't even solid standards, just ask Google who wrote three Gmaps versions: one for IE, one for Firefox, one for Safari.

    What's funny is that for the next few years, everyone is gonna go bananas to produce AJAX applications instead of rich clients using mature UI toolkits. And it'll just become more and more entrenched--thousands of lines of Javascript spaghetti codes, all over the user's computer and the enterprise.

    I like the apps produced by AJAX, but AJAX as a technology? Not that impressed. With all the work that has gone into UIs and UI toolkits in the last few years (especially great stuff like i18n and l10n for free, cross-platform native look and feel, performance, vector graphics, and on and on), it's a shame to see things go in this direction--UI by web browser hack--so rapidly. Alas, I guess that's "the industry!" Demand drives quote-unquote "innovation".

  110. Keyboard accessibility by sabit666 · · Score: 1

    AJAX won't bring good keyboard accessible application, although that is mostly due to browsers limitations.

  111. Early prognostication on JavaScript by randall_burns · · Score: 1
    It looks like the judgement date
    should have been a few years later on the Ideosphere claim that demand
    for JavaScript programmers would overtake demand for Java
    programmers.


    Where were the digerati futurists on this?

  112. Why the Java topic? by Tim+C · · Score: 1

    Javascript has nothing to do with Java, other than sharing part of a name and some syntax.

    You'd have thought a site for techies would know this...

  113. Re:Where? ajaxian.com by JamesOfTheDesert · · Score: 1
    All I care about is the fact that we are now finally able to make server side calls whenever we want, and can update a piece of the page instead of redrawing everything.

    That sort of thing has been doable for about five years now. XHR makes it cleaner (*Ajax* clean? I crack me up!) than using, say, Java crappelts, or frames, or Flash. The big feature is that Mozilla and others finaly got hip to (gasp) a Microsoft technology that many developers have been using for years.

    I personally don't subscribe to the technical view (that it has to be XHR and XML ...).

    Well, perhaps that helps explain why so many people find the term meaningless at best, and often quite confusing.

    --

    Java is the blue pill
    Choose the red pill
  114. AJAX primers by Heembo · · Score: 1

    I've recently been researching AJAX for some of my clients, and here are some articles on the topic to help jumpstart diving in if you are new to AJAX. 1) A good place to start is the SUN article on the topic ( http://java.sun.com/developer/technicalArticles/J2 EE/AJAX/ ) - It's rather surface, but a good place to start. 2) The IBM article feels more "state of the art" - they do a GREAT job of breaking down the pros-and-cons of the different AJAX-like architectures. 3) Diving deeper, if you are going the route of XML/XSLT - you must check out Sarissa which is A cross-browser wrapper for Javascript XML manipulation. 4) It's very easy to work with PHP or any other server-side language, lots of great artices on the topic. Yes, I was horrified to be sitting here writing Javascript again - but my clients like it, its easy to secure, and one can do some fancy things with it. Happy coding

    --
    Horns are really just a broken halo.
  115. Ajax is nice but not a GUI by oldCoder · · Score: 1
    A good GUI can have an event in one window show up instantly in another window (or, in html, in another frame). For example, ordering a second or third item in one frame of a store would erase the "Total" field in the final-price frame while the server computes the new total with the new shipping costs. This is hard in Ajax because cross-frame scripting is, um, awkward.

    Since the other final-price frame isn't in another thread it can't poll for the data, and the catalog buy-this frame can't reliably write to the other frame. That is, frame.document isn't generally available.

    So you still have to post the change and draw a new screen or you risk having the displayed total be wrong for a while.

    There might be an Ajax hack to do this but I haven't seen it.

    Of course, you can write to a "div" in the same frame right away, but it doesn't have the UI features of a separate frame.

    --

    I18N == Intergalacticization
  116. Scalix will be present at SCALE 4x by Anonymous Coward · · Score: 0

    Scalix will have a booth at SCALE 4x. Others include IBM, KDE, Fedora, Ubuntu, CACert, and more.

  117. Wrong wrong wrong by tod_miller · · Score: 1

    Javascript is fantastic - THE IMPLEMENTATION OF JAVASCRIPT on the other hand, on IE, is SHIT.

    Dump IE. (boycott 7.0 people are saying)

    Also, I think we should dump HTML for SiTeML, a new language we should design ground up to be specifically designed for the new CSS 3.0 - and for AJAX based applications, with a standardized DOM. Design based, with little features making it good for programmers (like a more extensible dom and class structure).

    If we make the design 100% complete, and do not allow for inconsistencies, and web designers go for it, and write the imlementation for firefox (to render SiTeML pages) then IE will have to follow, or become obsolete.

    There are too many HTML / DOM / JS / CSS hacks. Lets rip it down and start a new ground definition, a new 1.0, a new type of document, so our weak human minds are not always thinking about 'backwards compatibility'.

    If you expect anyone with an older browser to HAVE an ftp client installed to access ftp (command line IS a client too) then you can expect someone to have an XHTML compatible browser to view XHTML pages, and fuck them if they don't.

    There is nothing saying a browser can't run on 5 year old machines.

    SiTeML, the future. Or at least until M$ has one last go at assfucking us all.

    regards,

    Tod

    please type the word in this image: regards
    random letters - if you are visually impaired, please email us at pater@slashdot.org

    --
    #hostfile 0.0.0.0 primidi.com 0.0.0.0 www.primidi.com 0.0.0.0 radio.weblogs.com
  118. Re:Hype! HYpe! HYPe! HYPE! *hype?* Hype-hyPE!! hyp by innit · · Score: 1

    I wonder, considering your comment, how many of those 2,567,899,110 *other* hottest languages are actually languages, and not groups of existing technologies working together.

    AJAZ isn't a language, just like DHTML isn't a language either.

  119. Re:Hype! HYpe! HYPe! HYPE! *hype?* Hype-hyPE!! hyp by innit · · Score: 1

    *AJAX

  120. Mod parent down by Anonymous Coward · · Score: 0
    CSS [...] omits the most useful part of the <table> element, arranging rows and columns of arbitrary elements
    This is not true. The table-* properties do exactly that.
  121. Re:Ditch Javascript - AVBSAX by mnemotronic · · Score: 2, Interesting
    Ah yes, the infamous Asynchronous Visual Basic Script and XML. Makes my heart go all a-pitter-patter, then say something useful like : "Firefox has caused a fault in vbscript.dll".

    Actually, my biggest problem with Javascript was (is?) trying to understand all the little (or sometimes not-so-little) implementation differences, and write cross-browser script that didn't turn into zillions of checks:

    if browser == msie 3.x then
    do this
    else if browser == msie 4.x
    do this
    else if browser == msie 5.x
    do this
    else if browser == msie 6.x

    ...etc...
    That becomes a maintenance nightmare. Every few months a new browser version becomes available and must be tested and it's niggling quirks discovered and handled. This is not an insignificant task. Personally, I would rather be a content creator, not a browser beta tester for MS and Mozilla.
    --
    The Russians have won. They have made the world a cesspool of distrust, greed, fear and hate.
  122. Re:Hype! HYpe! HYPe! HYPE! *hype?* Hype-hyPE!! hyp by Hosiah · · Score: 1
    See this? http://developer.mozilla.org/en/docs/AJAX:Getting_ Started it's a tutorial. In the AJAX LANGUAGE. With an example that you can run. I don't care what your dictionary definition is in this case. Eventually, browsers with be rated AJAX-compatible, special functions will be designed to utilize AJAX, code will be referred to as AJAX, at which point it will become a LANGUAGE. Go definition-flame somebody else - I'm not interested in playing stupid word games with you. Other things are considered languages when they aren't even Turing-complete or have no application outside a single program. Many (MOST!) other languages descended from other languages - as Perl descended from Modula, C, awk, and shell, for instance.

    Aren't you the same shmoo who grunts at me every time I say "Linux" instead of "GNU/Linux" ? What, were you sick? I missed you!

  123. Open Laszlo by claytongulick · · Score: 1

    OpenLaszlo beats the pants off of Flex and its free (as in speech). Why anyone would bother with the whole AJAX kludge when Laszlo is around escapes me. The beauty of Laszlo's databinding architecture must be seen to be believed, not to mention the animation and UI capabilities.

    It is also worth pointing out that Laszlo Systems is working on a DHTML renderer for Laszlo so it won't be dependent on the flash player.

    There is a very active and helpful developer community and the documentation is very well done and complete (unlike Flex).

    Anyway, my $.02

    -Clay

    --
    Drinking habits can be dangerous. You can choke on the cloth and the nuns will wonder where their clothes are.
  124. Deployment, Deploment, Deployment by aCapitalist · · Score: 1

    Now someone needs to come up with a monkey dance cartoon with that subject and put it up at a site like ajaxian. But seriously, deployment is what it always comes down. For years, I sat around doing my bit-twiddling in C++, ignoring HTML, CSS, Javascript, XUL and all the backend frameworks because I thought it was silly to do a "real" app in the browser. But one of my side interests has always been deployment and so inevitably I started looking into what can be done with DHTML/Ajax and friends once most modern browsers supported it.

    Is it clunky working around all the browser incompatibility issues? Yes. Are your widgets limited? yeah(too bad SVG isn't supported fully in all browsers natively). But there are some interesting things possibilities.

    Now obviously Microsoft doesn't want a richer web experience, except maybe for IE, but the more interesting thing is that it doesn't really bode well for the open source desktop either. How many extensions are you using in Firefox that you might normally use a KDE or Gnome applet for?

  125. AJAX versus Python by Anonymous Coward · · Score: 0

    AJAX versus Python seems to have become one of those incremental mess vs. clean ivory tower things, like C++ versus Smalltalk fifteen years ago.

    Does Python have a future now that this AJAX thing is catching on?

    Can you create REST APIs with AJAX? If so, how?

  126. Re:Hype! HYpe! HYPe! HYPE! *hype?* Hype-hyPE!! hyp by innit · · Score: 1

    > See this? http://developer.mozilla.org/en/docs/AJAX:Getting_ Started
    > it's a tutorial. In the AJAX LANGUAGE

    From the top of the referenced page:

    "AJAX (Asynchronous JavaScript and XML) is a newly coined term for two powerful browser features that have been around for years,"

    All I can see on that page is JavaScript, sorry. There is no AJAX "language"

    Insert angry GNU/ranting here, if that's what you want.