-
Traversing folders
Posted on
by
I always manage to forget the syntax for traversing folders. So for the recorded, this is how it’s done: / means drop back to the root folder then traverse from there. For example <img src=”/assets/images/banana.jpg” alt=”banana”> the images folder is at the root level…
-
RESTful Routes
Posted on
by
What are REST, Routes, CRUD? Representation State Transfer or REST is a pattern/convention for defining our routes. Routes are the code that listens and receives requests then figures out what to send back. CRUD stands for Create, Read, Update, and Delete. These…
-
Installing MongoDB on macOS
Posted on
by
The course I’m doing uses Cloud 9 (C9) as cloud-based IDE. I’ve basically ignored that side of things and done everything locally on my Mac as that feels more real world to me. Turns out this was a good decision as C9…
-
YelpCamp
Posted on
by
I’ve now reached a turning point in my web dev course. This morning I started writing code on my first meaty project, YelpCamp. As the name implies the YelpCamp project is Yelp but for campsites. The idea isn’t to release this as…
-
JSON
Posted on
by
I’ve worked with JSON data before when I was learning Swift and iOS development. At the time I didn’t really know much of JavaScript or its object syntax. Back then, I made my version of a weather app call “Clima“. That app…
-
A battle for the ages
Posted on
by
Spaces vs tabs is a hilarious holy war that doesn’t really matter but I do find amusing. Modern text editors normalise differences on a project anyway, but I do love these ideological battles. The video below covers it better than I ever…
-
Express snippets
Posted on
by
Since I’m playing with Express at the moment I’ve updated my collection of snippets to include a few things I seem to be doing regularly: Express setup I use the shortcut “myExpressSetup” to kick off all my new Express projects. It has…
-
NPM and a Demon
Posted on
by
So learning node.js has been really interesting so far, I’m quite taken by it. It’s great being able to transfer my JavaScript skills from frontend to backend. One of the things I’m enjoying most about it is NPM. By their own definition:…
-
The three stages of developer growth
Posted on
by
Today I happened across a great Quora post by Andreas Blixt. In the post, Andreas outlines the three stages of developer growth: The novice hacker“This code sure is ugly and I don’t quite understand why it works, but here it is!”A developer…