• Node.js 101

    Posted on 2014-09-14 by admin in javascript & node.js.

    1. Read-Eval-Print-Loop (REPL) Node provides an interactive language shell, known as the Read-Eval-Print-Loop, or REPL. REPL reads inputs from a user, evaluates the inputs as JavaScript codes, prints out the results, and then waits for more inputs. REPL is useful for debugging and for experimenting with small snippets of JavaScript codes. 1) Starting the REPL […]

    Post Tagged with , ,
    No Comments.
    Continue Reading...
  • Platform vs. Framework

    Posted on 2014-09-09 by admin in General IT.

    Platform A platform usually means an environment in which a piece of software is designed to run. So it often means the operating system (e.g. windows or Linux), but sometimes the architecture (x86 might be a platform, or the java virtual machine). Platforms may also include: Embedded systems Modern browsers (e.g., chrome) Twitter and Facebook […]

    No Comments.
    Continue Reading...
  • Javascript Objects

    Posted on 2014-09-09 by admin in javascript & node.js.

    A JavaScript object is a collection of properties, and a property is an association between a name and a value. A property’s value can be a function, in which case the property is known as a method. Except number, string, boolean and undefined, everything in Javascript is object. When an object is set to a […]

    No Comments.
    Continue Reading...
  • Javascript Basic Datatypes

    Posted on 2014-09-05 by admin in javascript & node.js.

    Basic Datatypes number string boolean undefined null 1. number For numbers (e.g., int, long, float, double), there is only one datatype, number, in Javascript.

    2. string Immutable Sequencing

    string conversion When you use a number-like string as an operand in an arithmetic operation, the string is converted to a number behind the scenes. […]

    No Comments.
    Continue Reading...
  • Javascript Basic Syntax

    Posted on 2014-09-03 by admin in javascript & node.js.

    1. Basic rules JavaScript is case sensitive The variables firstName and firstname, are two different variables. The functions myFunction() and myfunction(), are two different functions. JavaScript uses the Unicode character set. It is highly recommended that you should use UTF-8 as encoding type. 2. Literals 1) What is “literals”? notation sets for representing a fixed […]

    No Comments.
    Continue Reading...