AJAX and IE7?
Moochfish asks: "Recently, my company took a brief look at AJAX to see if it was worth implementing on a few of our administrative pages to speed up certain tasks. I had created a demo that made an interesting use of live edit fields that showed some promise. However, after a little debate on the issue, we ultimately decided to skip AJAX implementations anywhere in our codebase due to concerns about things breaking when IE7 comes out. I haven't personally tried IE7, but I completely understand and mirror the concern. For you testers of IE7, does it successfully render current, non-ASP AJAX enabled sites without errors? And finally, does IE7 introduce any new functionality that may enhance the current capabilities of AJAX?"
"Many of the AJAX libraries out there have tons of duplicate functionality to handle cross-browser support. Recalling Microsoft's history of IE quirks, it seems likely that the new IE7 will have its own set of problems with regards to JS implementation. With the AJAX craze only growing, how are other developers and IT departments addressing this problem? Is this even a valid concern? While this is probably not an issue with ASP developers - especially with the release of Atlas - is this an issue for sites that use non-MS technologies?"
Why not just install the beta and see how it behaves? I can't imagine they're going to change the interface to the XMLHTTPRequest object now, but even if they do, you can isolate that change. Bam, AJAX still works.
Seems your question might be more about DOM manipulation, but I have the same advice: install the beta.
Slashdot - where whining about luck is the new way to make the world you want.
For you testers of IE7, does it successfully render current, non-ASP AJAX enabled sites without errors?
What the heck does the tech creating the html/javascript have to do with the browser's usage of the generated code?
If you specifically mean ATLAS, they you should specify it in that question.
"If they have both, tell them we use Linux. And if they have that, tell them the computers are down." -Dave Chapelle
just have a popup on your page that automatically downloads, installs, and launches firefox.
We're like rats, in some experiment! -- George Costanza
Since it seems you want AJAX for internal uses, why do you care if it'll work with IE7? Seriously, maybe your organization should consider deploying Firefox...
If I recall, MSIE 7 has XMLHttpRequest - no more using MSXML. The same code should run on Mozilla and MSIE 7.
MS has also released their Atlas Ajax library/framework in the past couple of weeks.
I hate IE 7's interface. Tabs are ok, but the buttons and layout are not placed well on screen.
No. The answer is clear. They should postpone doing anything until Microsoft is ready for them to start, with IE7.
How DARE anyone think of innovating without Microsoft!?!
How DARE anyone think of doing anything with a computer that isn't the One Microsoft Way!?!
(That's sarcasm, for the impaired. Ordinarily I wouldn't think it necessary, but this IS Slashdot.)
The living have better things to do than to continue hating the dead.
It works fine. GMail runs smoothly, Outlook Web Access runs smoothly. IE7 is just IE6 + more features and better CSS support. And they're using the standard HTTP request object now, not the MS* one.
I'll subscribe to Slashdot when I see a month without a dupe, a typo, or an article the "editors" didn't read.
While this doesn't exactly answer the question posed, the question made me consider the impact IE7 will have on browser usage, and Microsoft's design decisions for IE7. Given the current market of browser distribution basically mandates that web designers and programmers fix IE6 issues, I am not so sure that IE7 will be considered in such forceful terms, or, that Microsoft will be forced to try harder to make the browser standards compliant and have fewer idiosyncrasies. Should web designers and programmers be forced to make frustrating fixes for so many generations of the same broken browser? From the numerous times I have been pissed at IE6 because it rendered something just slightly off, I know I might advice organizations I program for to tell users to use Firefox or Mozilla or Opera or nearly anything aside from IE6, or in the future, IE7. For Microsoft's sake, I hope they have considered the possible backlash from the generally non tech savvy users of IE6 when they get an update to IE7 and all the new AJAX applications break. I know that if I were trying to use Gmail or Flickr, and they just stopped working when I moved to IE7, I might just switch to Firefox or Opera if I hadn't tried before.
I think you're a little confused about what AJAX technologies are and where they run.
AJAX is a presentation philosophy (AKA: a client-side issue). It runs independent of the server technology used. On various projects, I have implemented AJAX on servers running PHP, ColdFusion, and static HTML. AJAX is server platform independent.
As for the particulars of IE7, I can say that using script.aculo.us and Prototype libraries run the same if not improved on IE7 in comparison to IE6. The fact that the libraries themselves are actively being tested for IE7 as new beta comes out means that I don't have to do anything extra for the changes; It just works.
I understand the initial concern for IE7/IE6 compatibility, but sticking with a popular library solve this problem and make the concern a non-issue.
As for the server-side of AJAX, what you'll be coding are pages that output either HTML, XML, or JSON. Any server platform can create this kind of output, so questions of server compatibility are moot.
But my word of cation is this: Know why you are changing a component to an AJAX philosophy and how best to implement it. There are good reasons to use AJAX as there are bad ones. Please proceed with cation and purpose.
AnamanFan - Trying to find the Truth, one post at a time.
How hard is it to download the IE7 beta? The app is in-house so if it breaks tell IE7 users to fuck off until support is added for it. Is moochfish totally inept or just trying to fan the 'IE7 is the suck' flames? My guess is the latter.
How does a 7-person democracy cut a pie? Into 4 pieces.
Runing IE7 Beta 2 Preview next to IE6.
That's what my company does. We support Firefox. If you're having a problem and it's IE related or Safari or Whateverbrowseryouwant, we try to help but if the functionality is not as good we don't worry. Granted our site is designed for speed and not beauty so we have few if any problems.
Eventually we'll reimplement and my goal is for us to have a good looking and fast site! I'll be long since retired from programming before that happens...
Cheers!
If they're going to wait for IE7 to come out of beta "just in case", by the same reasoning they should also wait for Vista to come out of beta.
Seeing as Longhorn/Vista was originally supposed to be out in 2003, oops, 2004, sorry 2005, for sure 2006, now definitely Januar 2007, the question is "Which will be out first - Vista or Bush?"
"Take it from someone who knows..." from personal experience? You suck too?
He's talking about a intranet application for his company. To state it clearly: it's an in-company application, so you have full control.
Where's the problem telling users to employ Firefox? Hell, most companies oblige you to use Microsoft Word to write your documents and Outlook to manage your e-mail. What's the difference when telling people "you must start Firefox when using the accounting application"?
You truly understand.
There's simply a general misunderstanding of the statement, "Microsoft sets the pace for innovation." At face value, it looks like they're bringing us along, instead of slowing us down.
The living have better things to do than to continue hating the dead.
Is it going to be "IE7's not done untill gmail won't run" all over again?
I got an idea ... YOU have the Ajax script that you want to test. Why don't you download IE7 beta, test it on your script and YOU tell US how it works by posting the answer to this thread.
Thanks from all of us.
-- Slashdot users. (I speak for them in this case.)
...that people will not stop using IE until you stop supporting it? Fuck IE, code for the standard, if it breaks IE, tough crap, they can get another browser.
Help us build a better map!
And how many places tell you to use IE.. That's far more retarded. And boils down to laziness on the part of the developers.
I don't believe in forcing people to use particular apps either, however there's nothing wrong with demanding people use apps which comply to a certain set of standards.
This happens with cars too, if you go into a garage with a particularly old car in a really poor state of disrepair, it's highly likely they will recommend you replace it, cars can often get to such a state that repairing them is not financially viable and it's much cheaper and easier to buy a new car. This is the same with IE, it's horrendously outdated compared to other browsers and unlike a car, you can't get someone to fix it for you.
Apps should be written to published standards, and require any browser which complies with those standards, so long as the app complies with the standards then any browser that fails to render it is at fault. After all, there are many things which simply can't be done in outdated browsers like IE, and many other things that require lots of nasty kludges for IE but can be done easily and cleanly in modern browsers.
http://spamdecoy.net - free throwaway anonymous email - avoid spam!
"does IE7 introduce any new functionality that may enhance the current capabilities of AJAX?"
yes, it'll come with the almighty proprietary XAML technology M$ stole from Mozilla XUL. and everyone will bow to it and an html web will be gone...
You're really serious about waiting for something which you even fear might break your efforts? Talk about reasonable businessman...
There should be no wait or fear if you just coded for standards so that it would run on any browser. Or just go for Firefox, which is here now and works great, with great standards-compatibility which won't simply disappear in some future version.
If you're believing IE7 will be any close to Firefox in either standards compatibility or sheer top-notch features, you'll be severely letdown, as with most M$ products: it's nothing but a patched IE6 with some more much-needed uptodate css support, something FF has had for several years by now...
I don't feel like it...
We've tested IE7 with our Ajax apps, and they worked perfectly without any extra work. We did have some stylesheet issues, but no problems at all with Ajax.
IE7 replicates the XMLHTTPRequest functionality already found in other browsers, so if your Ajax library tries to use that as it's default, then it'll all work perfectly. On the other hand, if your libary tries to do browser detection before deciding which method to use, then you may need to update it. (Thus demonstating very nicely the reason why one should write feature detection code rather than browser detection)
(Spudley Strikes Again!)
I am sorry, and I am apologizing up front and will probably have my karma slammed, but I do have to comment.
I really have to question the legitimacy of this 'Ask Slashdot' article, and am wondering how the editors let it slip through. The article is either a fake, or the person submitting it is a piss-poor tester.
How hard would it have been to install the IE7 beta on a single machine to check the rendering of AJAX elements?
I have IE7 installed on a test machine that we use to test web apps. I also use it for much of my daily browsing. As a result, I have a list of items that IE7 just won't work with, chief among them are SharePoint event calendar rendering, and Microsoft Producer. It has not broken against AJAX that I've run into, and I use Pageflakes as my homepage on that machine.
So, the poster is faking a "my-company-wanted-to-use-the-latest-greatest-but- we-are-afraid-MS-will-break" article, or his company is paying him much too much for his perceived skills.
Really, editors, you should have caught this.
Politics is the art of looking for trouble, finding it everywhere, diagnosing it incorrectly and applying the wrong fix.
Ever stop and think that maybe web apps, although a noble concept, are a waste of effort? Lets be honest here, the browser languages are for the most part, third rate and were never designed to work together seamlessly. The security problems have become so much of an issue that developing these types of programs become more expensive and time consuming than traditional desktop applications.
It seems everybody has now jumped on the web app bandwagon in the past few years, but I question whether people really stop and look to see if the problem they are trying to solve can be done effectively with a web app.
I've done this with several things as well: libjsevent -> event abstraction; libjsdom -> some dom manipulation abstraction; etc. The advantage to this, is that if IE7 supports ajax differently or through activex or some other means, then I can add it to the library and all things work again. If I have to develop some special IE plugin I can check for that in my object and have it prompt the user for a plugin download.
All applications that need ajax use libjsajax and then I update the library and they all work.
Seems simple to me, or am I missing something?
Only 'flamers' flame!
Does slashdot hate my posts?
How about contributing something to this thread that wasn't already said in about 4-5 other (higher) posts.
Other posters have pointed out that AJAX works fine in the IE7 betas, but if you're making a site that depends on AJAX, regular javascript, flash, etc., you should always just have a normal HTML fallback for browsers (Such as lynx) that only support the basic tags.
How to enable garbage collection on a system without protected memory: #define malloc() ((void *) rand())
I'm leading some developements here on my company using big amounts of javascript/DOM manipulation/AJAX and I can say IE7 beta needs far less work than IE6 cause it's more DOM/CSS compliant but anyway the more javascript you make the more browser detection/dedicated code you need, no matter if it's AJAX/DHTML/Whatever you want.
I create software solutions; It's how I pay the rent.
Consider this Tensor: The more work the client does means less work the Server does; A classic example, "Initial Edits".
Consider the following senario:
1. HTML using CSS Posts a Form to a IIS web service,(because the submitter stated IE7 as the browser).
2. The reply comes back in the form of a XML response with an attached XSLT preprocessing instruction.
Notes:
2a. This XSLT file will have imbedded in it the HTML using a CSS file, and a collection of Javascript files that are either cached or not on the client.
2b. If the XSLT file is cached on the client, the result is faster.
2c. If the CSS file is cached on the client, the result is faster.
2d. If the Javascript file is cached on the client, the result is faster.
3. The client side performs any functions that the developers deem fit.
4. The reply is "Posted" back another IIS web service.
NOTE: Step 2 can be done on IIS; I know, because I've done it that way. Without having javascript handle the post reply.
With all the problems surrounding IE lately (and always), you'd be crazy to assume IE7 is going to be any better. If you're already expecting a lot of breakage from the new version, which it seems you do, given the concerns it's given you, why not start a planned Firefox rollout now, tackle any issues in a controlled manner with your old IE as a fallback, and by the time IE7 actually arrives, you no longer care because you're already running something else. I bet new versions of Firefox won't be as breakage-prone as new IE's.
Just because the truth hurts doesn't make it flamebait.
Help us build a better map!