edit-task
Home
Up
Delete
Task Name:
Task Description:
angular.js by Dan Whalin
TaskGroup ID:
Start Date:
Start Time:
Duration:
Priority:
Status:
To Do
Completed
In Process
Add Photo:
Owner ID:
Content:
use HTML
Edit Content
<h1 style="text-align: center;">CREATE-task# # -</h1> <h1 style="text-align: center;">REVIEW-VIDEO tutorial for beginners: learn node in 1 hour</h1> <h2>[previously]</h2> <ol> <li><strong>[00:00] NEW task IN </strong></li> <ol> <li>[i] # 2958 - <a href="/view/task?id=1839" target="_blank">CREATE-task# # </a>- REVIEW-VIDEO <a href="https://www.youtube.com/watch?v=TlB_eWDSMt4&list=PLEovsLA2N8LiaeK79M3Vk9TjRqbYEKItu&index=16&t=0s" target="_blank">tutorial for beginners: learn node in 1 hour</a> - ] by Mosh, youtuber covers some of the node.js fundamental including</li> <ol> <li>] installing node js on a mac,</li> <li>] creating a hello world app,</li> <li>] node js aynch,</li> <li>] node js scope,</li> <li>] node.js modules</li> </ol></ol> <li><strong>[00:00] NEW task IN </strong></li> <ol> <li>[] # # - <a href="/view/task?id=1839" target="_blank">CREATE-task# # </a>- took WHAT article overview notes from here, moved them to</li> <li>[] # # - public UPDATE-ARTICLE-node-overview</li> <li>[] # 4500 article-node-overview IN tech-dev-www/framework-nodejs/overview</li> </ol> <li><strong><span style="background-color: #ffcc99;">[2019-11-20]</span>>[00:00] NEW task IN</strong></li> <ol> <li>[i] # 2958 - <a href="/view/task?id=2958" target="_blank">REVIEW-VIDEO </a>- learn node in 1 hour - ] by mosh,</li> <li>[x] completed 40/70 minutes w/detailed notes, [i] with code files (app.js, myLoggerModule.js)</li> <li>[] CC [] about mosh, [] mosh fundamentals, [] coming course- ] git, ] design patterns ] HAS data structures & algos,</li> <li>[] jobs -> triplebyte com quizzes</li> </ol> <li><strong><span style="background-color: #ffcc99;">[2019-11-21]</span>>[00:00] NEW task IN</strong></li> <ol> <li>[i] # 2958 - <a href="/view/task?id=2958" target="_blank">REVIEW-VIDEO </a>- learn node in 1 hour</li> <li>[] os module</li> <li>[] fs module</li> <li>[] eventEmitter</li> <li>[]</li> </ol></ol> <h2>[currently]</h2> <ol> <li><span style="background-color: #c0c0c0;"><strong><a href="https://www.youtube.com/watch?v=TlB_eWDSMt4&t=0s" target="_blank"><span style="background-color: #c0c0c0;">[00:00</span></a>] What is Node</strong></span></li> <ol> <li><span style="background-color: #c0c0c0;">[] node is an open source, cross platform runtime environment for executing javascript code outside of the web browser</span></li> <li><span style="background-color: #c0c0c0;">[] node is used for rapidly prototyping and agile development</span></li> <li><span style="background-color: #c0c0c0;">[] node is used for building backend services like apis that power client applications, like web and mobile clients</span></li> <li><span style="background-color: #c0c0c0;">[] <strong>fast</strong> -</span></li> <li><span style="background-color: #c0c0c0;">[] <strong>scaleable</strong> -</span></li> <li><span style="background-color: #c0c0c0;">[x] used by large companies like Paypal, walmart</span></li> <li><span style="background-color: #c0c0c0;">[] <strong>study</strong> by paypal found that company developers were able to build app twice as fast with fewer people, <strong>33% less lines</strong> of code, <strong>40% fewer files</strong>, <strong>2x requests per sec</strong> and <strong>35% faster response times</strong></span></li> <li><span style="background-color: #c0c0c0;">[] use <strong>javascript everywhere</strong> - developers can use 1 programming language on both the front end and the back end of the application, using the same naming conventions, the same tools, the same best practices results in cleaner code</span></li> <li><span style="background-color: #c0c0c0;">[] <strong>the largest ecosystem</strong> of pre built components -</span></li> </ol> <li><span style="background-color: #c0c0c0;"><strong><a href="https://www.youtube.com/watch?v=TlB_eWDSMt4&t=181s" target="_blank"><span style="background-color: #c0c0c0;">[03:01</span></a>] Node Architecture</strong></span></li> <ol> <li><span style="background-color: #c0c0c0;">[] earlier, we learned that node is a javascript runtime environment</span></li> <li><span style="background-color: #c0c0c0;">[] there are a variety of js engines that exist, chakra in IE, spidermonkey in firefox, v8 in chrome,</span></li> <li><span style="background-color: #c0c0c0;">[] the different engines in each of the different browser sometimes results in javascript behaving differently in </span></li> <li><span style="background-color: #c0c0c0;">[] while the browser has window or document object to interact with, node does not</span></li> <li><span style="background-color: #c0c0c0;">[] before 2009, the only way to execute javascript code was in a web browser</span></li> <li><span style="background-color: #c0c0c0;">[+*] windows had/has a 'windows scripting host' which enabled the execution of js on the windows OS platform</span></li> <li><span style="background-color: #c0c0c0;">[+*] window 8 app development platform was based on winjs, using js + html + css to build native windows 8 apps with web technologies </span></li> <li><span style="background-color: #c0c0c0;">[] in 2009, ryan dahl embedded the chrome browsers js engine(v8), inside a c++ program and called it node</span></li> <li><span style="background-color: #c0c0c0;">[] node has no window or document object like the browser has,</span></li> <li><span style="background-color: #c0c0c0;">[] but node has its own set of objects that you can use to work with different things</span></li> <li><span style="background-color: #c0c0c0;">[] examples of node objects include things like = ] fs, ] http, ] os, ] global ] console</span></li> <li><span style="background-color: #c0c0c0;">[] node = v8 javascript engine + additional objects</span></li> <li><span style="background-color: #c0c0c0;">[]</span></li> <li><span style="background-color: #c0c0c0;"><strong>[] node is NOT a programming language, it is NOT a framework</strong></span></li> </ol> <li><span style="background-color: #c0c0c0;"><strong><a href="https://www.youtube.com/watch?v=TlB_eWDSMt4&t=364s" target="_blank"><span style="background-color: #c0c0c0;">[06:04]</span></a> How Node Works</strong></span></li> <ol> <li><span style="background-color: #c0c0c0;">[] node has a non blocking or asynchronous architecture by default</span></li> <li><span style="background-color: #c0c0c0;">[*] ASYNCH waiter example - ] waiter takes your order, ] goes to kitchen, ] takes next customers order, ] goes to kitchen, ] when your order is ready </span></li> <li><span style="background-color: #c0c0c0;">[*] SYNCH - - ] waiter takes your order, ] goes to kitchen, ] waits at kitchen until your order is ready ] returns with your order ] takes next customers order, ] ...</span></li> <li><span style="background-color: #c0c0c0;">[] thread allocated from server, often getting data from db takes time,</span></li> <li><span style="background-color: #c0c0c0;">[] if a bunch of threads are</span></li> <li><span style="background-color: #c0c0c0;">[] at some point, you will run out of threads and ...</span></li> <li><span style="background-color: #c0c0c0;">[] <strong>USE NODE for</strong> data intensive apps and realtime apps, apps with a lot of i/o,</span></li> <li><span style="background-color: #c0c0c0;">[] <strong>DONT USE NODE for</strong> cpu intensive apps like ] video encoding, ]</span></li> </ol> <li><span style="background-color: #c0c0c0;"><strong><a href="https://www.youtube.com/watch?v=TlB_eWDSMt4&t=629s" target="_blank"><span style="background-color: #c0c0c0;">[10:29</span></a>] Installing Node</strong></span></li> <ol> <li><span style="background-color: #c0c0c0;">[] use >node --version // from a command prompt, to test if you have node installed</span></li> <li><span style="background-color: #c0c0c0;">[] <a href="https://nodejs.org" target="_blank"><span style="background-color: #c0c0c0;">nodejs.org</span></a> - has the latest stable version and the latest version(experimental, maybe not stable)</span></li> <li><span style="background-color: #c0c0c0;">[] download and install your preferred version, installer is simple and straightforward</span></li> </ol> <li><span style="background-color: #c0c0c0;"><strong><a class="yt-simple-endpoint style-scope yt-formatted-string" href="https://www.youtube.com/watch?v=TlB_eWDSMt4&t=781s"><span style="background-color: #c0c0c0;">[13:01]</span></a> Your First Node Program</strong></span></li> <ol> <li><span style="background-color: #c0c0c0;">[] create first app by defining a javascript function in a file named app.js</span></li> <li><span style="background-color: #c0c0c0;">[] execute the program by launching node with the application file name as an arguement</span></li> <li><span style="background-color: #c0c0c0;">[] >node app.js</span></li> <li><span style="background-color: #c0c0c0;">[] demonstrates that there really is no window or document object in node</span></li> </ol> <li><span style="background-color: #c0c0c0;"><strong><a href="https://www.youtube.com/watch?v=TlB_eWDSMt4&t=922s" target="_blank"><span style="background-color: #c0c0c0;">[15:22]</span></a> Node Module System</strong></span></li> <ol> <li><span style="background-color: #c0c0c0;">[] what the module system is</span></li> <li><span style="background-color: #c0c0c0;">[] why we need them</span></li> <li><span style="background-color: #c0c0c0;">[] built in modules ] filesytem ] http,] events, ] os , ] global, ] ...</span></li> <li><span style="background-color: #c0c0c0;">[] how to create your own modules - ] myModule</span></li> </ol> <li><span style="background-color: #c0c0c0;"><strong><a href="https://www.youtube.com/watch?v=TlB_eWDSMt4&t=952s" target="_blank"><span style="background-color: #c0c0c0;">[15:52]</span></a> Global Object</strong></span></li> <ol> <li><span style="background-color: #c0c0c0;">[] console object is a global object, part of the global scope, it is available anywhere</span></li> <li><span style="background-color: #c0c0c0;">[] other global objects include methods like, ] setTimeout, ] clearTimeout ] setInterval, ] clearInterval</span></li> <li><span style="background-color: #c0c0c0;">[] just like the standard global js objects</span></li> <li><span style="background-color: #c0c0c0;">[] other node global objects</span></li> <li><span style="background-color: #c0c0c0;">[] remember there is no global window aka document object</span></li> <li><span style="background-color: #c0c0c0;">[] object called 'global' contains it global methods</span></li> <li><span style="background-color: #c0c0c0;">[] global.console.log -</span></li> <li><span style="background-color: #c0c0c0;">[] shorthand console.log -</span></li> <li><span style="background-color: #c0c0c0;">[] var and functions declared/defined in a module (file) are only scoped to that file, </span></li> </ol> <li><span style="background-color: #c0c0c0;"><strong><a href="https://www.youtube.com/watch?v=TlB_eWDSMt4&t=1154s" target="_blank"><span style="background-color: #c0c0c0;">[19:14</span></a>] Modules</strong></span></li> <ol> <li><span style="background-color: #c0c0c0;">[] A problem with having a global scope like in browser js, is that often applications have multiple js files, any file that declares a var with the same name as declared in another file will cause problems with the application js execution</span></li> <li><span style="background-color: #c0c0c0;">[] create modules or functions that encapsulate specific functionality</span></li> <li><span style="background-color: #c0c0c0;"><strong>> [] every file in a node application is considered a module</strong></span></li> <li><span style="background-color: #c0c0c0;">[] vars and functions defined in the file are scoped to just that file, in OOP terms they are 'private'</span></li> <li><span style="background-color: #c0c0c0;"><strong>[] if you want to use a var or function defined in a module, outside of the file it is defined in, you need to explicitly EXPORT that var or function</strong></span></li> <li><span style="background-color: #c0c0c0;">[] every node application has at least 1 file, which is considered to be its 'main module'</span></li> <li><span style="background-color: #c0c0c0;">[] </span></li> </ol> <li><span style="background-color: #c0c0c0;"><strong><a href="https://www.youtube.com/watch?v=TlB_eWDSMt4&t=1371s" target="_blank"><span style="background-color: #c0c0c0;">[22:51]</span></a> Creating a Module</strong></span></li> <ol> <li><span style="background-color: #c0c0c0;">[] using module.exports.log = log to export a function that you want to make available</span></li> <li><span style="background-color: #c0c0c0;">[] using module.exports.url = url to export a variable or property that you</span></li> <li><span style="background-color: #c0c0c0;">[] only export the required functionality, not the implementation details</span></li> <li><span style="background-color: #c0c0c0;">[] metaphor - dvd player - only has a few buttons on the outside to operate it, however there is lots of complexity inside the unit, what are your modules buttons</span></li> </ol> <li><span style="background-color: #c0c0c0;"><strong><a href="https://www.youtube.com/watch?v=TlB_eWDSMt4&t=1655s" target="_blank"><span style="background-color: #c0c0c0;">[27:35]</span></a> Loading a Module</strong></span></li> <ol> <li><span style="background-color: #c0c0c0;">[x] use require statement to load the desired module in the file that will consume it</span></li> <li><span style="background-color: #c0c0c0;">[x] require takes one arg, the name or path to the module file</span></li> <li><span style="background-color: #c0c0c0;">[*] .js extension on files is assumed by node, so it is not necessary</span></li> <li><span style="background-color: #c0c0c0;">[x] use ./ prefix for module files that are located in the same directory as the file that will be using the file</span></li> <li><span style="background-color: #c0c0c0;">[x] best practice to now use const logger = require(logger) VS using var logger = ... // prevents use from accidentally re-assiging the logger functionality</span></li> <li><span style="background-color: #c0c0c0;">[] using jshint -</span></li> <li><span style="background-color: #c0c0c0;">[x] ALSO OPTION - dont have to export as object, can export as function,</span></li> <li><span style="background-color: #c0c0c0;">[x] in module - module.exports = log</span></li> <li><span style="background-color: #c0c0c0;">[x] in consuming module - const logger = require('..'), NO need for logger.log('message'), can use by calling logger('message' )</span></li> </ol> <li><span style="background-color: #c0c0c0;"><strong><a href="https://www.youtube.com/watch?v=TlB_eWDSMt4&t=1979s" target="_blank"><span style="background-color: #c0c0c0;">[32:59</span></a>] Module Wrapper Function</strong></span></li> <ol> <li><span style="background-color: #c0c0c0;">[] node does not execute the code in your modules directly, it wraps your code inside of its own function wrapper</span></li> <li><span style="background-color: #c0c0c0;">[] wrapped inside an iife function, has args like ( exports, require, module, __filename, __dirname )</span></li> <li><span style="background-color: #c0c0c0;">[] console.log(__filename);</span></li> <li><span style="background-color: #c0c0c0;">[] node comes with a bunch of useful modules we can use</span></li> </ol> <li><span style="background-color: #c0c0c0;"><strong>[] AD - inline</strong></span></li> <ol> <li><span style="background-color: #c0c0c0;">[*] inline AD for moshes <a href="https://codewithmosh.com/p/the-complete-node-js-course" target="_blank"><span style="background-color: #c0c0c0;">complete course</span></a> , currently $29 for lifetime access , 15 hours material, restful api with node, express, mongodb, this videos content is the first segment(module) of # segments total, additional segments cover</span></li> <li><span style="background-color: #c0c0c0;">[] using npm,</span></li> <li><span style="background-color: #c0c0c0;">[] building restful apis using expressjs</span></li> <li><span style="background-color: #c0c0c0;">[] express advanced topics,</span></li> <li><span style="background-color: #c0c0c0;">[] asynch javascript,</span></li> <li><span style="background-color: #c0c0c0;">[] crud operations using mongoose</span></li> <li><span style="background-color: #c0c0c0;">[] mongo data validation</span></li> <li><span style="background-color: #c0c0c0;">[] mongoose modelling relationships between connected data[]</span></li> <li><span style="background-color: #c0c0c0;">[] authentication and authorization[73:00]</span></li> <li><span style="background-color: #c0c0c0;">[] handling and logging errors[63:00]</span></li> <li><span style="background-color: #c0c0c0;">[] unit testing [61:15]</span></li> <li><span style="background-color: #c0c0c0;">[] integration testing [69:00]</span></li> <li><span style="background-color: #c0c0c0;">[] test driven development[57:00]</span></li> <li><span style="background-color: #c0c0c0;">[] deployment[28:00] </span></li> </ol> <li><span style="background-color: #c0c0c0;"><strong><a href="https://www.youtube.com/watch?v=TlB_eWDSMt4&t=2393s" target="_blank"><span style="background-color: #c0c0c0;">[39:53</span></a>] Path Module</strong></span></li> <ol> <li><span style="background-color: #c0c0c0;">[] a quick look at some of the common native/built in modules that come with nodejs</span></li> <li><span style="background-color: #c0c0c0;">[] documentation at nodejs.org -> docs -> select your version -> table of contents</span></li> <li><span style="background-color: #c0c0c0;">[] not everything listed here is a module,</span></li> <li><span style="background-color: #c0c0c0;">[] some are global objects, like the console object,</span></li> <li><span style="background-color: #c0c0c0;">[] common modules include [] filesystem, [] http, [] os [] path, [] process, [] querystrings, [] stream</span></li> <li><span style="background-color: #c0c0c0;">[] example - using the path module</span></li> <li><span style="background-color: #c0c0c0;">[] easier to use the path module methods then working with strings</span></li> <li><span style="background-color: #c0c0c0;">[1] const path = require('path');</span></li> <li><span style="background-color: #c0c0c0;">[*] if no path to the modulename is provided in the arg to the require methdo, node assumes that it is a built in module, if no built in module exists, node ...</span></li> <li><span style="background-color: #c0c0c0;">[2] let pathObject = path.parse(__filename); // filename here is the __filename of the current module</span></li> <li><span style="background-color: #c0c0c0;">[3] console.log(pathObject.name) // returns 'app' which is the filename without the file extension,</span></li> <li><span style="background-color: #c0c0c0;">[*] other 'path object' properties include root, dir, ext and base</span></li> </ol> <li><span style="background-color: #c0c0c0;"><strong><a href="https://www.youtube.com/watch?v=TlB_eWDSMt4&t=2643s" target="_blank"><span style="background-color: #c0c0c0;">[44:03]</span></a> OS Module</strong></span></li> <ol> <li><span style="background-color: #c0c0c0;">[x] reviewing official docs for methods available in the os module</span></li> <li><span style="background-color: #c0c0c0;">[x] demonstrates using os module methods to get total memory and free memory on the current system</span></li> <li><span style="background-color: #c0c0c0;">[x] demonstrates using template strings (vs concatenations), remember backticks and ${var}, see example below</span></li> <li><span style="background-color: #c0c0c0;">[<strong>x] var displayString = `the total value of the property is: {$totalValue}`</strong></span></li> </ol> <li><span style="background-color: #c0c0c0;"><strong><a href="https://www.youtube.com/watch?v=TlB_eWDSMt4&t=2902s" target="_blank"><span style="background-color: #c0c0c0;">[48:22]</span></a> File System Module</strong></span></li> <ol> <li><span style="background-color: #c0c0c0;">[x] reviewing official docs for methods available in the filesystem module</span></li> <li><span style="background-color: #c0c0c0;">[x] almost every fs method comes in 2 forms, synch or asynch</span></li> <li><span style="background-color: #c0c0c0;">[*] remember the node process is a single thread, if the process is blocked waiting for something, it cant continue to serve additional requests</span></li> <li><span style="background-color: #c0c0c0;">[x] example - read the current directory and output a list of the files it contains</span></li> <li><span style="background-color: #c0c0c0;">[x] example - read the current directory and pass callback to execute, if error exists with fs call, it gets passed, can then handle error aka, else list files</span></li> </ol> <li><span style="background-color: #c0c0c0;"><strong><a href="https://www.youtube.com/watch?v=TlB_eWDSMt4&t=3194s" target="_blank"><span style="background-color: #c0c0c0;">[53:14</span></a>] Events Module</strong></span></li> <ol> <li><span style="background-color: #c0c0c0;">[] core concept of node, event is a signal that something has happened</span></li> <li><span style="background-color: #c0c0c0;">[] req</span></li> <li><span style="background-color: #c0c0c0;">[] docs - events module</span></li> <li><span style="background-color: #c0c0c0;">[] example events emitter (ee),</span></li> <li><span style="background-color: #c0c0c0;">[] ee is a class, note the difference in instatntiating an instance of, have to use the new operator </span></li> <li><span style="background-color: #c0c0c0;">[] describes object, class human, object john</span></li> <li><span style="background-color: #c0c0c0;"><strong>[] // raise an event</strong></span></li> <li><span style="background-color: #c0c0c0;">[x] >emitter.emit() // making a noise, a signal, that something has happened</span></li> <li><span style="background-color: #c0c0c0;">[x] pass it the arguement of the name of the event,</span></li> <li><span style="background-color: #c0c0c0;">[x] >emitter.emit('messageLogged')</span></li> <li><span style="background-color: #c0c0c0;"><strong>[] // NOW we need to listen for the event</strong></span></li> <li><span style="background-color: #c0c0c0;">[] emitter.on() || emitter.addListener()</span></li> <li><span style="background-color: #c0c0c0;">[] arguements for the listener include the name of the event to listen for and a callback function</span></li> <li><span style="background-color: #c0c0c0;"><strong>[] // register a listener</strong></span></li> <li><span style="background-color: #c0c0c0;">[x] > emitter.on('messageLogged', function(){ console.log('message log event handler firing')})</span></li> <li><span style="background-color: #c0c0c0;">[!*] the order of the declaration is important</span></li> <li><span style="background-color: #c0c0c0;">[x] the event listener/handler must be declared before the event emitter</span></li> </ol> <li><span style="background-color: #c0c0c0;"><strong><a href="https://www.youtube.com/watch?v=TlB_eWDSMt4&t=3573s" target="_blank"><span style="background-color: #c0c0c0;">[59:33</span></a>] Event Arguments</strong></span></li> <ol> <li><span style="background-color: #c0c0c0;">[] you can also pass data about the event that just happenend to the event handler by using additional arguements</span></li> <li><span style="background-color: #c0c0c0;">[] in the event emit function, include the data about the event that you want to pass into the event handler</span></li> <li><span style="background-color: #c0c0c0;">[] emitter.emit('messageLogged', {id:3, name:"elm Name"});</span></li> <li><span style="background-color: #c0c0c0;">[] in the event handler function, accept the passed args and process them</span></li> <li><span style="background-color: #c0c0c0;">[] emitter.on('messageLogged', function(args){ console.log(args) }</span></li> <li><span style="background-color: #c0c0c0;">[] mentions using es6 arrow functions vs function keyword</span></li> <li><span style="background-color: #c0c0c0;">[] emitter.on('messageLogged', (args)=>{ console.log(args); }</span></li> <li><span style="background-color: #c0c0c0;">[] exersize = create an event for your logger</span></li> </ol> <li><span style="background-color: #c0c0c0;"><strong><a href="https://www.youtube.com/watch?v=TlB_eWDSMt4&t=3763s" target="_blank"><span style="background-color: #c0c0c0;">[01:02:43]</span></a> Extending EventEmitter</strong></span></li> <ol> <li><span style="background-color: #c0c0c0;">[] i put the event emitter constructs in the logging module</span></li> <li><span style="background-color: #c0c0c0;">[] then I raised the logging event in the logging module but the event handler was not getting called</span></li> <li><span style="background-color: #c0c0c0;">[] he does the same with the same result and then explains how we are working with 2 different event emitter objects, 1 in app, 1 in logging</span></li> <li><span style="background-color: #c0c0c0;">[] so we need to make the logger into a class</span></li> <li><span style="background-color: #c0c0c0;">[] make the current logger function as a method in the class</span></li> <li><span style="background-color: #c0c0c0;">[] and export the class (versus the function) in the module exports</span></li> <li><span style="background-color: #c0c0c0;">[] we then instantiate an instance of the Logger class, in the app module</span></li> </ol> <li><span style="background-color: #c0c0c0;"><strong><a href="https://www.youtube.com/watch?v=TlB_eWDSMt4&t=4246s" target="_blank"><span style="background-color: #c0c0c0;">[01:10:46]</span></a> HTTP Module</strong></span></li> <ol> <li><span style="background-color: #c0c0c0;">[x] one of the powerful building blocks of node,</span></li> <li><span style="background-color: #c0c0c0;">[x] can create a web server, that listens for http requests,</span></li> <li><span style="background-color: #c0c0c0;">[x] node docs</span></li> <li><span style="background-color: #c0c0c0;">[x] server is an eventEmitter, - has on method, close method and more,</span></li> <li><span style="background-color: #c0c0c0;">[x] inherits from .net server,</span></li> <li><span style="background-color: #c0c0c0;">[x] common usage, pass a callback function into create server, with request and response args,</span></li> <li><span style="background-color: #c0c0c0;">[x] example handling http requests in</span></li> <li><span style="background-color: #c0c0c0;">[x] CC my project nodeOne - app.js</span></li> <li><span style="background-color: #c0c0c0;">[x] wont be using this to build a server, will be using framework(expressjs) to keep things clean/modular</span></li> </ol></ol> <h2>[next]</h2> <ol> <li><strong>[00:00] NEW task IN </strong></li> <ol> <li>[] # # - <a href="/view/task?id=1839" target="_blank">CREATE-task# # </a>-</li> <li>[] public - tech-dev-www/ framework-nodejs - [] HAS 13 articles IN planning-project, [] </li> <li>[] # # - learning nodejs on windows -</li> </ol> <li><strong>[00:00] NEW task in</strong></li> <ol> <li>[] http req = get some data, ex from api call ; process that data, ex display on page ;</li> <li>[] http res = </li> <li>[]</li> </ol></ol> <h2>[reference]</h2> <div><ol> <li>[] VIDEO- - by mosh - (this)</li> <li>[] nodeOne - project in \www - with example code, executable</li> <li>[] https://nodejs.org/en/docs/</li> <li>[] https://nodejs.org/en/docs/guides/</li> <li>[] SRC [Ryan video] [] Goal of creating fast https:// servers</li> </ol></div>