Tag Archives: software development

More on Node VM

So I wanted to understand a bit more about what is going on under the covers with Node VM. To do that, I pulled open the node code itself. To start with, when we do a require(‘vm’) we are referencing … Continue reading

Posted in Javascript, Node.js | Tagged , , , , | 3 Comments

Node VM Continued

One thing I noticed today is that this works: var util = require(’util’); var vm = require(’vm’);   var contextObject = { } contextObject.contextMethod = function(text) { console.log(text); } var myContext = vm.createContext(contextObject); myContext.contextMethod2 = function(text) { console.log(text); } var … Continue reading

Posted in Javascript, Node.js | Tagged , , , , , , | Leave a comment

Javascript Objects and Inheritance with Node.js

It has been years since I was particularly interested in the Javascript language. At the time it was slow, and I really felt that the virtual machine environment of Java provided everything I could possibly need in developing software – … Continue reading

Posted in Javascript, Node.js | Tagged , , , , , , , , , | 1 Comment