|
Javascript has been such a success story that some have asked "Why just on the client? Why not use JavaScript on the Server?"
I think a lot of us old Java guys have to get out of the habit that everything's on the server now – in many ways – everything is on the client. In our day, there wasn't really that much on the client. Well – going way back everything was on the client – but then it moved over to the server and now it's sort of coming back to the client again – or most things are.
The server side is becoming thinner and thinner. The server side might just be Amazon Simple DB or Mongo DB or something; there might not be much of a three-tier architecture anymore. But the client side is becoming bigger and more and more complex; it's real-time now, everyone's doing Ajax, real-time updates, and people are doing lots of single-page applications – which is one Web page starts up and the entire app is in there. There's lots of models, containers, relationships and persistence and yada-yada. So JavaScript is really where the action is in terms of the platform.
In many ways the browsers won. Almost every mobile platform has Web capabilities inside it – Android, iPhone, iOS all have Web browsers and so forth. So the Web has kind of won, but most browsers use JavaScript and HTML 5. Silverlight's dead, Flash is kind of dying, user interfaces now and going forward – the browser is really where it's at with HTML and JavaScript.
Tangent to this is, everyone is compiling JavaScript to something else – even the JavaScript programmers. Nobody writes JavaScript and deploys it into production. You compile it into something. In development, even if you're using JavaScript, you combine it into a minified, combined single java script file. You might have a hundred JavaScript files and libraries and modules and you compile it all into one minified file. So everyone's compiling their JavaScript, even the JavaScript folks, right? |
|