Page 3 - Brendan Graetz

  • tl;dr= Reference/starter project can be found at

    Testing NodeJs vs Testing Front-end

    When developing a NodeJs application, testing it can be quite straight forward, in the sense that you simply need to to interact one thing: your Javascript modules.

    This is fairly easy to do if your test runner or framework is also written in NodeJs - all you have got to do is require() the necessary modules in, …

    continue reading »
  • Not a Windows or a .NET developer of any flavour, but I have been using Javascript to write applications that work on devices running windows.

    I have been packaging them up using Cordova/ Phonegap. This works well for Android and iOS, but not so well for Windows; but thankfully Microsoft has released a HTML + JS offering which it calls WinJS, and is essentially a tool chain which does what Cordova/ Phonegap do, from Visual Studio, building Windows 10 UWP apps. (There are also Windows 8 UWPs, but I won’t go into that here.) …

    continue reading »
  • What & Why Asynchronous?

    When you write a program, a lot of time is spent waiting for something. In fact, most programs spend most of their time idling, waiting for something to happen, and then burst into life in short spurts whenever things need to happen. The most common one is waiting for user input - for a user to type something into a form, or to press a button - but there are many other things that aren’t user-related that programs typically have to wait for: Reading or writing files to disk, …

    continue reading »
  • Let’s Encrypt is the new certificate authority in town, enabling developers to generate their own TLS certificates - which are necessary for running servers over HTTPS - and it just went into public beta a week or so ago.

    By default it is all set up and ready to go for Apache servers. However, for other varieties of servers - NodeJs included - a little more leg work is involved. That’s what this post looks at. Parts of it are specific to NodeJs, with the remainder are applicable to any other platform. …

    continue reading »
  • Asking about coding skill

    “What are the levels of skill of a coder?”

    The answers that I get, usually, were something along the lines of: “fresh grad, mid-level developer, and senior developer”, or “software developer, software engineer, and software architect”. My guess is that this is based upon what the companies they work for have structured their development teams around.

    Organisation chart, crossed out, 'does not apply to coders'

    This is an easy means of classification, of course - …

    continue reading »

Copyright © 2008-present Brendan Graetz