15 Feb
2011

Basic JavaScript Part 10: The Module Pattern

Here are the links to the previous installments: Functions Objects Prototypes Enforcing New on Constructor Functions Hoisting Automatic Semicolon Insertion Static Properties and Methods Namespaces Reusing Methods of Other Objects The module pattern is quite popular in the JavaScript community as is heavily applied by many JavaScript developers. There?s also the CommonJS initiative, which defines […]

Read More
9 Feb
2011

Taking Baby Steps with Node.js – Node Version Management with n

Here are the links to the previous installments: Introduction Threads vs. Events Using Non-Standard Modules Debugging with node-inspector CommonJS and Creating Custom Modules The community around Node.js is definitely thriving at the moment. As a consequence, new versions of Node.js are being released very rapidly. While the 0.2.x versions of Node.js are considered stable, the […]

Read More
4 Feb
2011

Taking Baby Steps with Node.js – CommonJS and Creating Custom Modules

Here are the links to the previous installments: Introduction Threads vs. Events Using Non-Standard Modules Debugging with node-inspector In a previous blog post, I already discussed how to make use of the built-in and third-party modules inside a Node.js application. For this post I?m going to briefly touch on CommonJS and show how to create […]

Read More
31 Jan
2011

Basic JavaScript Part 9: Reusing Methods of Other Objects

Here are the links to the previous installments: Functions Objects Prototypes Enforcing New on Constructor Functions Hoisting Automatic Semicolon Insertion Static Properties and Methods Namespaces In one of my previous posts, I mentioned that functions in JavaScript are plain objects that can have their own properties and methods. One of these methods that are available […]

Read More
26 Jan
2011

Basic JavaScript Part 8: Namespaces

Here are the links to the previous installments: Functions Objects Prototypes Enforcing New on Constructor Functions Hoisting Automatic Semicolon Insertion Static Properties and Methods In my previous post, I showed how you can ?emulate? static members in JavaScript without having a dedicated syntax for it. For this post, I?m going to discuss namespaces in JavaScript. […]

Read More
19 Jan
2011

Basic JavaScript Part 7: Static Properties and Methods

Here are the links to the previous installments: Functions Objects Prototypes Enforcing New on Constructor Functions Hoisting Automatic Semicolon Insertion In this post, I?m going to quickly show you how to set up static properties and methods in JavaScript. This can come in handy for constant values and/or utility functions. C# and most other class-based […]

Read More
14 Jan
2011

Taking Baby Steps with Node.js – Debugging with node-inspector

Here are the links to the previous installments: Introduction Threads vs. Events Using Non-Standard Modules Writing unit tests for your code drastically reduces the amount of debugging. This is the case for practically any programming language that you work in. But when the shit hits the fan, having a debugger with some decent features at […]

Read More
12 Jan
2011

Basic JavaScript Part 6: Automatic Semicolon Insertion

Here are the links to the previous installments: Functions Objects Prototypes Enforcing New on Constructor Functions Hoisting For this post, I?m going to discuss a feature of JavaScript that can easily get you in trouble. Semicolons in JavaScript are not mandatory. This means that if you forget to place a semicolon after some statement, JavaScript […]

Read More

Find me

RSS
Facebook
Twitter
LinkedIn
SOCIALICON
SOCIALICON

Disclaimer

The opinions and content expressed here are my own and not those of my employer.