Slashdot Mirror


Where is the Real Ajax/Flex Revolution Happening?

andzik writes "Even with all of the buzz around Rich Internet Applications these days, using toolsets like Ajax and Flex, most sites that utilize these technologies seem to be incremental improvements, not revolutionary interface changes. Where does the Slashdot community feel the best opportunities are to substantially create different/better user experiences using RIA tools? What will be the killer app? Are we just not seeing them because the best improvements are being made to web based applications and not in the public space?" On a related note, Vertigo asks: "Not so long ago everybody believed that it was a good thing to have the freedom to modify your software to suit your needs or to mangle your data in any way. But now that users are flocking to non-modifiable, one-size-fits-all web 2.0 apps like Gmail or Flickr, are we moving away from our open source ideals? Those services do provide many important benefits, but in the process of their enthusiastic adoption did we not loose sight of the most important issues?"

89 comments

  1. it's the cloud! by yagu · · Score: 4, Interesting

    One key question in this Ask is

    What will be the killer app?

    Just my opinion, but I think the killer app may be out there already but in stealth form. It's mostly a question of discovery and trust, and I think both lurk right around the corner.

    Just my anecdotal internet experience, but I'm migrating virtually all of my work into cyberspace and allowing internet services to manage my data and backup. I'm not completely there yet, but I've been a heavy gmail user for over a year now, and have almost forgotten how to use local pop clients (though I still do for peace of mind pop/download the e-mails for local storage -- I haven't gotten that far with my trust). And the sheer convenience of being able to "do e-mail" from any browser has been more beneficial than I'd predicted. I now have complete threads at my disposal whereas I used to find myself re-constructing threads dispersed across multiple machines (typically laptops "on the road").

    Lately I've tried some of the on-line word processors and calendars, and yes even some of the spreadsheets (some of the on-line spreadsheets are very responsive and offer functionality 99% of excel users typically tap). They're not all there and ready for prime time yet, but they're getting close.

    The word processors for my general use are already good enough that I'm willing to do my word processing on line and let "them" do the management. I wouldn't even consider (not that I did anyway -- I'm an OpenOffice user) any of the pricey Microsoft Word Processing/Spreadsheet options. Again, the side benefit, almost unexpected, is the universal access to my work with NO effort, just a reasonably current browser.

    So, from my perspective, that's the "killer app"...: the security; the ease-of-use; the convenience; the cost; the true benefits reaped from a net where your data is created and managed in the internet "cloud" (sorry about all of the "quotes").

    (As for the one-size-fits-all, I think the eventual internet app winners will be those who provide the functionality with the flexibility. And if you shop around you'll find these on-line versions seem to providing reasonable (maybe not complete, but reasonable) flexibility)

    1. Re:it's the cloud! by Anonymous Coward · · Score: 0

      I'm the opposite, also a heavy gmail user, but I preferred Spymac because it was easy to set up Apple's mail for pop access to it, and gmail didn't have that.

      Now a year and a half later, spymac chops off its pop access, and gmail has instructions on how to do the pop thing. Fantastic.

      So I ditch spymac like the cheap ho it has always been :D And now gmail (through my pop client) gets all my tender loving.

      Warning: Of course, the first thing my pop client does is start downloading a year and a halfs worth of my gmail... my net connection... oh my poor bleeding net connection... :D

      The advantage of webmail is when I'm travelling around I can get my fix from any computer. The advantage of a pop client are that when I'm at my own computer it is a lot nicer (especially Apple's Mail client). I don't even lose the powerful search either (which is really the only feature gmail has that most pop clients lack), since Mail has a good search built into it. So now I have the best of both worlds.

    2. Re:it's the cloud! by jo42 · · Score: 1

      The killer app will be the day when we finally get over this serious brain damage of trying to do everything via HTML over HTTP...

  2. untapped market by larry+bagina · · Score: 3, Insightful

    instead of complaining about the lack of killer apps, maybe you should be out building one.

    --
    Do you even lift?

    These aren't the 'roids you're looking for.

    1. Re:untapped market by The+Clockwork+Troll · · Score: 3, Interesting

      There's nothing wrong with being a professional consumer. Where I'm from we call them "customers".

      --

      There are no karma whores, only moderation johns
    2. Re:untapped market by Anonymous Coward · · Score: 0

      "instead of complaining about the lack of killer apps, maybe you should be out building one."

      Damn straight, homeslice! Like the commercial says, "Make it happen."

  3. Web apps non-modifiable? by Bogtha · · Score: 1

    Since when? Web applications are built on a foundation of HTML, which is simply a way of marking up information. How user-agents interpret that information is up to them. UserJS/Greasemonkey can modify web applications on the fly too. It's a bit of a stretch to claim that web applications aren't modifiable.

    --
    Bogtha Bogtha Bogtha
    1. Re:Web apps non-modifiable? by hitchhacker · · Score: 3, Interesting


      Web apps non-modifiable?

      The source code that generated that HTML might not be modifiable. The php scripts of a GPL'd website can be modified by someone else and not have to redistribute the source because they aren't distributing the modified source. they have it sitting on some server somewhere not copying itself. Most web-apps don't even release their source code.. see digg.com, del.icio.us, gmail, etc. That's why there are open source equivalents of these.. respectively: pligg, scuttle, and the Hula Project

      Brett Smith of the FSF just email me today to notify me of the Affero General Public License, which requires the source code of the site to be available to anyone who receives content generated by the site.

  4. And the problem is? by LDoggg_ · · Score: 4, Insightful

    most sites that utilize these technologies seem to be incremental improvements, not revolutionary interface changes.

    I like the idea of AJAX being used to enhance applications, not completely rebuild them.
    If I wanted to do something like change the menus/site navigation I could already hose up the browser's controls with a flash based site.

    If i want to do a quick validation in a form against a remote database, I'll use AJAX

    If I want to add a quick way to change a record(ex. disable a user) in a table, I'll add a link that makes an AJAX call.

    If I want a text box to do a spellcheck without posting a complete form, I'll use AJAX

    --

    "If they have both, tell them we use Linux. And if they have that, tell them the computers are down." -Dave Chapelle
    1. Re:And the problem is? by Anonymous Coward · · Score: 0

      My usual use of AJAX is for the onChange event of a dropdown (HTML select tag with size=1).

      I even have a general purpose "APIRequest" function built so all I have to do is kick off an in-page function that builds 2 arrays and hits that APIRequest. It then comes back to an in-page callback that plays with the various form fields and other assorted HTML tag attributes (and occasionally innerHTML).

      So, a dropdown filters another dropdown? Easy. Hit the API and parse the text result and use it to fill the innerHTML of the select tag. A dropdown changes an array of pricing plans? Hit the API and parse the results to fill in the prices and enable (un-disable, actually) the user inputs for the valid plans. A page of customers to review and run a process against? Parse the list and build a page of AJAX-call buttons. When a user clicks one, it updates the status display on each line based on the actual result of the operation.

      The main thing to remember is this: Never use AJAX to leave a page. Have it do things behind the scenes, especially non-undoable things. Have it update the display of the current page. Have it respond intelligently in something resembling real-time to things that the user does. But do not use it to replace the normal HTML request/response page-to-page flow.

      You seem to grasp that concept, but I fear most developers don't. Keep up the good (I assume) work!

    2. Re:And the problem is? by LDoggg_ · · Score: 1

      My usual use of AJAX is for the onChange event of a dropdown (HTML select tag with size=1).

      That's another good one(as long as you're sure AJAX is supported). You remeber what it was like before that? You had to either cache a huge javascript array, or do a page refresh on the change.

      But do not use it to replace the normal HTML request/response page-to-page flow.

      I agree with you 100% here.
      Luckily I haven't seen too much of this yet, though I have heard plenty of "AJAX breaks the back button" FUD spread around.

      --

      "If they have both, tell them we use Linux. And if they have that, tell them the computers are down." -Dave Chapelle
    3. Re:And the problem is? by Forbman · · Score: 2, Interesting

      "AJAX breaks the back button"

      For a major web-based intranet app I helped support, dealing with the Back button was a *MAJOR* headache (J2EE session objects, etc). So having something that makes the Back button do nothing is bad? No, I think a lot of developers would say it's probably a good thing...

    4. Re:And the problem is? by MikeFM · · Score: 2, Insightful

      I typically make an effort to make apps work in pure HTML first. I then tie in Javascript, CSS, etc as possible to enhance that experience. There is no reason an app shouldn't be usable in a text browser and still offer full AJAX style interfaces when possible.

      --
      At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
    5. Re:And the problem is? by dozer · · Score: 1

      Pretty much every user says that breaking the back button is a *bad* thing. Who cares what the developers think?

    6. Re:And the problem is? by knewter · · Score: 1

      "If I want to add a quick way to change a record(ex. disable a user) in a table, I'll add a link that makes an AJAX call."

      Yup, GETs to change data. Good thinking. No one's already run into that problem en masse and pushed emphatically for that not to be the way to do things. Oh, crap, except for the whole Google Web Accelerator fiasco.

      --
      -knewter
    7. Re:And the problem is? by ameoba · · Score: 2, Insightful

      If you're running a real application inside a web browser and not just a web site, what sense does the back button really make?

      --
      my sig's at the bottom of the page.
    8. Re:And the problem is? by LDoggg_ · · Score: 1

      Yup, GETs to change data. Good thinking. No one's already run into that problem en masse and pushed emphatically for that not to be the way to do things. Oh, crap, except for the whole Google Web Accelerator fiasco.

      Wrong.
      Google's Web Accelerator won't handle a link that does a javascript:void(0) and calls a function to create an xmlhttprequest with an onclick event.

      Google only precaches valid href elements on anchors, it won't parse javascript for you. There is nothing fundamentally wrong with doing an authorized GET versus POST to update something on the server.

      --

      "If they have both, tell them we use Linux. And if they have that, tell them the computers are down." -Dave Chapelle
    9. Re:And the problem is? by Anonymous Coward · · Score: 0

      Every proxy ever written rightly assumes GET, HEAD, and OPTIONS are idempotent. Browsers can and will give out cached versions of resources (sometimes less strictly than the cache validation rules call for), silently repeat requests in the event of transient errors, and persist query URLs in history for random access later. If your app doesn't react well to these, using GET rather than POST is a foolish mistake that offers no advantages.

    10. Re:And the problem is? by LDoggg_ · · Score: 1

      That's what pragma, cache-control, and Expires HTTP headers are for.
      If a browser or proxy server is ignoring those, it is broken.

      --

      "If they have both, tell them we use Linux. And if they have that, tell them the computers are down." -Dave Chapelle
    11. Re:And the problem is? by msormune · · Score: 1

      Kinda like I made such a web front end for a database application.... back in 2000 using the IFRAME/ILAYER trick. Still works.

    12. Re:And the problem is? by GregWebb · · Score: 1

      No, no, NO!

      I've developed a lot of data management web applications over the years (primarily training services management of one type or another). Remember, DB apps really are the bread and butter of computer software.

      They tend to use technically simple, menu-based interfaces, because they make logical sense to the users.

      There are definitely places where the back button isn't the most useful thing (like after you've just added a new database record) but, most of the time, the back button is entirely sensible to use and doesn't cause technical problems. I put extra features in to make sure it's not required to navigate around, but the button is still absolutely useful and in no way causes me technical problems to handle.

      No, it's not an online word processor. Guess what? There's a lot more custom databases than custom word processors out there.

      --

      Greg

      (Inside a nuclear plant)
      Aaaarrrggh! Run! The canary has mutated!

    13. Re:And the problem is? by knewter · · Score: 1

      Though it's feasible to do what you suggest, it goes against W3C Recommendations. Doing that is what caused the GWA problem in the first place, as prior to GWA the way things were being done weren't a problem. Just follow the W3C...

      http://www.w3.org/2001/tag/doc/whenToUseGet.html

      From the site...

      1.3 Quick Checklist for Choosing HTTP GET or POST

              * Use GET if:
                          o The interaction is more like a question (i.e., it is a safe operation such as a query, read operation, or lookup).
              * Use POST if:
                          o The interaction is more like an order, or
                          o The interaction changes the state of the resource in a way that the user would perceive (e.g., a subscription to a service), or
                          o The user be held accountable for the results of the interaction.

      --
      -knewter
  5. Wait by Kawahee · · Score: 0, Flamebait

    There's only so much you can reasonably do with a web app before it becomes more feasible to make it a proper application. Wait for the day when we have a real programming language (Read: C/C++) as script, instead of Javascript, and then you'll see how powerful the internet really is.

    --
    I'll subscribe to Slashdot when I see a month without a dupe, a typo, or an article the "editors" didn't read.
    1. Re:Wait by abigor · · Score: 1

      Uuuh, what you describe is called ActiveX, and it's been shown to have certain issues.

    2. Re:Wait by mad.frog · · Score: 1

      Wait for the day when we have a real programming language

      How about ECMAScript4?

      You can have that now (in the form of ActionScript 3, Adobe's confusingly-named implementation) with Flex.

      (Overview at http://labs.macromedia.com/wiki/index.php/ActionSc ript_3:overview)

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

      Like haXe ?

    4. Re:Wait by maxcray · · Score: 1

      I agree. Since it did not seem to exist, I started the NewI\O project (http://www.newio.org./

  6. Hate to sound like a luddite but... by Anonymous Coward · · Score: 1, Insightful
    I've been viewing the web for 10 years, all I want from a website is information and I want it fast. Web documents have no place being applications and javascript and flash have no place in documents. Why do people not understand this?

    BTW: Flex is a popular lexer based on Yacc and not some web2 buzzword.

    1. Re:Hate to sound like a luddite but... by Anonymous Coward · · Score: 1, Insightful

      Web documents have no place being applications

      So says the guy that just used a form to post to slashdot.

    2. Re:Hate to sound like a luddite but... by larry+bagina · · Score: 2
      proper JavaScript can really help when user input is involved. Would you prefer to wait for your data to be sent, processed, and another page rendered just to tell you that you forgot to fill in a required field? Or do you want javascript to check it for you?

      Used properly, Javascript and Asynchronous JavaScript can improve the user experience.

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

    3. Re:Hate to sound like a luddite but... by Anonymous Coward · · Score: 0

      Flex in this context probably refers to Adobe (formerly Macromedia) Flex, a framework for generating RIAs.

    4. Re:Hate to sound like a luddite but... by FLEB · · Score: 1

      ...and all some other people want from the Internet is some entertainment, and they want it fast. Others might want long-distance interaction, while some might want remotely-hosted processing power. Gotta love a dumb protocol.

      --
      Information wants to be free.
      Entertainment wants to be paid.
      You just want to be cheap.
    5. Re:Hate to sound like a luddite but... by Anonymous Coward · · Score: 0

      Actually, Flex is not Yacc. Flex is a lexical analyzer, Yacc is a parser generator. You are probably thinking of Lex.

    6. Re:Hate to sound like a luddite but... by OzRoy · · Score: 4, Insightful

      I find it very difficult to believe that you only use it for straight static data, the internet hasn't been about straight data reading for a long long time. Almost every website out there now is dynamically generated with data customised and tailored to each visitor. You are reading one right now, if you had a user you could manipulate the comments to only display the ones you want, or even the stories. You can submit and share your ideas. It's so much more than just reading a document. Slashdot itself is a web application.

      I don't think I ever experience the internet before all this was possible. The internet very quickly became a way of manipulating data as well as just reading it. It was just done in a very crude way using CGI programs. AJAX is just the next step allowing us to make the process of updating and manipulating data much more transparent to the user. It allows us to converge things that used to be done by external applications into a single application, the web browser. This is a good thing. You no longer have to download Yet Another Application just to remotely manage Yet Another Data Set. Gmail and Google Talk are perfect examples of this. I can chat to my friends without having to install yet another IM application. It's all done through the web browser.

      Granted that at the moment AJAX is currently undergoing it's overhyped bubble effect, but once it bursts and settles down to a more reasonable level I can guarantee you that you will probably be using it without even realising it. Just as you are currently using current web applications without even realising it.

    7. Re:Hate to sound like a luddite but... by mad.frog · · Score: 2, Insightful

      Web documents have no place being applications

      Well, yeah, by definition. But that's like saying "computers are good for calculating projectile motion, they have no business being communication devices"... it's a robust technology with multiple uses.

      Flex is a popular lexer based on Yacc and not some web2 buzzword

      I presume you're being deliberately obtuse here, but just in case, let me help you out: Adobe Flex 2.0

    8. Re:Hate to sound like a luddite but... by Anonymous Coward · · Score: 0

      I've been viewing the web for 10 years, all I want from a website is information and I want it fast.

      Well the web isn't designed around you. The rest of us want websites like slashdot, web based email applications that let us read (and gasp! SEND!) email from anywhere we have access to a web browser.

      Web documents have no place being applications and javascript and flash have no place in documents. Why do people not understand this?

      No one is arguing that javascript and flash should be embeded into documents. We're talking about web based applications here - like the one you used to post that comment. Not the sharpest marble in the bag, are ya?

    9. Re:Hate to sound like a luddite but... by Anonymous Coward · · Score: 0

      First and foremost flex is a word, then a lexer. The rest is not really important.

    10. Re:Hate to sound like a luddite but... by Anonymous Coward · · Score: 0
      So says the guy that just used a form to post to slashdot.


      Content generated on the server is rendered in the UA as a static document, no javascript or flash is required to read slashdot. Pages made dynamic by use of degradable CSS layout techniques without resorting to javascript triggers are equally benign. Web applications exist on web servers, if you are required to run code on the client it becomes a client application and I will not use it.
    11. Re:Hate to sound like a luddite but... by Anonymous Coward · · Score: 0

      There might be some truth to what you say but nobody books flights or does online banking for entertainment. So why do these sites so often require javascript and flash?

    12. Re:Hate to sound like a luddite but... by Anonymous Coward · · Score: 0

      Yes, exactly what I meant. It's been a long time since I used lex/yacc but at least I didn't confuse it with bison.

    13. Re:Hate to sound like a luddite but... by Anonymous Coward · · Score: 0
      Slashdot itself is a web application.

      Correct, slashdot is a web app in that static data is sent back to the UA. If it required javascript to function it would be a remotely delivered client application.

      AJAX is just the next step allowing us to make the process of updating and manipulating data much more transparent to the user.

      I don't experience any speed problems with traditional CGI type web apps, there's no justification for AJAX there. Unless you have a poorly designed web app, the additional overhead in serving a full page is minimal compared to all the extra requests.

      Gmail and Google Talk ...

      Google talk uses http? I've used web based email without any requirement for javascript.

      Granted that at the moment AJAX is currently undergoing it's overhyped bubble effect, but once it bursts and settles down to a more reasonable level I can guarantee you that you will probably be using it without even realising it. Just as you are currently using current web applications without even realising it.

      No, I promise you I will never run executable code directly from a public facing server!
      I also know what a web application is, I've been writing CGI programs longer than you've been using the intarweb ;) The only way I'll use AJAX is when I can download the client app as source code and am certain it isn't going to eval any remote code.

    14. Re:Hate to sound like a luddite but... by Anonymous Coward · · Score: 0

      None of the things you list require javascript, and sharp marbles would be useless as marbles. A sharp marble might be better for some non-marble purpose, just as Ajax might be suited to things other than browing the web and submitting data to web sites, which can be accomplished perfectly without client-side script.

    15. Re:Hate to sound like a luddite but... by OzRoy · · Score: 1

      OK Now you really do sound like a luddite. I don't know what you think Javascript is capable of, but it is not a compiled application that has the ability to destroy your computer. It can manipulate a webpage, and the browser window. That is all.

      All AJAX uses is javascript, a bit of xml, the http protocol, and a CGI script. Nothing more. So yes, google talk can use http. If you log into gmail you have the option to chat to your google talk contacts through the web browser. It's a new feature, so you may not of heard about it yet.

      Also by your argument you can use AJAX applications right now. It's all javascript, it's not a compiled language. So you can download the client app as source code and read it. My recommendation is to use Firefox, install the web developer extension and then under the information menu select 'View Javascript'. It will display all the javascript the page uses.

      I never claimed that any of this stuff was not possible using more traditional techniques. All I am saying is it's a new technique that will make the whole experience better. It allows a user to perform multiple tasks Asynchronously, something that is not possible using traditional CGI. It transforms the web from a clumsy unnatural static environment, into applications that behave more like everything else on your computer.

      Your whole reluctance to even look at it's possibilities is sounding a lot like the irrational argument that went on over cookies when they were first introduced in the mid 90's.

    16. Re:Hate to sound like a luddite but... by Anonymous Coward · · Score: 0

      Welcome to 1996, Mr. Curmedgeon.

      You really need to get over yourself.
      If anything you should at least be pleased that xmlhttrequest removes the need for java and flash in many websites.
      Making webmail, mapping sites, extranet business apps, etc. easier to use without downloading extra plugins is a good thing.

    17. Re:Hate to sound like a luddite but... by Anonymous Coward · · Score: 0

      If they don't know what "Flex" is, they certainly don't know what the unnecessary buzzword "RIA" stands for either.

    18. Re:Hate to sound like a luddite but... by maxcray · · Score: 1

      I agree. The web was not disigned for applications, and technologies that try to use it for such are kludges. The web should be for hypertext documents, and we need a new separate technology for internet apps. For this reason I started the NewI\O project (http://www.newio.org./

  7. You lost me. by AnonymousPrick · · Score: 2, Interesting
    I don't know about Ajax or Flex. OTOH: But now that users are flocking to non-modifiable, one-size-fits-all web 2.0 apps like Gmail or Flickr, are we moving away from our open source ideals? Those services do provide many important benefits, but in the process of their enthusiastic adoption did we not loose sight of the most important issues?"

    What users are you talking about? Those who use OSS or your typical Internet user?

    Bare in mind that the internet, aside from the technical sites, has become a huge business, ecommerce, entertainment, and anything else that non-IT people want to use it for. The latter folks have no idea what OSS is. They just want thier music, porn, buy books, etc... And they'll use whatever canned software that is offered - they don't want to mess with code.

    I guess what I'm saying (and what others have said) is that the internet and computers are just a home appliance now. Anyting that makes computers more of an appliance will sell BIG!

    --
    Saturday is April 1. Slashdot will be shut down. Sorry for the inconvenience.
  8. Killer app by MyLongNickName · · Score: 3, Funny

    Those services do provide many important benefits, but in the process of their enthusiastic adoption did we not loose sight of the most important issues?

    The killer app is one that automatically fixes "lose" misspellings? ;)

    --
    See my journal for slashdot ID's by year. Mine created in 2005. http://slashdot.org/journal/289875/slashdot-ids-by-year
  9. "we not loose sight?" by TopSpin · · Score: 1

    No. "We" have the vision clearly in mind in all of the cases you mentioned. Gmail, for example, is available to you from almost any contemporary communication device, including your handheld, laptop, public terminal, cell phone, etc. The same functionality is also provided by nearly all other hosted email services, including those one might build for exclusive use. This is the "freedom" users value. Precisely which "ideals" and "important issues" do you suspect have been so "enthusiastically" abandoned?

    --
    Lurking at the bottom of the gravity well, getting old
    1. Re:"we not loose sight?" by Wesley+Felter · · Score: 1

      Precisely which "ideals" and "important issues" do you suspect have been so "enthusiastically" abandoned?

      User privacy.
      User control over upgrades/downgrades/UI changes.
      Ability to switch applications while preserving data.
      etc.

  10. I don't think you sound like a luddite. by AnonymousPrick · · Score: 2, Insightful
    Web documents have no place being applications and javascript and flash have no place in documents.

    I see some really nice web designs out there, but when it takes a minute (or more!) to load a page with a DSL line, then I get a little testy. And many times, I absolutely agree with you. I just want the information, the graphics/Flash/whatever do not add anything. And many times, it makes site navigation difficult because the page becomes so cluttered, it's hard to make out what you're looking for.

    --
    Saturday is April 1. Slashdot will be shut down. Sorry for the inconvenience.
  11. Some Apps kill allready by saber_t_katt · · Score: 1

    Iv'e found some apps that allready kill their software counterparts. http://meebo.com/ is an IM client that I use at home and at the office because of its portability and ability to function over trillian or other IM clients. A killer app is something that should do it for YOU not the market as a whole. I swear by Meebo but other AJAX apps fall short. Microsofts "Live Office" is grand for the avarage user, but he tech community will find it lacking... it is all about useage for YOU.

    --
    Go ahhead and run lad... I'm a good shot
  12. Not here... by bobcat7677 · · Score: 0

    The latest project on my plate is a console app even. So refreshing to deal with an application that actually responds in a reasonable amount of time to button clicks. Console apps aside though...

    The main web app I am working on these days still happilly uses VB6 controls. We (the engineering crew) have discussed switching to .net or some other new fangled thing more times then I can remember but we always come to the same conclusions. It works and works well and has no limitations another technology could overcome any easier, switching to something else would not benefit us any beyond being able to brag that I'm coding in [insert fad here]. Downsides include spending ALOT of time re-engineering a pretty complex system and almost certainly introducing a bunch of bugs that would almost certainly cause the product to loose customers.

    In short, we aren't AJAX revolutionaries because we would realize no benefit from it. Google used it in one app and that spurred a frenzy because it was cool and it was Google. But that was an implimentation of somthing special that couldn't really be done well any other way. To say we need to automatically apply that to all the old functions just because Google uses it (for something mostly unrelated to what we are doing) is dumb. When we have a problem that analysis shows AJAX is the best solution for, only then will we dive into it.

    Do I think AJAX will go away? No! It certainly has it's uses. Do I think AJAX has been over-hyped and a bunch of managers will make their engineering teams use it for no good reason because of the hype? That is a resounding yes. Oh well, life goes on.

    1. Re:Not here... by Anonymous Coward · · Score: 0

      The main web app I am working on these days still happilly uses VB6 controls. We (the engineering crew) have discussed switching to .net or some other new fangled thing more times then I can remember but we always come to the same conclusions. It works and works well and has no limitations another technology could overcome any easier, switching to something else would not benefit us any beyond being able to brag that I'm coding in [insert fad here].

      Using an IE proprietary extension is as good as just making simple platform-independant xmlhttprequest calls?

      If you say so...

    2. Re:Not here... by bobcat7677 · · Score: 1

      Using an IE proprietary extension is as good as just making simple platform-independant xmlhttprequest calls?

      The controls do all the work server side sherlock. We did extensive testing to make sure it works properly on a variety of browsers including Firefox, Netscape, IE and foreign language browsers. Ironically in this case, our application works seemlessly with alot of browsers that don't even support xmlhttprequest calls or support them through hacks (IE 6 and below activex objects???).

    3. Re:Not here... by Anonymous Coward · · Score: 0

      WOW.
      You really don't understand this AJAX concept do you? Didn't stop some sucker from giving you a mod point :)

      Your orginal post pointed out that you won't be using AJAX and you're happily using VB6 controls and "switching to something else would not benefit us any beyond being able to brag that I'm coding in [insert fad here]. "

      AJAX doesn't replace any sevrver side technology, it just enhances web apps by allowing you take make calls to your server without complete page/frame refreshes. Before XMLHTTPRequest became ubiquitous, that type of functionality existed only through use of plugins like flash, java, activex, or a really ugly iframe hack.

      The benifit you're failing to see is that XMLHTTPRequest and dynamic content in DIV tags are standards that most browsers now support. Using ugly hacks and/or requiring site users to download extra plugins is becoming a thing of the past.
      If your server side Visual Basic controls were worth a shit, they would at least give you the option to generate cross-platform client side AJAX code.

    4. Re:Not here... by bobcat7677 · · Score: 1

      Of course we could generate AJAX code on the server side with the visual basic controls. But my point all along is that there is no reason for us to do anything like that. There are actually reasons not to. For instance, IE6 and earlier actually uses a client activex control to execute XMLhttprequest code. Why would we want to change to something that requires all our IE users to use an activex hack to work? When IE7 is mainstream and things like the newer versions of Opera are firmly embedded in the users computers so people are natively supporting xmlhttprequest calls, then we can revisit the idea. In my business we don't have the option of dictating to our customers that they have to use a specific browser or browser version. Either it works or they go away. Sure there are ways of getting the older browsers to handle it in most cases, but as far as I'm concerned their all hack solutions and not something I'm willing to hang the future of my company on.

      The logic is simple. If it just has to work no matter what, use the tried, tested and universally supported solution. Being progressive has it's place...especially in the cyber world. But as far as I'm concerned there are far too many elitist web devs out there that think the world has to conform to what they say because they say so.

    5. Re:Not here... by Anonymous Coward · · Score: 0

      For instance, IE6 and earlier actually uses a client activex control to execute XMLhttprequest code. Why would we want to change to something that requires all our IE users to use an activex hack to work?

      You still don't get it...
      The difference between the IE6 xmlhttprequest and the native one of firefox, opera, and IE7 is really just in the way you instatiate the object:

      if
      (window.XMLHttpRequest) {
      xmlHttpRequest = new XMLHttpRequest();
      } else {
      xmlHttpRequest = new ActiveXObject("Microsoft.XMLHTTP");
      }

      Why would we want to change to something that requires all our IE users to use an activex hack to work?

      As opposed to whatever hack youre using to get them doing asynchronous requests?

      Of course if you wish to support old browsers, this shouldn't be required. The lowest common denominator could be targeted for base functionality. AJAX could be supported on top of that.

  13. Semi OT: OpenLaszlo by WoTG · · Score: 4, Informative

    I've just discovered OpenLaszlo earlier this week. It's a (now) open sourced web RAD system. It compiles into Flash files so almost anyone can run the apps, and it feels a lot less hacky than Javascript ever did... blasted browser wars, "standards", and all. Pretty interesting technology -- especially if you can't wrap your mind around building an application in the Flash "everything is a movie" model. The IDE is an Eclipse plugin.

    I think the original point to my post was that AJAX is nice but I don't think that the standards are there yet.

    1. Re:Semi OT: OpenLaszlo by Zardoz44 · · Score: 1
      I'm keen on Laszlo too (pandora is a really good use of it--google if you don't know), but I need to be picky about some of your points.

      First, you're not really building your application in flash. You're building it in (mostly) xml and Laszlo is currently compiling into Flash 6/7/8. They explicitly say that they designed it so that if someone else comes along that's as-good/better that they'll try to support that as well. It's just that flash really has few RIA competitors, so they're using it now.

      Secondly, it's highly integrated with javascript so you can make it feel just as hacky as javascript ever did. They have some nice tricks with events that make some of the javascript simpler (and you don't have to write tons of javascript UI controls). You don't have to use javascript with it, but you'll probably find things a bit easier if you do.

      And third, as much as it pains me to say it, javascript itself is a beautiful language and hardly hacky at all. Undisciplined javascript and working with the HTML DOM is where that hacky feeling comes through. Everyone blames javascript because of all the garbage javascript "tricks" out there that make you want to shower after visting a page.

      Finally, and most important, OpenLaszlo uses AJAX. They have multiple solutions for the same problem, but recently (3.1 I think) they added XmlHttpRequest support. Compile the Laszlo app once and have it read from XML dataset(s) that are updated by AJAX calls.

    2. Re:Semi OT: OpenLaszlo by WoTG · · Score: 1

      Fair enough. For the record, I didn't intend to imply that JS itself was hackish, it's the browser compatibility and consistency that drives me nuts.

    3. Re:Semi OT: OpenLaszlo by gse · · Score: 1

      Yeah, OpenLaszlo's been "asynchronous javascript and XML" since its inception, even before the XmlHttpRequest support.

      And we're demoing a pre-alpha DHTML runtime now:
          labs.openlaszlo.org

      (I work for Laszlo Systems.)

      --
      wordclock records :: flailing since 2000
  14. Forum software by Spy+der+Mann · · Score: 1

    The SMF forums use AJAX for post previewing. I was a bit confused at first, but it was somewhat gratifying to see your post previewed without having to reload the whole page.

    VBulletin also uses AJAX in its latest version, specially when you edit a typo in one of your posts.

    But I think the real revolution will happen in intranet apps, where there are TONS and TONS and TONS of forms!

  15. I almost want to... by NoMoreNicksLeft · · Score: 1

    Brag up my own site. I'm only using a modest amount of ajaxy stuff, but I'm making heavy use of javascript/svg, for things that people wouldn't think possible without java.

    It is sort of a picture trading site, I suppose you could say. Free users get credit for uploading pictures, and for using a webapp to enter metadata about those already uploaded. All pictures thusly cataloged are searchable (and no, it isn't just tags). Wish I could show some of the applets, but they're not really SFW.

  16. Standardisation is the killer app by mdavids · · Score: 3, Informative

    AJAX is a transition point in the web's evolution beyond the browser. The real killer app is what happens when these applications' communication protocols standardise. It's not so long ago that when you wanted to run a blog, you either hand-coded HTML or had to have a server running slashcode. Now you can choose between dozens of free and non-free web apps or hosted services, and it doesn't really matter which you choose because your audience can aggregate from any of these via RSS, and view your content in whatever client they choose. I'm sure Blogger.com is still a viable business, but it's increasingly irrelevant.

    Similarly, it's rapidly becoming possible to share calendaring information with others via CalDAV without caring which client and server options you and your collaborators prefer.

    Whenever I do a Drupal site for an organisation I like to encourage them to set up an LDAP directory, so that they can use the same authoritative data source for authenticating to Drupal and other systems, internal address books (usable from a multitude of clients), and finely-grained control over sharing personnel data with affilliated organisations. The ability to do all this is very cool, and not at all dependant on my choice of OpenLDAP (which is, frankly, a bastard to get working), as the critical element is the LDAP open standards.

    These are pretty simple examples, but I don't think it's too much to expect that open standards for interacting with applications like Flikr and Del.icio.us will emerge, along with increased choice over back-ends and interfaces and effective commoditisation of the services. Value moves up the chain, innovators move on to the next big thing, and it all starts over again.

    At least that's how it should work.

    Matthew.

    1. Re:Standardisation is the killer app by Shadowlore · · Score: 1

      Nice, well done post. I agree with most of it.

      However ...
      I'm sure Blogger.com is still a viable business, but it's increasingly irrelevant.

      Consider the "side effects" of such a business, for google. With the increasing services Google has been playing with, tying a better Blogger into it could be a very nice step forward. If, for example, blog entries and comments are immediately available in Google search results, they may have something of value to both searchers and advertisers, as well as authors. For example, view the crap that is www.weblogs.com. Compare that to a Google blog search, with their own blog "businesses" available immediately in search (with an option to not have it done, of course).

      Tying in Gmail, Blog, and whatever else they decide to do can still have benefits/rewards for Google (and us) with blogger.com.

      Now, I'm not saying they will/plan to do this, nor even that it is a good idea. Just that it might be.

      --
      My Suburban burns less gasoline than your Prius.
  17. Excuse me? by uber-human · · Score: 2, Informative

    You want to use C for web coding? The two just don't mix!
    JavaScript is flexible, simple, and already has the features needed for web development (like DOM).
    C is NOT the answer to everything.

    1. Re:Excuse me? by thhamm · · Score: 0

      C is NOT the answer to everything.

      true. now tell me a problem javascript is *the* solution for.

    2. Re:Excuse me? by maxcray · · Score: 1

      > You want to use C for web coding? The two just don't mix!

      Maybe so. How about using C to write internet apps, and ditch the web?

      http://www.newio.org/

  18. We just started with Ajax on our Intranet... by Anonymous Coward · · Score: 2, Interesting

    We are a small web development team ( 4 people ) doing web app work to interface with our mountains of textual data stored away in our DBs ( oracle and mysql ). We used to use the traditional click/reload web app design but have recently made the switch to focusing EXCLUSIVELY on Ajaxy clients doing a lot more with a lot less development work. I wrote the framework that we use to generate Ajax logic on the fly with our scripted templating engine ( think RoR, only with a lot more power and a lot more flexible and maintainable ) and it has turned our standard application development time from about 2 weeks down to about 2 days. We have some pretty advanced stuff already.

    I've gotten our applications to basically mimic a natively compiled application. Our default 'skin' is a Win2k look and feel, but I've already been tinkering with whipping up CSS designs to give us OS X looks and also some KDE looks. The templating is what gives us the most power. Automatic code generation is our best friend.

    Anyone seriously working with Ajax/JS on the large scale really does need to use some kind of code generation mechanism for all of your logic definitions. The technology to power most of the cool functionality you'll need changes too rapidly to allow yourself to have a codebase that can't adapt to the changes. With 6 tools currently in production using our new framework ( that we released two weeks ago ), if we wanted to change our primary JS library ( prototype ) for whatever reason, I would change the JS logic in our 'logic generation' template and all of our tools would be up-to-date automatically.

    It's really changed the way we do things.

    -E

  19. What about printing? by rmayes100 · · Score: 1

    One of the things I see holding back all these web-based applications is printing...how do you format envelopes and labels, insert page breaks and format pages etc. when you are at the mercy of the printing capabilities of the user's browser? Online is great but sometimes you just want a hard copy.

    1. Re:What about printing? by mad.frog · · Score: 1

      I don't know of a good AJAX-y solution.

      Flex gives you a good deal of control over printed output.

      A smattering of the API provided: http://livedocs.macromedia.com/labs/1/flex/langref /flash/print/PrintJob.html

    2. Re:What about printing? by Anonymous Coward · · Score: 0

      PDF.

    3. Re:What about printing? by sg_oneill · · Score: 1

      What exactly *IS* flex. I've googled it and all I find is marketing buzz.

      But in a nutshell, what's flex?

      Is it like.. flash or something?

      --
      Excuse the Unicode crap in my posts. That's an apostrophe, and slashdot is busted.
    4. Re:What about printing? by moonbender · · Score: 1

      CSS2 already has the capability to add page breaks which most browsers seem to support, and I'm sure the positioning is also there, at least in theory. CSS3 will increase the feature-set even further, although of course application support will take a while--not as long as before though, I'd think.

      --
      Switch back to Slashdot's D1 system.
    5. Re:What about printing? by Anonymous Coward · · Score: 0

      Sheesh. The comment you replied to gave you a link into the Flex documentation. Why are you waiting for a response from lazyweb?

    6. Re:What about printing? by CableModemSniper · · Score: 1

      No dice in Safari :(

      --
      Why not fork?
  20. Don't use javascript-only validation by psyclone · · Score: 3, Insightful

    Heh, you better not rely on javascript to validate your forms. What happens when the malicious user disables/modifies the javascript? You still need to send that data to a server-side process for validation.

    Using asynchronous javascript to send the data to the server and get the response is a way of saving time by drawing less of the page. But you still need to server-validate.

    1. Re:Don't use javascript-only validation by Scarblac · · Score: 1

      Of course you should always check server side. But that doesn't mean that you can't check client side as well to have a nicer user interface.

      --
      I believe posters are recognized by their sig. So I made one.
    2. Re:Don't use javascript-only validation by Luyseyal · · Score: 1

      Yeah, no kidding. I actually take advantage of this regularly. My main email is a .info domain and a lot of sites choke on it. My first "hack" is "turn off javascript, reload, resubmit". It usually works. I swear to god the monkeys that shit code these days...

      After that, I follow-up with a "Contact Us" email about their website being broken. I've had some success in getting people to fix the problem. I usually recommend they do the same thing with email addresses as passwords -- have users type it twice. Slightly annoying but helpful in preventing accidental bounces.

      -l

      --
      Help cure AIDS, cancer, and more. Donate your unused computer time to worldcommunitygrid.org. Join Team Slashdot!
  21. it's the unexpected! by Anonymous Coward · · Score: 0


    you network believers are going to be fucked when one of the systems you rely on goes down. a little too failure-prone / can't-fix-it-myself for me. it's hard enough to get people to do backups now... what happens when you assume your stuff is safe because it's in some digital bank vault somewhere? what happens when you can't get in?

    so to all these web-apps, i say thanks but no thanks. if you want to give me a stand-alone version i can run in my browser *locally*, that's great. if you expect me to trust you, then i'll join the rest of the people that keep functioning in disasters and say "no".

    so here's the point: "universal access to my work with NO effort, just a reasonably current browser" ... and reliable trustworthy internet connections and reliable trustworthy ASPs. two items that seem certain until your little world of reliable trustworthy pervasive technology / society / law is shattered.

    not trying to rain on anybody's parade here, just considering reality here.

  22. To answer your question by lux55 · · Score: 1
    But now that users are flocking to non-modifiable, one-size-fits-all web 2.0 apps like Gmail or Flickr, are we moving away from our open source ideals?

    Perhaps there needs to be a distinction between "we"s here. We, as in the open source believers/advocates/etc, may indeed be partially giving away our open source freedoms in exchange for convenience in using new web-based apps like these. We, as in the mainstream, are doing exactly what could have been predicted we'd do: going for convenience as we always have. That's never changed, and is why open source is still only used by a fraction of end users. Where open source users move towards web-based applications is at the fringe of open source where it meets the mainstream: Those who aren't super dedicated to open source as a concept, and only really used it because of the value proposition it sold them on initially.

    If you look at things in other areas of IT, you'll find confirmation of this there too. For example, this is partly why the iPod is successful with less options than its competitors, why most people don't bother with replacing MSIE even after all the security nightmares over the years, and so on. In the case of the iPod, ease of use is more convenient than learning how to use extra features. In MSIE's case, it _appears_ to most people to be more convenient to do nothing and fret than to find an alternative.

    Web-based applications succeed based on their ability to sell convenience over desktop equivalents. In cases like Gmail and Flickr, they've succeeded against their desktop counterparts. The sharing of photos is way more convenient with Flickr, and Gmail is not only easier to use (ease of use == convenience), but it's also online, which is more convenient in itself for many people.

  23. I think... by iMMo · · Score: 1

    the killer AJAX app will be a XUL app, not a web page.

  24. What will be the killer app? by Xugumad · · Score: 1

    Why do people feel a need for technologies to have a killer app? I mean, yes, killer app = good, but if a technology doesn't have one, maybe it's just not destined too.

    Okay, so I'm a little fed up about hearing about AJAX. It's not a cure for cancer people, it's a way of updating web pages without a page refresh! For the people that find it useful, great. I really like GMail, for example.

    I see comments like "most sites that utilize these technologies seem to be incremental improvements, not revolutionary interface changes." and think - well, that's great. I don't want incredible shiny web applications that sing, dance, and have unspeakable numbers of points of failure, I want web sites that let me do what I'm there to do, as quickly as possible.

    Let me give you an example; at work, expenses are submitted through an online Java applet. It's pretty, it's shiny, it auto-verifies your data on entry, provides useful tips... and you know what? On half the systems I have access to, it refuses to work. Sure, it's mostly an issue with having been poorly tested, but if they'd given me a web page with some nice standard form/input fields, I'd have been done in a fraction of the time...

  25. The biggest get always the best place by wysiwia · · Score: 1

    Even if the web is a very democratic place only the biggest player get a top place. Just look how Yahoo declared itself as satisfied with second place or like Microsoft won't overtake Google anytime in searching. To overtake any leader of a certain kind of a web site you need huge amounts of resources, resources which only the leader can afford. So whenever there's this killer idea any big player simply takes it over and integrate it into their own side. Only when big players sleep like Microsoft did with IE, outsiders (Firefox) get a chance.

    On the other side it's quite easy to destroy someone's business if you use the right leverage and are prepared to drop enough money out of the window to push such a leverage (see OpenOffice). Of course that means you neither can make a business yourself except after you are the undisputed leader. Yet another sample is the Xbox360, even if the PS3 will be a success, Microsoft will simply launch another XboxHDTV and will crush the PS just a year or 2 later since they have these resources.

    What amazes me is that nobody understands these simple mechanics. The web is the ultimate amplifying factor which soon will influence even normal business like shopping or banking etc.

    Besides just look how Microsoft has an OpenSource lab to know any emerging thread from the OpenSource community many times even before the OpenSource community knows it itself. All the big players, who can afford it, have such labs and also the ordinary business has soon to use this technique.

    To summarize, it's quite unlikely to see any killer idea emerging from small sources since these don't have the necessary sources. Another sample my own idea (http://wyoguide.sf.net/papers/Cross-platform.html ) needs a few millions to get started. But if I get this money it will completely change the desktop environment, finally fixing Ubuntu Bug #1.

    O. Wyss

    --
    See http://wyoguide.sf.net/papers/Cross-platform.html
  26. Mod This Mother Way Up!!! by Anonymous Coward · · Score: 0

    The killer app is functionality! The use of ActiveX and now java script are great for adding functionality but, with functionality comes major problems. When you make it so that an unknown web designer is able to run unknown code, unknown to you, on your machine you are just begging for a dick in the ass! That's what has happened with Internet Explorer and ActiveX. Developers started to exploit the functionality to their own benefit, screwing the users, and now you can barely use Internet Explorer at all. If you do you are guaranteed spyware, viruses, cross sight scripting, total pwnage!

    Then everyone discovers java script. I don't know why it took so long to discover it but, they finally did. Using java script you can manipulate the client in almost any way. Given a little bit of time, the developers will figure out how to use this functionality for evil the same way that they did with ActiveX. Now many will argue that it can't happen because 'java script is more secure' or 'java script doesn't have as much power' or 'java script is sandboxed' but, it's only a matter of time before someone gets creative and ruins java script for everyone. Everyone will be forced to turn off java script support and Web 2.0 will be gone in a couple of clicks. It's already beginning. Note the recent discovery of a GMail java script exploit by a teenager. Sure it's minor. Sure it's already fixed. But, the exploits have begun.

    Besides, when you get right down to it, the functionality that is being offered isn't all that wonderful. Type ahead autocompletion is nice and it's way cool because it is so new in web pages but, after a while the novelty wears off and it isn't all that special. But, who really wants character by character relay all over the web? Who wants web sites turned BACK into telnet applications? If you put lipstick on a pig, it's still just a pig! But, now the pig is giving you a disease!

  27. Forms software by EarthlingN · · Score: 1

    You're right about forms.

    A lot of things will change when anyone can start making and using business quality electronic forms the same way they use word processing and e-mail today. All you'll need for taxes is this year's ODF/XForm. 80% of "business app" software will go away. Standards committees like HL7 and X12 will become un-necessary.

    We're getting closer. (see: freebxml.org, PDF, OpenOffice, XForms, Mozilla) It just isn't quite there yet. Who knows, some revolutionary forms client may use asynchronous Java script, but it doesn't really seem maintainable to me.

    With implementable standards, the software should follow and small business will finally be able to replace a lot of their paper/pens and hand-crafted form applications.

  28. Hear Hear! by AmazingRuss · · Score: 1

    While there is a cool factor to all this, its essentially a hackup of a document presentation interface. The code ends up an unmaintainable mishmash of 2 or more languages within a file. Sure, you get a charge out of making it all work, but it really is crappy software engineering.

    For instances where you really can't run an executable on the client, and all you have is the browser, it's obviously the only solution. I think these situations are the minority, however, and users can be much better served by a client side app running ssl over the internet to a backend database. Response is snappier, browser compatibility is a non-issue, and it uses a lot fewer packets.

  29. PDF! by dolmen.fr · · Score: 1

    For clean printing, webapps can output PDF files.