‘Object-Oriented JavaScript’ Book recieves 4/5 Stars on About.com
About.com JavaScript guru, Stephen Chapman has awarded Stoyan Stefanov’s ‘Object-Oriented JavaScript’ book 4/5 stars in his latest review.Describing it as “A book that demonstrates some of what...
View ArticleEclipse –‘Building workspace’ has encountered a problem
I’ve got a web project that uses some 3rd party JavaScript libraries. Unfortunately whenever Eclipse (Indigo) builds the project, it gives an error “‘Building workspace’ has encountered a problem”....
View ArticleHello World! In Node.js
As is usual in computer programming, when learning a new language or framework, the initial program is the “Hello World!” application. In Node.js, the “Hello World!” program is written with a twist to...
View ArticleReading a Configuration File in NodeJS
Using NodeJS, its easy to read a configuration file using the fs module. To read a configuration file, we need to include the fs module, read in the configuration file and then parse it from JSON into...
View ArticleAutorestarting Node.js Apps During Development
When writing a Node.js application, it’s frustrating to have to start and stop the application whenever changes are made. To allow us to develop more efficiently, we need something that monitors our...
View ArticleNodeJS Application on OpenShift Giving 503 Error
If you’ve got a Node.js application running on OpenShift, chances are at some point you’ve seen a 503 error when deploying the application. The OpenShift FAQ tells us to take a look at the log files in...
View ArticleConfiguring node.js JavaScript for Jslint
When I’m writing JavaScript, I always lint my code using jslint to try to minimize any code problems and syntax errors. In a node.js environment, even the simplest of applications will fail linting....
View ArticleJavaScript Patterns
I’m currently reading “Learning JavaScript Design Patterns” by Addy Osmani. According to the book, it’s targeted at: professional developers wishing to improve their knowledge of design patterns and...
View ArticleUsing Angular.js Factories to Get Remote Data
In this post, I’d like to show the differences between using an Angular.js factory to get local JSON data vs remote data via an AJAX call. For this example, I’m assuming that we have a JSON dataset...
View Article