ECMAScript 6 introduced a new feature called “Rest Parameters” which allow us to represent an indefinite number of arguments as an array. For exmaple the last parameter of function, others was prefixing with 3 dots .... This means all following arguments will be filled in others as an array.
[Read More]
Studio 3T (MongoChef), My 'Swiss Army Knife' for MongoDB
Our production Worktile is using MongoDB as backend database. When I joint this team I was looking for a good GUI tool for MongoDB. Very soon I found MongoChef, which named Studio 3T now, and it’s being used as my primary MongoDB tool till now.
[Read More]
Try RxJS in Node.js
Reactive Extension (Rx), which is introduced by Microsoft, is a library for composing asynchronous and event-based programs, by using observable, observer with LINQ-style query operators. If LINQ is the first generation on how people deal with data, Rx should be next generation.
[Read More]
Partial Class in JavaScript
We should NOT write a lot of code inside one file, or in one class, not only in JavaScript in theory. But in practice we might need to write a huge class. I know in C# we can split one class in multiple files, which they called partial class. How...
[Read More]
Compile Node.js Application
Recently I was working on a project to make our production, Worktile Pro, to be able to on-premise deploy. Besides some code changes one of the problem we were facing is how to protect our source code. This can be resolved by compiling to binary.
[Read More]