

JavaScript Modules
Presentation
•
Computers
•
Professional Development
•
Medium
Lazaro Alsina
Used 22+ times
FREE Resource
9 Slides • 6 Questions
1
JavaScript Modules
Welcome to introduction to Node, and browsers runtime environment.
As well as what are modules!

2
Browsers Runtime Environment
Using JavaScript on your browser.
3
Browser Runtime Env
The code we have been running relies on an environment. The most common one, known as the front end, is the browser.
The issue here is we need the browser to run Javascript or use other programming languages like Java or PHP.
Thank to NODE, this had changed.
4
The power of Javascript expanded
The Node environment allows us to create code without a browser, meaning we can create full-stack software.
As you can see, this code to your right is running on a PowerShell!
5
Multiple Choice
Javascript can only be run on a browser.
True
False
6
7
The power of flexible and reusable code.
Modules allow us to add code in a special way. It allows us to segment our programs in a way that allows us to work more effectively in groups and debug our code.
It would be nice if someone who is amazing with math, makes all the math modules we need for our program. While we focus on other parts like the database module!
8
Benefits of using Modules
Compose Software: Using modules like lego blocks, building parts of the program. E.G, we have a team of programmers; one builds the house, another builds a car.
Isolate components: The programmers can build the module that needed for the project without usually thinking about the entire codebase. E.G, one programmer makes a lego car, there no need for him/her/they to worry about the housing module yet...
Organized code: Modules tend to be more organized for the main codebase.
Reuse code: Modules make it really easy to reuse the same code, even one more than one project.
9
Fill in the Blanks
Type answer...
10
Demo Time
On slide 4, we used node to run the meal maker. It would be a waste not to use it again in a new program that I like to call the Meal of the day!
11
Multiple Choice
How Node.js modules are available externally
module.exports
module.spread
module.expose
none of the above
12
Multiple Choice
Which function is used to include the modules in Node.js
include();
require();
attach();
None of the above
13
Multiple Choice
Who made node.js?
Hampton Catlin
Ryan Dahl
Isaac Z. Schlueter
GitHub
14
Poll
How do you feel?
Comfortable
Stretch
Panic
15

CodecademyMini Arrow Down Icon
You can open this webpage in a new tab.
JavaScript Modules
Welcome to introduction to Node, and browsers runtime environment.
As well as what are modules!

Show answer
Auto Play
Slide 1 / 15
SLIDE
Similar Resources on Wayground
11 questions
Pengenalan Gamification
Presentation
•
Professional Development
11 questions
Introducción a las Computadoras Personales
Presentation
•
Professional Development
9 questions
Повторение
Presentation
•
Professional Development
9 questions
C4 W4 D2
Presentation
•
Professional Development
11 questions
Robotics
Presentation
•
University
10 questions
Future will
Presentation
•
Professional Development
12 questions
Prepositions
Presentation
•
3rd Grade
10 questions
Front Desk Employee Training - Eucon Medical
Presentation
•
Professional Development
Popular Resources on Wayground
24 questions
PBIS-HGMS Day 10
Quiz
•
6th - 8th Grade
10 questions
HCS SCI 03 Summer School Review 3
Quiz
•
3rd Grade
11 questions
Home Scope
Quiz
•
7th - 8th Grade
15 questions
HCS SCI 05 Summer School Assessment 3 Review
Quiz
•
5th Grade
35 questions
Lufkin Road Middle School Student Handbook & Policies Assessment
Quiz
•
7th Grade
18 questions
Geo 11.3 Area of Circles and Sectors
Quiz
•
9th - 11th Grade