Updates on App development using DB2 with node.js, Python, Ruby. Golang connectivity
Mario Briggs 270001DNFS Visits (7491)
Jan 1 2015 marked a release of the ibm_db python module that culminated the simplification of developer experience for DB2 from node.js , Ruby and Python . For example if you used mysql from these languages, it was just the one npm install/gem install/pip install command required whereas for DB2 (and our other enterprise friends) it was pre-requisites first including things like LD_LIBRARY_PATH ugh!!!. With the latest version of the ibm_db module in these 3 languages, it is as simple now and one does not have to bother about prerequisites and linking stuff.
Give these packages a try and any feedback is welcome. Most satisfying was the work on ibm_db node.js package on Windows. With the package manager not having a way to ship binaries and no mingw support, it makes it hard since users are not going to have a VC++ compiler on their machine .
Golang - the db2cli package has been out there for a while thanks to great work from Patrick Higgins and it is what we will collaborate on for DB2 connectivity from Go. With bluemix now having a Go runtime by default, here's a dashDB sample with Go. Finally, Avinash will be looking into if at all we can do the above same cool enhancement for Go.... seems challenging but we are looking and any pointers from folks with experience with Go in this area is welcome.
 - If you are using Mac OS, our support for that platform is still awaiting this cool enhancement (still need to install DB2 Express-C) and so too does the ibm_db gem on windows.
 - I did now see node-pre-gyp , so something to check out if need to consolidte on