PinnedFrontend Pattern — Atomic Business Components (ABC)In this article, we are going to explore a pattern for frontend scalability. we are also going to explore the pros and cons of the ABC pattern. Atomic Business Component Reusable UI components can be shared across apps and they don’t carry any business logic them. But business UI components have business logic…JavaScript6 min readJavaScript6 min read
Aug 4My new X (Twitter) AccountI was shadowbanned for almost 2–3 years on Twitter. so finally I created a new account to post content. follow me — https://twitter.com/BionicNaren1 min read1 min read
May 5Naming various components in K8S and WebApplicationWe are following this scheme for naming various components and I found this highly simple and intuitive. Basic Hierarchy a company has many products a product has many components/modules etc a component has many git branches Examples Imagine our product (web app) name is — expensely, now, here are various names of components. …2 min read2 min read
Apr 12Kindly help/suggest School for Yug Sisodiya (in Dehradun)Hi All, Yug Sisodiya is my kid; he is a 7-year-old boy. Yug loves Robotics, Coding, Technologies, CAD and whatnot. I am an IITian with 15+ years of Industry Experience and a Techie. Recently when ChatGPT was introduced, I told him to play with it and he used ChatGPT to…2 min read2 min read
Feb 7Dear WhatsApp — I am an Admin and not SpammerI am the admin of the Startup Community where 1000+ members are present. I am also an IITian with 15+ yrs of experience. I manage a large community of entrepreneurs and developers. But In 24 hours, Whatsapp blocked me and unblocked me 3 times. Here is the story of the…4 min read4 min read
Aug 1, 2021Beep Alert when Battery is below 10% — MacOS.My MacBook shut down most of the time because I am working and lazy to put the charger in. It shows a notification at 10% battery but I usually forget. How about a irritating Beep sound which start when battery is below 10% Beep Save the following script somewhere — You…1 min read1 min read
Jul 31, 2021Beware before you click the “Save” button on your Google Photos.Ok, I did some experiments around large video files and Google Photos and Family sharing. Before we start this experiment, let me tell you the initial state. We have 3 people (me, wife, and kid). We have 100 GB. So, right now, it shows — Total Approx 74GB used Upload 2.4 GB Video file Now…3 min read3 min read
Oct 23, 2020Why Server must not trust the client.Well, why we need to reason for this simple statement and write a 2-page article on this? It is just simple common sense. Client code (even which we wrote) will be executed on the client machine. we don’t have control over machines and the network. Even if we make UI checks and hide stuff on UI, anybody else can still make an API call with any value. Never trust client UI We must do validations on the server-side at 1st priority and client-side validations at 2nd priority.1 min read1 min read
Sep 30, 2020How to fix node version in a Web-AppHow we can fix not version so that developer, CI/CD, production, everybody uses the same node version? Step 1 — Add nodeVersionLock in package.json we need to add preinstall and prestart scripts too. Step 2 — Throw errors when undesired node-version found. Step 3— AutoUpdate of Dockerfile & GitbHub YML This step is optional and custom. it depends on your setup. This is an example of my setup where I am calling the above script using pre-commit hooks.Node1 min readNode1 min read
May 9, 2020Why your frontend repo is private?Ok, Let me ask this very brave question. Why in 2020, the pure frontend code repo is still private? In my opinion, there are no such benefits by keeping frontend code repo in private walls. 1. The output is already public we generate the build/dist folder by webpack or similar tools. this is the end result…Front End Development2 min readFront End Development2 min read