Intro This is the second part of the Asynchronous Programming series of articles. and it is going to talk, in relative depth, about various ways to write asynchronous JavaScript code, their similarities and differences and, more importantly, why they exist. First one, Event Loop & Other Animals, dealt with the mechanisms that make execution of asynchronous […]

Read More →

This blog post is an extension to my previous blog posts on tools for good software design and tools for good software design, part II, as such I’m not giving it a full bump in the part number In the previous posts I mentioned six principles: “KISS” principle, and the importance of keeping things simple “Single Responsibility” that really helps […]

Read More →

This is the first part of a series of articles on asynchronous programming in JavaScript and it deals with mechanisms and constructs that make it possible. Later parts will talk about various paradigms, common pitfalls and best practices and discuss various code examples. Part 2: Paradigms and Constructs is also available. Enjoy. Why? JavaScript has […]

Read More →

This is the second part of me putting in ink (well, digital ink) a list of tools/rules/principles I’m utilizing over and over again in my job as a software engineer, designer and architect. In the previous post, I mentioned four principles: the “KISS” principle – and the importance of keeping things simple, the “Single Responsibility” principle […]

Read More →

Representations of business logics is the earliest challenge of any front end testing project. Testing infrastructures need to represent business logic from an end user perspective to faithfully mirror user stories. The Page Object design pattern is the most commonly used for testing web and app pages. It is used to embody the business functionality […]

Read More →

In the micro-services architecture, when we persist data, sometimes we keep referenced entities ids to another micro service’s DB. This can be considered as side effect of the architecture.  lets describe a scenario. Service S1 has collection C1 with a referenced id to Service S2 on collection C2. We want to find all documents that has a referenced […]

Read More →

When you work for a rapidly growing web organization, you will usually have to maintain “cash cow” legacy systems while working on next generation systems in parallel. Considering that while, in the process of developing the next generation system, the majority of revenue will still come from the cash cow legacy systems, and there will […]

Read More →