Oct 29 2008

Is The Future of Ajax In Any Danger?

Posted by Mike Brunt at 10:55 AM ColdFusion | JRun-J2EE

I read a compelling article today from Joel Spolsky.  It revolves around Internet Explorer 8 and web standards, which as Joel Spolsky contends are more of a nice theory than a reality (standards that is).  What really stuck in my mind is the complete mess that Google Maps becomes when viewed in IE8 with strict standards applied.  In addition, I have hit so many web sites with JavaScript errors it is not funny and IE8, in; let's call it strict web standards mode, would render so many sloppily coded web sites unusable.

My headline is not meant to be attention grabbing but this all makes me wonder about the long term effects and whether this makes Flex a safer option for RIA's than Ajax?

Does anyone have any thoughts on this?

Comments

Marin

Marin wrote on 10/29/08 3:20 PM

<cite>let's call it strict web standards mode, would render so many sloppily coded web sites unusable. </cite>

well that's the point of IE8's possibility to switch rendering mode: if your code is full of IE proprietary code (hopefully it's just locked intranets), it will still work in IE8 (with the X-UA-Compatible meta tag).

For the rest not a problem if the code was hacks free.

One other reason to stick to standards
Chad Lung

Chad Lung wrote on 10/29/08 5:58 PM

Interesting... It might be safe to assume Microsoft wants Javascript/AJAX rich websites to be basically broken so people toss up their hands and move to Silverlight which they have much more control over rather than the wild west of HTML/Javascript/AJAX. That leaves the Flash Player and Silverlight contending head-to-head in the RIA space. Basically a repeat of the browser wars in the 90's but this time between Adobe and Microsoft.

I haven't used IE8 so I haven't run into the issues you've seen. I think I'll load IE8 into a virtual machine and test it out on a few sites. I'd really hate it if GWT powered sites would break under IE8...
Mike Brunt

Mike Brunt wrote on 10/29/08 6:08 PM

@Marin thanks for commenting and I am with you 100% regarding sloppy code. I am far from a good developer and spend most of my time in the heart of things, the JVM etc. Having said that I began coding in HTML back in 1993-4 and it never occurred to me not to close out tags and I am still the same in that respect. This Joel Spolsky article is so informative in my opinion.
Mike Brunt

Mike Brunt wrote on 10/29/08 6:14 PM

@Chad thanks for your comments, you make an interesting point that I had not considered regarding SilverLight. It seems it could be more difficult to mess up Flash based RIA's without being nastily overt about it however it seems that Ajax-JS-DHTML could be disadvantaged more easily.

Whatever we might think it seems like the time for stricter adherence to good coding practices is ever more compelling. I was shocked by the appearance of Google maps in that Joel Spolsky piece.
Dan Roberts

Dan Roberts wrote on 10/29/08 7:11 PM

I could be wrong but think Google Maps is highly optimized so very dependent on browser versions.

If anything I think this will push people more and more to abstraction layers for building browser based UIs that still run in html/js. With the huge performance improvements in browsers it is getting to the point where browsers may simply be html/js based runtimes for other language/dev environments. Check out Cappuccino.
Mike Brunt

Mike Brunt wrote on 10/30/08 6:38 AM

@Dan thanks for your comment, how do you see Cappuccino in comparison to Adobe AIR and/or Google Gears?
Dan Roberts

Dan Roberts wrote on 10/30/08 1:33 PM

As far as I'm aware, Cappuccino is an in-browser javascript GUI framework so relies on external services to persist data to the server or to the desktop by using AIR or Google Gears.
qiudong

qiudong wrote on 03/17/11 7:09 PM

unless http://feiyue.eu.com/feiyue-low-cut-cancas you have more than guests.
TN Pas Cher

TN Pas Cher wrote on 04/08/12 6:50 PM

was one of the best sharing. I bookmarked, this article made my day. Keep
rituac

rituac wrote on 10/22/13 9:51 AM

Donc bon. Peut-être que je ne dis pas que personne détenant le nombre plaisir dans cet article! Pour la raison que caractéristique plus puissant et aussi plus difficile crampons de foot fonctionnalité supérieure qui prend en charge l'amélioration de la visibilité de la région. La semelle extérieure en particulier, a été repensé pour offrir une efficacité lumineuse http://www.chaussuresfootacc.com . Que les fonctions Impression technique de traction adaptative unique de Nike l'endroit où les hommes à l'intérieur avant-pied pourraient se développer avec rétracter à travers autant que trois millimètres en fonction des conditions du sol et de la force exercée par la personne. Nike Flywire est utilisé pour créer sommet de l' , ce qui augmente généralement la gamme de flexibilité , même si verrouiller le pied de la prothèse unique , améliorant la fonctionnalité. Avec l'augmentation ainsi que plus de fans de sport friands de http://www.footballchaussurepascher.com et que vous voulez savoir profiter de cela, les produits de football particulières doivent être bien préparés très bien. Par l' avons mentionné précédemment, nous pouvons voir que foots de basket crampon nike hypervenom vont jouer un rôle essentiel dans le jeu de football en ligne . Avec goujons de pelouse multi- directionnelles à l'aide de lignes de pliage avant-pied chaussure foot mercurial , vous trouverez qu'il ya point pivot sur pied optimum et aussi la constance
cheap nike mercurial

cheap nike mercurial wrote on 11/21/13 12:11 AM

My own first possibility to visit this website.Good blog.
health-matrix

health-matrix wrote on 07/23/14 2:35 AM

Trying to change eating habits, exercise regimes, and general lifestyle can be a difficult task leaving many people wondering how to begin.
breakfast4health

breakfast4health wrote on 07/23/14 2:36 AM

If you are facing problem with any kind of health related issue, then you are suggested to use Herbal Health Care Products that are 100% organic and don't comprise any side effects.
waterloohealthcare

waterloohealthcare wrote on 07/23/14 2:36 AM

As a part of your diet that you forget to take health products, bodybuilding supplements, minerals and vitamins, vitamins & minerals, nutritional supplements because human body is unable to store much vitamins.
onlinewatchshopping

onlinewatchshopping wrote on 07/23/14 2:37 AM

Different types of people provide education related to health and there are several ways by which health education is delivered and it is based on a variety of behavioral change models.
italianshopping

italianshopping wrote on 07/23/14 2:37 AM

From the point of headhunting, till you hire the applicant a no. of things should kept in mind since you are giving some unknown a licence.
anderson

anderson wrote on 02/24/15 2:02 AM

I don't think so your future is in danger hand. looking forward for more information you shared here..<a href="http://gymmatsuk.co.uk/gym-mats.html">gymmatsuk.co.uk</a>;
http://www.eurl-duhautbois.fr

http://www.eurl-duhautbois.fr wrote on 08/29/15 4:18 AM

Information Technology has never been more needed and jobs in IT are not suffering from the downturns elsewhere. There may be short-term effects such as if we are working in the Automobile Industry in IT yet even there I feel salvation lies in intelligently applying IT to
victoria secret uk

victoria secret uk wrote on 10/09/15 11:52 PM

I love drinking scotch. Which one? All of them!
MB2-712 vce

MB2-712 vce wrote on 07/25/16 4:05 AM

This is great post and i am happy to find this informative topic shared here. looking forward for more information.