Saturday, November 28, 2020

Learn Node JS and NPM in JavaScript -Day 7

 In this article, we are learn Node JS and NPM in JavaScript.

Node.js :

  • Node.js is a runtime system for creating server side applications.


Watch our step by step Nodejs video for beginners.



  • Node.js is a open-source, cross-platform, JavaScript runtime built on    Chrome's V8 JavaScript engine.
  • Node.js runs on various platforms (windows, Linux, Unix, Mac OS X, etc).
  • Node.js is developed by Ryan Dahl in the year 2009
  • Node.js uses JavaScript on the server.
  • It is initially released at may 27, 2009 and author is Ryan Dahl.
  • The node.js is best known for JavaScript coder's to build real-time web API's.
  • Node is a desktop application or runtime environment that runs JavaScript files but some authors call it as JavaScript framework.

What node.js can do?

  • Node.js can generate dynamic page content.
  • Node.js can create, open, read, write, delete and close files on the server.
  • Node.js can collect form data.
  • Node.js can add, delete, modify data in your database.

What is a Node.js File?

  • Node.js files contain tasks that will be executed on certain events.
  • A typical event is someone trying to access a port on the server.
  • Node.js files must be initiated on the server before having any effect.
  • Node.js files have extension ".js".


Download node:     Node.js

  • Download the latest version 12.18.3 as the current version may have bugs.
  • Once you download and install the Node.js, write a code in file name as .js extension.
  • After that open a terminal and types the below command:
                                                  > node hello.js
  • It gives the output, that's why vs code is called as out of box supporter of HTML programming.






 NPM:

  • The NPM  i.e node. Package manager  is a javscriptp javscript manager.
  • The NPM  is interested on your computer when you install Node.js .








Thank you..









Learn VS Code in JavaScript -Day 6

 In this article, we are learn VS Code in JavaScript.

What is VS Code:





Learn (VS Code) Visual Studio code in 10 steps for beginners





  • The   VS code is developed by Microsoft on 29 march 2015.
  • Visual Studio Code is a lightweight but powerful source code editor which runs on your desktop and is available for Windows, macOS and Linux.
  • Visual studio code also provides basic support for HTML programming out of the box.
  • Visual studio code of free open source code editor which are used for create and edit the code in different programming language like Java, JavaScript,Node.js and C++.
  • Visual  studio code contains syntax highlighting, built-in JavaScript intelliSence, debugging and formatting also.

What is intelliSence?

  • In simple words intelliSence means suggestions.
  • In computer language intelliSence means it helps user by giving automatic suggestions for better coding.
  • Simply intelliSence shows the intelligent code c.
  • IntelliSense is a general term for a variety of code editing features including : code completion, parameter information, quick information, and member list.
  • IntelliSense features are sometimes called by other name such as "code completion", "content assist", and "code hinting".
  • It is an code editing feature of the Visual Studio. 




Download VS code :    VS code

  • Now download and install the vs code in your system. Firstly create a folder where u want it and open it in vs  code editor by open folder option.
  • For creating a new file select new file option from clicking on right button of mouse.
  • If u want to see an html file then right click on that file and select reveal in file explorer option.





Thank you.....

Function in SQL -part 8

  In this blog we are going to understand  Sql function.   FUNCTION: A function is a database object in SQL Server. It accepts only input pa...