Author: Glen Young

  • Traversing folders

    Traversing folders

    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 ./ means start at the current working directory. In this example, <img src=”./images/banana.jpg” alt=”banana”> the…

  • RESTful Routes

    RESTful Routes

    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 are the 4 basic functions we have when building an API. So why…

  • Installing MongoDB on macOS

    Installing MongoDB on macOS

    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 has recently announced it’s shutting down. Anyway, at times this has made things…

  • YelpCamp

    YelpCamp

    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 a service that people will actually use. The intent is to combine what…

  • JSON

    JSON

    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 pulled down weather information based on your current location using JSON data from…

  • A battle for the ages

    A battle for the ages

    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 could. Enjoy… btw I’m a spaces man 😉

  • Express snippets

    Express snippets

    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 basically all the parts I need to get the project underway, and means…

  • NPM and a Demon

    NPM and a Demon

    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: NPM is the world’s largest software registry. Open source developers from every continent…

  • The three stages of developer growth

    The three stages of developer growth

    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 in this phase finds creative solutions to problems, they just happen to be…