Why is the web still using multiple independent languages to make sites? Why not use a single OO language and call it a day?
In 2010, when bandwidth is many times more than what it was in 1995, why should we not be compiling web pages or translating them to some intermediate language? HTML and JS and CSS is just the tip of the iceberg. Consider a whole mess of technologies, like PERL, Python, PHP, SQL 9of all flavors) and you've got a mess of languages and odds are that you're editing the source code by hand or using inaccurate and un-optomized tools.
Compare that to iOS development or Java or even .NET. When I make an app, I declare an object and start setting property values. Easy. When I create a webpage, I must declare my markup and then link to a single or a few CSS files. Then, I go ahead and work on my scripts. Frameworks and frameworks galore. Either that, or messy code that is not easily maintained. to change a textbox's size, I have to go into my CSS and start messing with it. When I finally get that right, I've broken something else.
Why must IE, FF, Chrome or whoever know what the "semantics" of my webpage are? This is why I like div
tags. Simple building blocks they are. Other languages only care about datatypes for memory management reasons. I can see the validity of semantics only for the purposes of searching. However, that can be changed and worked around in a new language. Besides, I won't have to use robots.txt anymore. Yay, another few bytes of server space reclaimed.
Markup on the web was a good idea when bandwidth was tight, but it is now a terrible idea. The W3C is still working at a painfully slow pace to release "recommendations". I say we cut the nonsense and work with a single language, be it compiled, interpreted or somewhere in the middle. It has to be easy and work.
That said, why are we still using HTML as the platform of the web?