JS Concepts and API
JS Concepts and API
File System
I/O
File System
I/O
Node APIs
File System
I/O
Node APIs
Patterns for Managing
Async
File System
I/O
Node APIs
Patterns for Managing
Async
Accessing Data
Sources
File System
I/O
Node APIs
Patterns for Managing
Async
Accessing Data
Sources
Architectur
e
File System
I/O
Node APIs
Patterns for Managing
Async
Accessing Data
Sources
Architectur
e
Express.js
Framework
File System
I/O
Node APIs
Patterns for Managing
Async
Accessing Data
Sources
Architectur
e
Express.js
Framework
RESTful API
Filesystem I/O
how-to sample
Day 2 Quiz 1
Fork & Answer Questions
Async Patterns
Callbacks
Promises
fulfilled
rejected
pending
settled
how-to sample
Day 2 Quiz 2
Fork & Answer Questions
Node APIs
push notifications
SSE or Server Sent Events
web sockets
Web Sockets
primus
realtime framework
Buffers
Buffers
JavaScript doesnt
speak binary data.
Filesystem
Raw data is stored in
instances of the
Buffer Class.
TCP Streams
Manipulates, creates,
and consumes octet
streams.
new Buffer(size)
new Buffer(array)
new Buffer(buffer)
'ascii
'
Multibyte encoded Unicode characters.
'utf8 Many web pages and other document
'
formats
use
UTF-8.
'utf16l
e'
'ucs2
'
'base64
'
'binar
y'
'hex
'
'ascii
'
'utf8
2 or 4 bytes, little endian encoded
'
'utf16l Unicode characters. Surrogate pairs
e'
(U+10000 to U+10FFFF) are
'ucs2
supported.
'
'base64
'
'binar
y'
'hex
'
'ascii
'
'utf8
'
'utf16l
e'
'ucs2
Alias of 'utf16le'.
'
'base64
'
'binar
y'
'hex
'
'ascii
'
'utf8
'
'utf16l
e'
'ucs2
'
'base64
Base64 string encoding.
'
'binar
y'
'hex
'
'ascii
'
'utf8
'
'utf16l
e'
'ucs2
A
way
of
encoding
raw
binary
data
into
'
'base64strings by using only the first 8 bits of
each character. This encoding method
'
'binar is deprecated and should be avoided in
y'
favor
of
Buffer
objects
where
possible.
'hex
This
encoding
will
be
removed
in
'
'ascii
'
'utf8
'
'utf16l
e'
'ucs2
'
'base64
'
'binar
y'
'hex Encode each byte as two
'
hexadecimal characters.
Streams
how-to sample
Day 2 Quiz 3
Fork & Answer Questions
Data Sources
how-to sample
data structures
Alternates A.K.A. NoSQL
key/value
graph
time series
database architecture
Day 2 Quiz 4
Fork & Answer Questions
Architecture
event loop
node clustering
Load Balancing
Manually
Load Balancing
AWS Example
Load Balancing
AWS Example Expanded
Automated Testing
how-to sample
Day 2 Quiz 5
Fork & Answer Questions
Express
Framework
MVC
Model
View
Controller
SPAs
APIs
how-to sample
Day 2 Quiz 6
Fork & Answer Questions
RESTful APIs
What is an API?
In web parlance an API is a simple interface
that will perform a particular action.
SOA Revisited?
Service Oriented Architecture often comes to
mind with the correlation to micro-services
and related API driven design ideas.
HTTP Verbs
GET
POST
PUT
UPDATE
End Points
how-to sample
Day 2 Quiz 7
Fork & Answer Questions