Understanding Micro-Frontends: Small, Standalone Frontend Applications for Agile Development
Micro-frontends refer to small, standalone, and deliverable frontend applications that can be combined to form a whole single application. The idea is to break down a monolithic frontend into smaller, more manageable pieces that can be developed, tested, and deployed independently.
Dependency Injection in NodeJS: What, Which and How?
"High-level classes should not call the low-level classes directly in order to avoid concretion. Instead, both should depend upon abstractions." Then, in turn, abstractions should not depend upon the details or implementation. Instead, the implementation should be dependent on the abstraction.
CarbonTeq Wins Clutch 2022 Leader Award as a Top App Developer in Pakistan
CarbonTeq delivers end-to-end development services, digitizing businesses of all sizes. We are a client-focused team with a passion for crafting innovative digital solutions that solidify your new-age footprint. We channel our belief in innovation, commitment to quality, and close collaboration to make the best products for our clients. Our team
Design Patterns Trade-offs
Design Patterns are typical solutions to commonly occurring problems in software design. They are like pre-made blueprints that you can customize to solve a recurring design problem in your code. Introduction Each of the design patterns represents a specific type of solution to a specific type of problem. There is
Vector Space (Similarity) Search
Vector space (Similarity) searching in the context of facial recognition systems. In this article we will discuss the following: * Vector * Vector Space * Use cases for Vector space models * Importance of Vector Representation and the Distance function * Vector Similarity search * Using Indexes for Vector Similarity Search Vectors The standard definition of
Actor Model and its Significance
Brief introduction to Actor Model, and the problems it solves? What is Actor Model The actor model is a model of concurrent computation that treats actors as the universal primitive of concurrent computation. In response to a message it receives, an actor can: make local decisions, create more actors, send
Concurrent Programming and Shared Memory Pitfalls
Objectives * Process * Process Scheduling * Interprocess Communication * Synchronization Mechanisms What is a Process? Typically a process is: -> A program in execution is considered a process... -> But some programs run as multiple processes.. Process: A new Perspective We could view Process as a data structure. Example: Stack Defined as the
What is Garbage Collection? Overview Garbage collection (GC) is a form of automatic memory management. The garbage collector attempts to reclaim memory which was allocated by the program, but is no longer referenced also called garbage. Garbage collection was invented by American computer scientists around 1959 to simplify manual memory
Stochastic Optimization: Ant Colony Optimization
What is Stochastic Optimization? Stochastic optimization is the process of maximizing or minimizing the value of a mathematical or statistical function when one or more of the input parameters is subject to randomness. The word stochastic means involving chance or probability. Stochastic optimization plays an important role in the analysis,
Using Command Bus in NodeJs
The Command Pattern was one of the behavioral patterns described by The Gang of Four as a way for two objects to communicate. Lets get familiar with terminology A command is an object that signals an intent, like RegisterUser. Commands are passed to the command bus. Command bus will pass
Custom Exception Handling with NodeJS
Webpack Optimizing Production Build
Providing the mode configuration option tells webpack to use its built-in optimizations accordingly. You just set the mode object in webpack.config.js file mode:"development" If you want to change the behavior according to the mode variable inside the webpack.config.js, you have to export a function instead
Build and Deploy MERN Stack Applications with Kubernetes
In recent years, the MERN stack has gained a lot of popularity among developers due to its efficiency and scalability. MERN stands for MongoDB, Express, React, and Node.js, and is a full-stack web development technology. Combining the MERN stack with Kubernetes provides a flexible, secure, and scalable environment to
MERN Stack with Docker
In this article, we will cover how you can use docker compose to setup MERN stack in development environment. Requirements on our end are pretty simple and straightforward. * Control our configuration * Setup the server * Setup the client Furthermore we will explore how we can manage our application on docker. * Inspect
What is Koa? A Brief Overview.
According to official “koa” documentation, koa is: “Next-generation framework for Node.js” Koa is created by the team who created the Express Framework. The main reasons for creating koa after Express was the need for a more expressive and robust foundation for APIs and web applications. Koa uses async functions
MVP Development Process With Django
For those who don’t know what an MVP is, let me start from the bottom. MVP stands for “Minimum Viable Product” Let’s take a look at the Minimal Viable Product definition from wikipedia: “Minimum viable product (MVP) is a product with just enough features to satisfy early customers,