Programming

NodeJS tutorial – MongoDB driven Employee Database

This is a simplistic database-driven employee website. It does not, at all, have all of the functions a real employee database would. Nor is the database well designed for actual use. This is just designed to show the CRUD functions that you can use with MongoDB and NodeJS. (CRUD: Create, Read, Update, Delete) Disclaimer: I

spacer

Employee Website – a NodeJS example

This is going to build off of the last tutorial. If you haven’t gone through it, you’ll need to – the MongoDB portions are referenced in this tutorial. Alright, so, let’s get started. There are several files that we need to have, and two sub-folders that we’re going to put them in. But first, you

spacer

RESTful people – NodeJS and MongoDB

Today, I wanted to go through the process of creating a simple API that gets data from a MongoDB using NodeJS. We’re going to use the default Mongo driver to do this. (Most use Mongoose; it is a bit easier to work with according to the internet.) We are also going to use Assert and

spacer

MVC and NodeJS

So, I like MVC. (Model, View, Controller) The “view” in MVC is one of the really cool pieces; it allows you to quickly and easily make a template that you can apply “data” to at will. It allows for a dynamic website without needing to build extra pages. It can also help SEO and a

spacer

Development Speed

One of the things I look at when I’m developing something is how fast I can get the project launched. This is one of the things, more than any other, that calls me to NodeJS. It is very simple and easy to get something running. In fact, I’m going to take you through a quick

spacer

Learning New Technologies

Learning new things can be tough, especially when you are trying to teach yourself. A few weeks ago I posted something to LinkedIn, (and copied it here) about things I planned to do in order to become a better developer. The first thing I did after posting that was go to CodeCademy and complete their

spacer

Programming Resources

I’ve been watching the conversations recently about failed video game launches. When people see bugs in software, they are rightfully annoyed; especially if they’ve spent a lot of money on whatever it is they’re using. Even if there’s a workaround it’s annoying. When these things happen En Masse, like with the Arkham Knight video game

spacer

Good Code

When I code something, I am  usually just trying to make it work. I don’t care about how clean my code is, or if it could get the job done in a more efficient way. So long as my code works, and works the way I expect it to, I’m usually good with it. This

spacer

Twitter Application

A little over a week ago I decided that I wanted to get more familiar with RESTful APIs, so I thought I’d make a Twitter application for my own personal use. That was a mistake. I thought I could read Twitter’s documentation and get started pretty quickly. After a few hours of trying to understand how

spacer