Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Introduction to
Jean-Luc David

Head of Technology

jldavid@gmail.com

Twitter: @jldavid
Agenda
• Introduction to Node.js
• Introduction to cURL
• Node.js Basics
Node.js vs PHP
Popularity - 89K+ NPM Packages
Companies Using Node.js
http://kkovacs.eu/cassandra-vs-
mongodb-vs-couchdb-vs-redis
Consider Technology as a 

Swiss Army Knife
What is Node.js
• Node.js is a software platform that is used to build
scalable network (especially server-side)
applicati...
- Hypertext Transfer Protocol
- Web Browser - HTTP Client
- Comprised of headers + body
- Verbs: GET, PUT, POST, DELETE
- ...
cURL
• cURL is a computer software project providing a library and
command-line tool for transferring data using various
p...
node helloworld.js


console.log("Hello World");



node server.js


http_server = require("http");
http_server.createServer(function(request,response){


console.log("Launch...
Upcoming SlideShare
Loading in …5
×

Intro to HTTP and Node.js

These are the slides from the Docler Hollywood Code Retreat held on Saturday, April 9. The talk covered Node.js, Swift and MongoDB.

  • Be the first to comment

  • Be the first to like this

Intro to HTTP and Node.js

  1. 1. Introduction to Jean-Luc David
 Head of Technology
 jldavid@gmail.com
 Twitter: @jldavid
  2. 2. Agenda • Introduction to Node.js • Introduction to cURL • Node.js Basics
  3. 3. Node.js vs PHP
  4. 4. Popularity - 89K+ NPM Packages
  5. 5. Companies Using Node.js
  6. 6. http://kkovacs.eu/cassandra-vs- mongodb-vs-couchdb-vs-redis
  7. 7. Consider Technology as a 
 Swiss Army Knife
  8. 8. What is Node.js • Node.js is a software platform that is used to build scalable network (especially server-side) applications. • Utilizes JavaScript as its scripting language, and achieves high throughput via non-blocking I/O and a single-threaded event loop. • Node.js contains a built-in HTTP server library, making it possible to run a web server without the use of external software, such as Apache or Lighttpd. • Node.js is control.
  9. 9. - Hypertext Transfer Protocol - Web Browser - HTTP Client - Comprised of headers + body - Verbs: GET, PUT, POST, DELETE - GET http://www.doclermedia.com HTTP/1.0 - Demo: Using Charles & CURL HTTP
  10. 10. cURL • cURL is a computer software project providing a library and command-line tool for transferring data using various protocols. The cURL project produces two products, libcurl and cURL. It was first released in 1997. • GET, POST, PUT & DELETE 
 curl -X GET http://www.google.com
 

  11. 11. node helloworld.js 
 console.log("Hello World");
 

  12. 12. node server.js 
 http_server = require("http"); http_server.createServer(function(request,response){ 
 console.log("Launching Server"); response.writeHeader(200, {"Content-Type": "text/plain"}); response.write("Hello World"); response.end(); 
 }).listen(8080);
 console.log("Server Running on 8080"); 


×