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.
INTRO TO
NODE
Jamal O’Garro
Code Crew
Software Engineer + Instructor
CODE CREW | INTRO TO NODE.JS
CLASS ROADMAP
• Node Basics
• Web Servers
• Express.js
• MongoDB
• Mongoose
• Build a Simple App
• Look at a Larger App
CO...
EXPECTATIONS
CODE CREW | INTRO TO NODE.JS
• Familiar with JavaScript
• Familiar with the concept of databases
• Basic web ...
TRADITIONAL WEB DEVELOPMENT
CODE CREW | INTRO TO NODE.JS
MODERN DAY WEB DEVELOPMENT
CODE CREW | INTRO TO NODE.JS
JAVASCRIPT REVIEW
• Created by Netscape
• Runs in browser & server
• Is actually named
ECMAScript
CODE CREW | INTRO TO NOD...
NODE.JS BASICS
CODE CREW | INTRO TO NODE.JS
• Server-side JavaScript
• Built on top of V8
• Created by Ryan Dahl
• Open So...
WHAT IS NODE GOOD FOR?
CODE CREW | INTRO TO NODE.JS
• Highly concurrent environments
• Real-time apps (i.e. chat rooms)
• ...
ASYNCHRONOUS PROGRAMMING
CODE CREW | INTRO TO NODE.JS
EVENT LOOP
CODE CREW | INTRO TO NODE.JS
HELLO NODE!
CODE CREW | INTRO TO NODE.JS
NPM
CODE CREW | INTRO TO NODE.JS
CONNECT
CODE CREW | INTRO TO NODE.JS
• Middleware framework for Node
• Used for building web servers
• Abstracts a lot of ...
NODE FRAMEWORKS
CODE CREW | INTRO TO NODE.JS
EXPRESS
CODE CREW | INTRO TO NODE.JS
• Lightweight web framework
• Inspired by Sinatra
• Flexible and doesn’t force conven...
WHY USE EXPRESS?
CODE CREW | INTRO TO NODE.JS
• Inspired by Sinatra
• Flexible framework that doesn’t force conventions
• ...
MVC ARCHITECTURE
DATABASE
BROWSER CONTROLLER
VIEW MODEL
CODE CREW | INTRO TO NODE.JS
ROUTER
CODE CREW | INTRO TO NODE.JS
REST
CODE CREW | INTRO TO NODE.JS
CRUD
• Create
• Read
• Update
• Destroy
CODE CREW | INTRO TO NODE.JS
MONGODB
CODE CREW | INTRO TO NODE.JS
MONGOOSE
CODE CREW | INTRO TO NODE.JS
• Object Document Mapper
• Allows us to create models to organize our data
• Provide...
LET’S BUILD OUR APP!
CODE CREW | INTRO TO NODE.JS
MEAN STACK
CODE CREW | INTRO TO NODE.JS
LET’S LOOK A MORE COMPLEX APP!
CODE CREW | INTRO TO NODE.JS
THANKS MUCH!!!
Jamal O’Garro
Code Crew
Software Engineer + Instructor
CODE CREW | INTRO TO NODE.JS
Upcoming SlideShare
Loading in …5
×

Intro to Node.js

946 views

Published on

Weekend workshop that introduces Node.js.

Published in: Technology
  • Be the first to comment

Intro to Node.js

  1. 1. INTRO TO NODE Jamal O’Garro Code Crew Software Engineer + Instructor CODE CREW | INTRO TO NODE.JS
  2. 2. CLASS ROADMAP • Node Basics • Web Servers • Express.js • MongoDB • Mongoose • Build a Simple App • Look at a Larger App CODE CREW | INTRO TO NODE.JS
  3. 3. EXPECTATIONS CODE CREW | INTRO TO NODE.JS • Familiar with JavaScript • Familiar with the concept of databases • Basic web development principles
  4. 4. TRADITIONAL WEB DEVELOPMENT CODE CREW | INTRO TO NODE.JS
  5. 5. MODERN DAY WEB DEVELOPMENT CODE CREW | INTRO TO NODE.JS
  6. 6. JAVASCRIPT REVIEW • Created by Netscape • Runs in browser & server • Is actually named ECMAScript CODE CREW | INTRO TO NODE.JS
  7. 7. NODE.JS BASICS CODE CREW | INTRO TO NODE.JS • Server-side JavaScript • Built on top of V8 • Created by Ryan Dahl • Open Source • Asynchronous • Single-threaded
  8. 8. WHAT IS NODE GOOD FOR? CODE CREW | INTRO TO NODE.JS • Highly concurrent environments • Real-time apps (i.e. chat rooms) • Building CRUD applications • Teams that want to make their front-end engineers full stack as fast a possible
  9. 9. ASYNCHRONOUS PROGRAMMING CODE CREW | INTRO TO NODE.JS
  10. 10. EVENT LOOP CODE CREW | INTRO TO NODE.JS
  11. 11. HELLO NODE! CODE CREW | INTRO TO NODE.JS
  12. 12. NPM CODE CREW | INTRO TO NODE.JS
  13. 13. CONNECT CODE CREW | INTRO TO NODE.JS • Middleware framework for Node • Used for building web servers • Abstracts a lot of HTTP for you
  14. 14. NODE FRAMEWORKS CODE CREW | INTRO TO NODE.JS
  15. 15. EXPRESS CODE CREW | INTRO TO NODE.JS • Lightweight web framework • Inspired by Sinatra • Flexible and doesn’t force conventions • Fully asynchronous • Loads application in memory and listens for requests
  16. 16. WHY USE EXPRESS? CODE CREW | INTRO TO NODE.JS • Inspired by Sinatra • Flexible framework that doesn’t force conventions • Fully asynchronous • Easy to learn • Easily extendable
  17. 17. MVC ARCHITECTURE DATABASE BROWSER CONTROLLER VIEW MODEL CODE CREW | INTRO TO NODE.JS
  18. 18. ROUTER CODE CREW | INTRO TO NODE.JS
  19. 19. REST CODE CREW | INTRO TO NODE.JS
  20. 20. CRUD • Create • Read • Update • Destroy CODE CREW | INTRO TO NODE.JS
  21. 21. MONGODB CODE CREW | INTRO TO NODE.JS
  22. 22. MONGOOSE CODE CREW | INTRO TO NODE.JS • Object Document Mapper • Allows us to create models to organize our data • Provides a schema for your MongoDB database • Also provides validations • Simulate joins • Convenience methods for querying data from MongoDB
  23. 23. LET’S BUILD OUR APP! CODE CREW | INTRO TO NODE.JS
  24. 24. MEAN STACK CODE CREW | INTRO TO NODE.JS
  25. 25. LET’S LOOK A MORE COMPLEX APP! CODE CREW | INTRO TO NODE.JS
  26. 26. THANKS MUCH!!! Jamal O’Garro Code Crew Software Engineer + Instructor CODE CREW | INTRO TO NODE.JS

×