Quantcast
Channel: The Code Barbarian
Browsing all 25 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

The MEAN Stack: MongoDB, ExpressJS, AngularJS, and Node.js

This post was featured as a guest blog for MongoDB on April 30th 2013, which can be found here. A few weeks ago, a friend of mine asked me for help with PostgreSQL.  As someone who’s been blissfully...

View Article



Image may be NSFW.
Clik here to view.

How to Easily Validate Any Form Ever Using AngularJS

If you’ve ever tried to build any kind of website, odds are you’ve had to create some way of validating and saving input from a form.  Back in the bad old days this used to be a huge pain, because...

View Article

Image may be NSFW.
Clik here to view.

Mistakes You’re Probably Making With MongooseJS, And How To Fix Them

If you’re familiar with Ruby on Rails and are using MongoDB to build a NodeJS app, you might miss some slick ActiveRecord features, such as declarative validation. Diving into most of the basic...

View Article

Image may be NSFW.
Clik here to view.

8 Reasons Why Better Nutrition Makes You a Better Developer

Software developers are not known for having the best nutrition. When it comes to development work, the stereotypical late night Red Bull-fueled coding binge is often not too far from the truth. It’s...

View Article

Image may be NSFW.
Clik here to view.

Introduction to the MEAN Stack, Part One: Setting Up Your Tools

I’ve received several emails asking for instructions on how to set up a basic MEAN stack app. I’m going to take it one step further and give you guys a two-part post that will walk you through creating...

View Article


Image may be NSFW.
Clik here to view.

Introduction to the MEAN Stack, Part Two: Building and Testing a To-do List

In last week’s blog post, I showed you how to install all of the basic tools that you need to get up and running with the MEAN Stack. Didn’t catch that one and need help getting started with the MEAN...

View Article

Image may be NSFW.
Clik here to view.

The 80/20 Guide to Writing AngularJS Directives

AngularJS is blowing up right now, and with good reason. There’s nothing more satisfying than using AngularJS to turn 1,000 messy lines of Backbone.js and jQuery spaghetti code into a trivial 10 lines....

View Article

Image may be NSFW.
Clik here to view.

Price Internationalization with the MEAN Stack

Displaying prices in different currencies is a common internationalization task for web developers. However, this task can be a bit tricky: While there are a number of services that provide foreign...

View Article


Image may be NSFW.
Clik here to view.

Want To Ace Your Next Developer Interview? Channel Andrew Luck

I’m going to go out on a limb and say that the single most important quality that differentiates a good software developer from an excellent software developer is the ability to spend hours on a...

View Article


Image may be NSFW.
Clik here to view.

The 80/20 Guide to Writing and Using AngularJS Filters

My directives post seems to have gone over well. I’ve received emails and comments from readers expressing how much it helped them, so I figured I’d write a post about one of the simultaneously oldest,...

View Article

Image may be NSFW.
Clik here to view.

My Top 5 Paleo Lifestyle Hacks for New Yorkers

It’s official: paleo was the most searched for health term on Google in 2013, and, thus, paleo is no longer weird. Well, maybe its still a little weird, but at least people don’t look at me like I’m...

View Article

Image may be NSFW.
Clik here to view.

What You Need To Know About AngularJS Data Binding

You hear a lot about data binding in AngularJS, and with good reason: its at the heart of everything you do with Angular. I’ve mentioned data binding more than a few times in my guides to directives...

View Article

Image may be NSFW.
Clik here to view.

Crunching 30 Years of NBA Data with MongoDB Aggregation

When you are looking to run analytics on large and complex data sets, you might instinctively reach for Hadoop. However, if your data’s in MongoDB, using the Hadoop connector seems like overkill if...

View Article


Image may be NSFW.
Clik here to view.

The Optimal Setup for Listening to Talks at 2x Playback Speed

If you’re an avid podcast listener and online courseware consumer like I am, odds are you’ve gotten frustrated with how long it takes to listen to a single lecture. An hour-long podcast on Bulletproof...

View Article

Image may be NSFW.
Clik here to view.

Why Math is Necessary for CS Majors

While math and computer science have been lumped together for about as long as the latter has existed, there’s a lot of backlash recently toward the idea that a solid math background is integral to...

View Article


Image may be NSFW.
Clik here to view.

Plugging USDA Nutrition Data into MongoDB

As much as I love geeking out about basketball stats, I want to put a MongoDB data set out there that’s a bit more app-friendly: the USDA SR25 nutrient database. You can download this data set from my...

View Article

Image may be NSFW.
Clik here to view.

A NodeJS Perspective on What’s New in MongoDB 2.6, Part I: Text Search

MongoDB shipped the newest stable version of its server, 2.6.0, this week. This new release is massive: there were about 4000 commits between 2.4 and 2.6. Unsurprisingly, the release notes are a pretty...

View Article


Image may be NSFW.
Clik here to view.

A NodeJS Perspective on What’s New in MongoDB 2.6, Part II: Aggregation $out

From a performance perspective as well as a developer productivity perspective, MongoDB really shines when you only need to load one document to display a particular page. A traditional hard drive only...

View Article

Image may be NSFW.
Clik here to view.

What’s New in Mongoose 3.8.9

I have an important announcement to make: over the last couple weeks I’ve been taking over maintaining mongoose, the popular MongoDB/NodeJS ODM. I have some very big shoes to fill, Aaron Heckmann has...

View Article

Image may be NSFW.
Clik here to view.

The Future of MongooseJS

Two weeks ago marked a big milestone: mongoose 3.9.0 was released. Be warned, mongoose’s versioning practice is that even numbered branches are stable and odd are unstable. While all our tests check...

View Article
Browsing all 25 articles
Browse latest View live




Latest Images