WhatsJS.com

Simple way to create amazing documents for your project.

Tuesday, April 12, 2016

How to Upgrade NodeJS to Latest Version using NPM

If we want to upgrade NodeJS to latest version using NPM.

we have to run following commands in Terminal.

sudo npm cache clean -f

sudo npm install -g n

sudo n stable

How To Install Node.js on an Ubuntu

Introduction -

Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient. Node.js' package ecosystem, npm, is the largest ecosystem of open source libraries in the world.

How to install - 

In order to install nodejs, We just have to use 'apt' package manager.

First of all, We should refresh our local package index.


Now we will install nodejs -

If you want to also install 'npm' , which is the Node.js package manager




Sunday, March 27, 2016

02 What is RequireJS

Thursday, March 24, 2016

HTML and HTML5

HTML, which stands for Hypertext Markup Language, is the most basic building block of a webpage and used for creating and visually representing a webpage. It determines the content of a webpage, but not its functionality.

HTML adds "markup" to standard English text. "Hyper Text" refers to links that connect Web pages to one another, making the World Wide Web what it is today.

HTML5 is a new version of the  HTML with new element and behavior.

Designed to be usable by all Open Web developers, this reference page links to numerous resources about HTML5 technologies, classified into several groups based on their function.


  • Semantics: allowing you to describe more precisely what your content is.
  • Connectivity: allowing you to communicate with the server in new and innovative ways.
  • Offline and storage: allowing webpages to store data on the client-side locally and operate offline more efficiently.
  • Multimedia: making video and audio first-class citizens in the Open Web.
  • 2D/3D graphics  and effects: allowing a much more diverse range of presentation options.
  • Performance and integration: providing greater speed optimization and better usage of computer hardware.
  • Device access: allowing for the usage of various input and output devices.
  • Styling: letting authors write more sophisticated themes.

01 Why RequireJS?



RequireJS is a JavaScript file and module Loader. It is optimized for in-browser use, but it can be used  in another JavaScript Framework like NodeJS and Rhino. Using a modular script loader like RequireJS will improve the speed and quality of code.

Problems -
  • Web Sites are turning into Web Applications.
  • Code complexity is growing in big Web Applications.
  • Code assembly gets harder.
  • Developer wants to create individual JS files or modules.
  • Deployment wants optimized code in just one or a few HTTP calls.

Solutions - 
  • Developers want to import/include/require module whenever needs.
  • Ability to load nested dependencies.

Featured Documents

HTML5

View more

JavaScript

View more

Image Documents

View more

Tutorials

View more

Legal Documents

View more

Getting Started

View more