[Ilugc] the browser VM

  • From: viky.nandha@xxxxxxxxx (Vignesh Nandha Kumar)
  • Date: Fri, 8 Jun 2012 09:10:26 +0530

On Jun 8, 2012 6:42 AM, "Girish Venkatachalam" <
girishvenkatachalam at gmail.com> wrote:


Javascript cannot run in an OS. It's OS is the browser.

Haven't you heard of node.js and npm (node package manager) ?

And there is no better debugging tool than firebug with the firefox
browser like gdb on UNIX.

Though I'm a great fan of firefox and firebug and they are my personal
preferences as well, I would say chrome's dev tools is equally good.

A web programming language , particularly web 2.0 like Ajax or jQuery
or JSON/XML requires a
 thorough knowledge of the context; ie, web components.

Those except XML are not languages. Ajax is just a technique to load
content asynchronously using js. jQuery is a javascript library. JSON is a
data format originated from javascript.

Those are the browser, web server, DOM(Document Object Model) which is
the XML/HTML view of
 the web page and of course javascript and CSS.

DOM is not HTML view. As the name suggests, it's how the document (the web
page) is represented as set of objects in your browser. In fact, that was
the very first reason why firebug was developed - though one could simply '
view source code' of a page, which is the HTML view, there was no good way
to visualize DOM.

And JSON helps  you obtain nested data structures(array of arrays)

s/array/object
In javascript, an array is an object but the converse is not true.

Btw, JSON has replaced XML in the web in the recent years, thanks to its
much simpler yet much more powerful representation.


--
Vignesh Nandha Kumar
http://vigneshnandhakumar.in

Other related posts: