Jonathan Warner

What is Node.js ?

Node.js is a platform built on Chrome’s V8 JavaScript engine

The platform includes several standard modules and abstraction to build more.

It’s JavaScript without the browser.

And with I/O and networking.

And it’s fast.

What can it be used for?

web development

socket server

API backend

command-line apps

package manager

proxy server

RESTful endpoints

realtime web applications

database interface

preprocessing

occupying ram

improving hipster appeal

template processor

websocket endpoint

It’s different

In static hosting, PHP, ASP, and other more traditional models, a webserver loads, executes, and serves a specified file.

ex: http://localhost/index.php literally loads the file “index.php”

With Node, you’re writing the physical webserver application yourself.

This opens up several possibilities, as the developer has complete control over the entire web application.

The Vanilla Way

The Vanilla Way gives extreme control over the entire HTTP stack, and limits the need of third-party modules.

But what if you don’t like vanilla?

Node.js has a community package manager containing over 46,581 modules

(Node Package Manager)

Node.js installs npm with it, making it globally available on the command line.

npm installs dependencies, updates modules, creates modules, installs Node.js command line apps, and more.

npm makes it quick and easy to install and update third-party modules in your application

back to the web stuff.

npm contains several packages for streamlining the development of web applications

“minimal and flexible node.js web application framework”

Taking it realtime

“aims to make realtime apps possible in every browser and mobile device, blurring the differences between the different transport mechanisms”

Any questions?

Node.js, docs, etc: http://nodejs.org/

Tutorials: “nodejs tutorials” = About 447,000 results

These slides, examples, etc:

http://jaxbot.me/

tl;dr: Node.js is fast and easy. Try it!

SlidePlayer

  • My presentations

Auth with social network:

Download presentation

We think you have liked this presentation. If you wish to download it, please recommend it to your friends in any social system. Share buttons are a little bit lower. Thank you!

Presentation is loading. Please wait.

Node.js - What is Node.js? -

Published by Caitlin Rich Modified over 9 years ago

Similar presentations

Presentation on theme: "Node.js - What is Node.js? -"— Presentation transcript:

Node.js - What is Node.js -

Node.JS - Blurring the Line Between Client and Server var title = “ Node.JS - Blurring the Line Between Client and Server ”; $(this).attr(“title”, title);

node js presentation

Tornado Web and MongoDB An Introduction to AsyncMongo MongoBoston John C. Zablocki Development Manager, HealthcareSource Organizer, Beantown.

node js presentation

Intel Do-It-Yourself Challenge node.js

node js presentation

Internet of Things with Intel Edison Web controller

node js presentation

The GridBee Web Computing Framework Attila Szarvas BME IK 2012.

node js presentation

By: Craig Hecock.  A JavaScript runtime environment running Google Chrome’s V8 engine ◦ a.k.a. a server-side solution for JS ◦ Compiles JS, making it.

node js presentation

N ODE.J S S ERVER S IDE J AVASCRIPT Diana Roiswati ( ) Ahmad Syafii ( ) Asri Taraqiadiyu ( )

node js presentation

© 2014 IBM Corporation Empowering the IBM ecosystem Introduction to Developing applications using node.js on Bluemix IBM Ecosystem Development Instructors.

node js presentation

Jerry Neal. Agenda ➢ About Node ➢ Modules ➢ Node Architecture ➢ NPM ➢ FAQ ➢ Other Awesome Modules! get ready to node, this session is hands on!

node js presentation

Flash: An efficient and portable Web server Authors: Vivek S. Pai, Peter Druschel, Willy Zwaenepoel Presented at the Usenix Technical Conference, June.

node js presentation

ASP.Net, web services--- asynchronous and synchronous and AJAX By Thakur Rashmi Singh.

node js presentation

Cloud Computing Lecture #7 Introduction to Ajax Jimmy Lin The iSchool University of Maryland Wednesday, October 15, 2008 This work is licensed under a.

node js presentation

Quick Tour of the Web Technologies: The BIG picture LECTURE A bird’s eye view of the different web technologies that we shall explore and study.

node js presentation

JavaScript Event Loop Not yo mama’s multithreaded approach. slidesha.re/ZPC2nD.

node js presentation

Interesting facts about node.js.  Asynchronous I/O  How do they do that?..threads (usually) What do Web Servers do?

node js presentation

 A JavaScript runtime environment running Google Chrome’s V8 engine ◦ a.k.a. a server-side solution for JS ◦ Compiles JS, making it really fast  Runs.

