Day 92 MEAN Stack

The MEAN stack is the most commonly used technology stack associated with Node.js. A stack is a combination of all technologies used to build software. For example a database system, your server side code, your client side code, and everything else. It is your choice to use any technology for a stack it is not […]

Day 91 MySQL & Mongoose Databases

Today’s topic was about databases and this starts with a conceptual aside. First of all a relational database are tables of data related to each other as the name suggests. By breaking apart each part of the data it is easier to call it without repeating. An example would be having a person object name […]

Day 90 Node.js Template Engines & App Structures

Yesterday I learned about express and today is a continuation of that. According to the Express website “A template engine enables you to use static template files in your application. At runtime, the template engine replaces variables in a template file with actual values, and transforms the template into an HTML file sent to the […]

Day 89 Node.js Express Framework

Finally, the basic understanding of Node.js is understood, so its time to use a framework in it. Express is a web application framework designed for building web applications and APIs. It is also the common use case for Node.js. Installing express on node is quite simple. I just had to create a variable equal to […]

Day 88 Node.js NPM

Node packet manager(NPM) was today’s topic. A much bigger topic then what I realized. No wonder I couldn’t get it to work when I first started doing projects I seen on YouTube. You tubers just nonchalantly typing in NPM into the command line terminal. Meanwhile I’m in the wrong path directory for the NPM to […]

Day 87 Node.js Creating A Server

Today I practiced making a simple web server. However, we started with a few conceptual asides of what the internet is like what is a protocol, TCP/IP, port, and HTTP. A protocol is a set of rules two sides agree on to use when communicating. Both the client and server are programmed to understand use […]

Day 86 Node.js Stream and Buffer

Today’s lessons were mainly asides about streaming and buffering. These are two key concepts to understating how web servers work. Buffer is a temporary holding spot for data being moved from one place to another. Stream is a sequence of data made available over time. I understood these two concepts when I thought about watching […]

Day 85 Node.js Libuv

For the past two blogs I’ve learned about event emitter in node.js which are custom JavaScript events that we create. However, today I learned about libuv a C++ core library used in Node. Libuv allows asynchronous inputs and outputs. This library listens and runs system events, which are things like finishing reading a file. Libuv […]

Day 84 Node.js Inheriting From The Event Emitter

Hello coders today was a lot more reviewing of JavaScript fundamentals again in the Node.js course along with learning inheritance within event emitters. The fundamentals talked about today were ES6, object.create, template literals, .call, and .apply. What is inheritance? The order in which these fundamental JavaScript concepts were presented set up how inheritance works with […]

Day 83 Node.js Event Emitters

What are event emitters? Node.js core API is based on the asynchronous event-driven architecture in which certain kind of objects called emitters periodically emits events that cause listener objects to be called. All objects that emit events are exposed on eventEmitter.on() function that allows one or more functions to be attached to named events emitted by […]