Please enable JavaScript.
Coggle requires JavaScript to display documents.
1 The Javascript Revolution (advantages of js (performance (v8), objects…
1 The Javascript Revolution
advantages of js
performance
v8
objects
prototypal inheritance model
protoype chain
syntax
first-class functions
events
reusability
the net result
Anatomy of a typical modern js app
infrastructure
datastore
VPN
blackbox restful web service layer
third party APIs
App Server/ CMS (Content Management System )
CDN (Content Deliver Network )
for cached files
Images
css
images
js
templates
client (browser)
JSON: Data Storage and communication
All attributes names and string values must be enclosed in double quotes. Other values may appear in their literal form
JSON records cannot contain circular references
• JSON cannot contain functions
NoSQL Data Stores
object oriented json-based
mongoDB
couchDB
document based
generally uses xml
RESTful JSON Web Services
Representational State Transfer (REST)
communication architecture
client/server
separation of concerns
data resources
UI
http verbs
get
put
do not mens UPDATE but REPLACE
post
delete