Saving View Source
Written by on February 15th, 2007 in Ajax News.
We look at a lot of Ajax applications, and we have seen a lot of trends over the last couple of years.
In general we are maturing, but as complexity has gone up in Ajax applications we are seeing one scary trend.
The first set of apps simply added some <script> that did some happy XMLHttpRequest dancing. Then we abstracted to libraries such as Dojo and Prototype. Then people tried to do the right thing and use unobtrusive JavaScript where we keep the HTMl structure separate from the code. We would all like to see more of this.
Unfortunately, we are starting to see Ajax applications that look more like Flash web pages:
The entire application is in JS that generates HTML to be embedded. If it wasn’t for Firebug and friends we would have no idea what was going on. Debugging this is a nightmare. Doesn’t it look like Flash pages with an embed/object pair of tags only?
I hope that the open web solutions can stick with nice unobtrusive JavaScript, or is View Source dead?
Source: Ajaxian
Original Article: http://ajaxian.com/archives/saving-view-source