Javascript

Latest Posts

Inheritance, Composition, and everything in–between

There are many concepts in the OOP paradigm. Inheritance is the most known, and it allows us to model software as relations between objects, just like in real life.

4 Ways to Minimize your Dependencies in Node.js

We all know the joke about how node_modules is the heaviest object in the universe.

Implementing Promisable setTimeout

setTimeout() is the most powerful execution control function. Sadly - it's not async. Lets turn it into one.

NodeJS Native Module vs WASM

In my previous post about [[Supercharge Your NodeJS With Rust|Native Rust Modules for NodeJS]], people asked me how neon bindings would compare to WASM. Let's check!

Supercharge Your NodeJS With Rust

Node isn't the fastest framework out here. It's not the slowest either, v8 is doing wonders to its speed, but nevertheless, if we setup an unfair battle between Node and say Rust; Node will lose.

React.JS Localization v0.2

In my last post I've discussed ReactJS localization. Now lets find the proper way to do localization.

Validating Requests With a Simple Middleware for Express

A key to a good API design is good control of what data your controllers or API end points accepts. Another important key to a good design — is that you can take a brief look at your API end point and immediately understand how your request should look.

The land of undocument react.js: The Context

A different approach for localizing react.js app

Howdy! I’ve heard you use ReactJS? Good! I also heard you want to localize your application? That’s great! Well proper localization is hard, there are many js libraries for client side localization as well as yahoo/react-intl that provides localized react components based on JavaScript Intl API.