·

Node

Everything related to Node you’ll find in this category.

How to write unit tests for your websites’ JavaScript with Mocha

As some of you might know, I’ve already written a lot of posts about unit testing in PHP. But what about your JavaScript? That might require testing too. Especially when it comes to critical functions that involve complex operations. One road you could take to do this is use a headless browser and a testing read further ...

How to parse XPath in NodeJS

Need to parse an XML Document in NodeJS using XPath? Here’s how: Such a tiny little snippet…read further ...

How to enable autocompletion for NodeJS in PhpStorm

Recently I’ve been tinkering a bit more with NodeJS, just to expand my horizon. I’ve done some simple things with NodeJS before, but since I work for 99% with PHP (WordPress, Magento) I (still) haven’t got a real use case yet to implement it on a larger scale. Nevertheless – curious as I am – I started tinkering a read further ...