[Ilugc] javascript and JSON

  • From: girishvenkatachalam@xxxxxxxxx (Girish Venkatachalam)
  • Date: Sat, 7 Sep 2013 15:53:52 +0530

JSON stands for Javascript Object Notation.

It is a protocol between server and client or between any two entities.

You can either give it on the command line or store in a file in that
 format or of course exchange over the wire.

It is a text based protocol with no endian issues.

It is not language specific. But in its name we find Javascript which is a
 language.

We find JSON implementations in perl, python, C and of course javascript.

JSON helps us send and receive data with remote machines outside of the
 domain/server from which we got the web page. In other words JSON
 allows you to send and receive data with more flexibility than CGI which
 helps us communicate with dynamic data using either GET or POST name
 value pairs in the forward direction and some proprietary format in the
 return direction.

JSON allows us to send and receive data in the protocol.

With node.js and other server side javascript you can also have JSON
 in command line or configuration files.

Javascript usually does not interact with client filesystems.

But in a server environment with node.js we can have a lot of power.

Node.js also comes with plenty of packages using a package manager
 called npm(node package manager) and you have many readymade
 tools for doing server side weight lifting.

-Girish

-- 
Gayatri Hitech
http://gayatri-hitech.com

Other related posts:

  • » [Ilugc] javascript and JSON - Girish Venkatachalam