Tag: node

  • Functional Programming Unit Testing in Node – Part 2

    Functional Programming Unit Testing in Node – Part 2

    Predicates, Async, and Unsafe

    In part 2, we’ll validate our inputs using predicates, show how to make asynchronous pure functions, and show various techniques on how you call unsafe code from Functional Code.

    (more…)

  • Functional Programming Unit Testing in Node – Part 1

    Functional Programming Unit Testing in Node – Part 1

    Functional Programming Unit Testing in Node

    Writing Functional Programming in Node is one challenge, but unit testing it is another. Mainly because many middlewares in Node use the connect middleware approach, and libraries in Node are not written in a pure function way.

    This six part series will go over how to make the unit testing part of easier, some strategies to tackle common impurity problems, and hopefully enable to make 100% test coverage a common part of your job vs. the “not worth the client investment” people commonly associate with it.

    (more…)

  • Node.js Crash Course

    Node.js Crash Course

    Introduction

    I’ve been doing Node full-time at work and noticed a lot of other people lacking a centralized resource to get up and running quickly. There are a lot of wonderful resources out there for Node, a Google search away, but hopefully this document should get you coding quickly as well as able to communicate effectively with other Node developers.

    I’ve tried to write this list in order of most important things you need to know. Feel free to skip around.
    (more…)

  • Why Rewrite InsertBackendHere to Node?

    Why Rewrite InsertBackendHere to Node?

    There are always fads, but sometimes the fads have reasons they are fads. Question from a reader:

    “I’m fine re-architecting our various software applications used internally using Backbone/Angular for the front-end. However, why would I use Node for the back-end when my Spring MVC SOAP Java business layer works just fine?”

    (more…)