node js presentation

Written by Matthew Shelley for Professor Wei Shi.

node js presentation

FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)

node js presentation

Ole Erecius Tirsdag den 9. juni Programming is always at The EDGE !!!

node js presentation

Philly.NET Hands-on Labs JAVASCRIPT SERIES. July 9: JavaScript Syntax Visual Studio ◦Projects ◦Editors ◦Debugging ◦Script blocks ◦Minification and bundling.

About project

© 2024 SlidePlayer.com Inc. All rights reserved.

Academia.edu no longer supports Internet Explorer.

To browse Academia.edu and the wider internet faster and more securely, please take a few seconds to  upgrade your browser .

Enter the email address you signed up with and we'll email you a reset link.

  • We're Hiring!
  • Help Center

First page of “Introduction to Node.js®”

Download Free PDF

Introduction to Node.js®

Profile image of Jitendra  Patel

This PPT was used as a KSM talk on Node.js @iiit-Bangalore

Related papers

International Journal of Innovative Research in Computer Science & Technology

Node.js, the JavaScript runtime environment is very popular among Full Stack Developers for building Web applications. It gives the developer to write server-side code in JavaScript and able to manage both client and server side. Node.js ensures outstanding performance, it applies event-driven, non-blocking input output and asynchronous paradigm. The study is based on benefits and challenges of using Node.js. The results of study are from comparing different web development programming languages with JavaScript which is used in Node.js. And in the end some suggestions on how to improve those areas and make it more feasible.

International journal of engineering research and technology, 2018

The current environment of web applications demands performance and scalability. Several previous approaches have implemented threading, events, or both, but increasing traffic requires new solutions for improved concurrent service. Node.js is a new web framework that achieves both through server-side JavaScript and eventdriven I/O. Tests will be performed against two comparable frameworks that compare service request times over a number of cores. The results will demonstrate the performance of JavaScript as a serverside language and the efficiency of the non-blocking asynchronous model. The paper discuss that node.JS is a suitable framework for development of scalable web servers, can be scaled and distributed across multiple nodes using clustering and replication mechanism. Keywords—node.js, JavaScript, performance, scalable,

The goal of this project is to measure the impact of different application architectures and designs on scalability of a simple Node application. We researched about different scalable application architectures. We analyzed the impact of different components in system in terms of performance and scalability. In this project we used simple REST services built with Node.js. We deployed our service on different instance configurations. For example, a single machine instance or multiple host machines using docker and nginx load balancer. Generally, the performance metrics we considered for our experiments are latency and throughput. We also carefully observed about elastic scalability, and error rate.

JavaScript is a dynamic, weakly-typed programming language that is used in numerous applications including IoT devices and web applications. One of the most common uses of JavaScript is in Node.js which unfortunately introduces a whole new class of security vulnerabilities. When used in Node.js, JavaScript can interact with the underlying C and C++ through the binding layer, a special abstraction that allows certain low-level functions to be accessible to the higher-level JavaScript. Some of these vulnerabilities are caused by passing arguments of the wrong type to the binding layer. In this paper we explore the binding layer in Node.js by wrapping Node’s process.binding function with a custom function, adding a layer of indirection. This allowed us to “spy” on 74 different binding layer functions and analyze the types of arguments that they typically get. We then used our wrapping to preemptively prevent exceptions caused by type mismatch, preventing the C++ layer from crashing. We were able to successfully stop a known class of Node crashing bugs and pave a way forward to preserving the crash safety of JavaScript within Node.

Cyber security is a rapidly growing area of study and has gained a large prominence over the Internet in the last decade. Not only has the risk of being targeted by a cyber-criminal increased but there has also been growth in educational resources to learn how to do such activities. Web applications are regularly exploited or attacked if correct measures are not taken in development of the application or its framework. Research in security and exploits of frameworks has increased rigorously in the past few years and well-established organisations invest a lot into this field of study. Node.js is a relatively new framework that is built on Google Chrome's V8 engine to allow the traditionally client-sided JavaScript language to be used in creating servers and other functional modules. Node.js works in an event-driven loop which allows for tasks to be processed in a non-blocking or asynchronous paradigm. Node shines in building fast, scalable network applications, as it's capable of handling a huge number of simultaneous connections with high throughput, which equates to high scalability.

Proceedings 2018 Network and Distributed System Security Symposium, 2018

