I’m constantly coming up against adding conditional properties to an Object, in an elegant fashion, but always have to end up doing:
var a = {};if (someCondition) { a.b = 5;}
As of Node v6.3.0, we can now debug Node applications in Chrome DevTools. BUT, as I’ll elaborate on later, you’re going to need Node v7.2.1 if you want full SourceMap support to boot.
Although NodeJS and it’s proprietary package manager, NPM, have come on a lot in recent times, versioning can still be a mine-field, when setup projects on different systems and environments.
Came across an interesting dilema whilst trying to wire up a tree control using Play Framework 2.
The controls api only provides one method for retrieval of initial remote data and also subsequent loading…
Booleans can be declared either as Ints, Strings or Boolean primitive types. To correctly evaluate a value from any of these types, we can safely use the following:
Ints
Strings
Boolean
I recently had to knock up a demo Flex project using the fantastic Parsley framework from SpiceFactory. Having not used the framework before, I naturally spent a bit of time googling for examples and was disappointed that there actually aren’t many on the web — which is why I’m…
The usefulness of the try {} finally {} should not be under-estimated. You do so at your peril. For it is little used, and often misunderstood.
try {} finally {}
It was introduced in common programming languages of the mid 1980s, where a cleanup mechanism was required for…
Wow, have been looking for a way of implementing proper audio computations for flash for some time, and although I haven’t dabbled too much with Processing as yet, it capabilities seem pretty awesome! Flash’s audio capabilities greatly improved with Flash MX, but still fall far…
During the final throws of a recent project, it occured to me that usual method of including various language specific unicode glyphs, had changed significantly in Flex / non-flash IDE developement.
I’ve been playing around with DI / IoC frameworks for a while now, but new territory for me is building them with ANT. Apache ANT is an old favourite tool of mine, but was only recently that a multi-modular application required ANTing!
These were the top 10 stories published by James Hill; you can also dive into yearly archives: 2005, 2008, 2009, 2010, 2016, and 2017.