Thursday, January 15, 2015

20150114_Wed - NodeJS

What I learned about Node.js -
 Normally Java Script runs only on your browser. I can only access your web page.

node.js allows Java.Script to run on your computer.
It uses Google Chrome's V8 engine.  Now the V8 engine can run on your computer.
You can now access files on your computer (you couldn't do before on JS), you can
listen to network traffic, you can listen to http requests, you can access databases directly.

You can do two things with node.js
        - utilities on your machine
             utilities for day-in day-out development. Gulp, Grunt, Yeoman
        - web server (express, koa) express js

node -v  (show version)

SPA - single page application
   Loads a single web page and in the page we can load different views.
DOM - document object model

Angular JS is a framework
  Full-featured SPA framework
  Core Features:
      Data Binding - two way
      MVC - model view controller
      Routing - ov views to pages
      Testing - designed from beginning
       jqLite - DOM manipulation
       Templates
        History
        Factory - share code
       ViewModel - data binding
       Controllers
        Views
         Directives
         Services
         Dependency Injection
         Validation
     
Directive - a way to teach HTML new tricks
Data Binding uses {{  }}

https://www.youtube.com/watch?v=i9MHigUZKEM  (angular
Angular and jQuery are very compatible



https://www.youtube.com/watch?v=pU9Q6oiQNd0

No comments:

Post a Comment