After managing an extremely large scale NodeJs deployment last year. I learnt a great deal about production deployments with a focus on scalability. The retrospective summary of these learning points are in a presentation given last year: Top 7 Things Learnt Deploying NodeJs Servers at Scale.
Production deployments are about a whole lot more than scalability though, and we’ll examine another aspect of them here: Managing multiple deployment environments. …continue reading »
It has been a while since my last post… So I thought I might combat the inertia with a fun project:
What it does: Downloads a video, splits it up into frames, and assembles those frames back into printable pages - which you can then print, cut, and finally glue - and voila a flip book of your favourite video!
Best of all, it does all of that using just one simple shell script. …continue reading »
tl;dr= Use ReactJs to publish static + isomorphic websites
git push -> travis -> webpack -> reactjs -> gh-pages
React can render both to in-browser DOM - which is the default use case - as well as to an in-memory string - which is usually used in server-side rendering. Thanks to static-site-generator-webpack-plugin doing the heavy lifting, and a few node modules of my own, it can also be used to generate static sites. This is perfect for hosting on Github Pages, or similar hosts.
…continue reading »
tl;dr= Reference/starter project can be found at github.com/bguiz/front-end-js-testing
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, …
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 »
Copyright © 2008-present Brendan Graetz