Code reuse is an important part of software development. The adoption of code reuse practices is especially noticeable in Node.js. The Node.js package manager, NPM, contains over 1 Million packages and developers often seek out packages to solve programming tasks. Due to the vast number of packages, selecting the right package is difficult and time consuming. With the goal of improving productivity of developers that heavily reuse code through third-party packages, we present Node Code Query (NCQ), a custom Read-Eval-Print Loop environment that allows developers to 1) search for NPM packages using natural language queries, 2) search for code snippets related to those packages, 3) quickly setup new environments for testing those snippets, and 4) transition between search and editing modes. Our user study shows that participants began programming faster and concluded tasks faster with NCQ than with a baseline approach, and that they liked, among other features, the search for code sni...

Welcome to Pro REST API Development with Node.js . This book will cover REST, API development, and finally, how these two mix up with Node.js. Starting from a theoretic point of view, you’ll learn how REST came to be, who created it, and its characteristics. Later, you’ll move toward the practical side by going over API development and the lessons that years of experience from the community have taught us. Finally, you’ll move into a fully practical approach, and you’ll see how Node.js and its modules can help create a RESTful API.

Academia Letters, 2021

BURIDAVA XV, 2021

Bericht der Bayerischen Bodendenkmalpflege 62. C. Sebastian Sommer gewidmet, 2021

Arte e politica in Calabria. Opere e immagini del Risorgimento e dell’Italia unita, 2022

ESTÁNDARES PARA IMPLEMENTAR EL MODELO EN HOSPITALES 2015 | EDICIÓN 2018, 2018

SCHNEIDER (L.), RAYNAUD (C.) et DUSSEAUX (D.) Dir., Septimanie. Le Languedoc et Roussillon entre Antiquité et Moyen Âge, Catalogue d’exposition, présentée du 17 juin 2023 au 5 février 2024 au Musée archéologique Henri Prades de Lattes, Ed. Snoeck, Gand, 2023, p. 12-23., 2023

Treball d'arqueologia 22 , 2018

Recensión de LANZA GARCÍA, Ramón (coord.), Los dineros de la Corona. Finanzas y cam-bio fiscal en la Monarquía Hispánica (siglos XVI-XVII), Granada, Editorial Comares, 2023, 309pp., ISBN: 978-84-1369-681-2., 2024

Renewable and Sustainable Energy Reviews, 2024

Susanne Deicher et al. (Hrsg.), Modelle im Alten Ägypten – Objekte des Wissens. Berlin, Kulturverlag Kadmos, S. 325-345 , 2023

Journal of Islamic business and management, 2012

Journal of Medical Physics, 2009

Synthetic Communications, 2003

Modern Psychological Studies Modern Psychological Studies, 2022

Journal of High Energy Physics, 2020

JAMA: The Journal of the American Medical Association, 1983

European Journal of Cancer Supplements, 2010

Journal of Physics: Condensed Matter, 1998

Related topics

  •   We're Hiring!
  •   Help Center
  • Find new research papers in:
  • Health Sciences
  • Earth Sciences
  • Cognitive Science
  • Mathematics
  • Computer Science
  • Academia ©2024

node js presentation

camelaissani

See all presentation from camelaissani

0 0 (function() { var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; po.src = 'https://apis.google.com/js/platform.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); })();

Nodejs-presentation.

On Github camelaissani / nodejs-presentation

Created by Camel Aissani / @camelaissani Inspired by Jeff Kunkle

What is Node.js

Node.js® is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.

Problematic

I/o latency, conventional solution, multi-threading.

  • Context switching overhead
  • Memory consumption
  • Manage concurrency

Multi processes

  • High memory usage
  • Process scheduling overhead

Node.JS answer

Scale with event loop.

Delegate the I/O part to a Thread Pool or when it is possible to a native asynchronous I/O API

Event Loop theory

Delegate I/O part and manage callbacks

npm is the default package manager for Node.js.

It manages dependencies for an application.

It also allows users to install Node.js applications that are available on the npm registry.

Multi-Platform (Linux, Mac, Windows)

One development language JS on client and server side

Open source technology

Many NPM packages availables on npmjs.org

Short learning curve (Event loop theory, JavaScript, Evented programming)

Few metrics

Computation, read file and display it, simple http server, live coding.

IMAGES

  1. PPT

    node js presentation

  2. PPT

    node js presentation

  3. PPT

    node js presentation

  4. PPT

    node js presentation

  5. Node Js Architecture Ppt

    node js presentation

  6. PPT

    node js presentation