Topic 2 Flashcards
What are some examples of JS frameworks?
Ember, Angular, and React
______ forces developers to adopt a known and well-regarded approach to structuring and implementing a web application. Uses MVC pattern
Ember
_______ has similarities with Ember, and is maintained by google
Angular
_____ is a newer framework developed by Facebook. Not completely MVC though, it focuses more in view
React
_______ is a development framework based in Google’s V8 JS engine
Node.js
Node.js code is written in JS and then compiled by what?
by V8 into machine code
What does MEAN stand for in MEAN stack?
MongoDB-Express_Angular_Node.js
Node.js was developed when and by who?
2009 by Ryan Dahl
Why was Node.js created?
It was an answer to the frustration caused by concurrency issues, especially when dealing with web services.
Node.js is a ______ -side environment that matches the ______-side environment in the browser.
server, client
What are some advantages to using Node.js?
Server/client share the same syntax, non-blocking frameworks, open community got libraries, and easy to set up.
How does Node.js work?
Apache- Each user has their own thread, which handles requests from that user.
Each request is passed to the “kernal mode” where the thread will wait for the instruction to be handled (a blocking web server)
What does it mean when a web server is non-blocking?
It is able to have multiple requests in progress at the same time by the same process (or thread)
What is the global object?
A preloaded library of objects in Node.js (like a namespace)
What are the most widely used objects in global?
The console object (typically used for debugging/ outputting)