Engineering
Engineering notes from RuleCMS
Each post captures lessons from a public RuleCMS learning repository — packaged for quick scanning, with links back to runnable demos and source.
Engineering
Each post captures lessons from a public RuleCMS learning repository — packaged for quick scanning, with links back to runnable demos and source.
Your overlay is the wrong size because it is inventing the size. The base owns width and height; the top layer only stretches.
Read more →EngineeringNew projects often start with npx shadcn add and a foggy sense that Tailwind got replaced. It did not. Here is what you actually copied, what Radix is doing, and how to read any UI file in a shadcn codebase.
Read more →EngineeringTurning on Google for Cognito looks like a checkbox until you care about one Cognito sub per email and a consent screen that does not say amazoncognito.com. Here is the account-linking retry, the circular-dependency fix, the secret newline that broke Identity Pools, the Hub race, and the two-phase custom-domain cutover that kept production up.
Read more →EngineeringIn-app browser OAuth is not a reliable iOS Google MVP. Prefer native Google Sign-In with a matching nonce, allow-list deep links for email flows, and register Play App Signing SHA-1 before launch.
Read more →EngineeringA bare-bones CSS generator that shows the pattern: a normal form in front, a constrained system prompt and API route behind — enough to ship your first AI feature.
Read more →EngineeringGenerate a per-request nonce, wire it through CSP headers and React context, and see which inline scripts pass — and which fail — under a strict policy.
Read more →EngineeringAn Angular showcase of copy-ready CSS patterns — text, cards, buttons, loaders, scroll, SVG, and more — organized so you can borrow styles instead of reinventing them.
Read more →EngineeringHow to avoid distorted, truncated, overflowing, and pixelated images when aspect ratios and resolutions change — especially with dynamic CMS media.
Read more →EngineeringTwelve essential creational, structural, and behavioral patterns — when to reach for each, and how they show up in real product code.
Read more →EngineeringWhy calculating derived values during render beats useEffect synchronization — fewer renders, clearer data flow, fewer bugs.
Read more →EngineeringSingle responsibility through dependency inversion — concrete Angular examples of designs that stay changeable as features grow.
Read more →EngineeringSide-by-side timings for Fibonacci, primes, and sorting — practical guidance on where WASM earns its keep in the browser.
Read more →EngineeringSkip layout and paint for off-screen DOM with content-visibility and contain-intrinsic-size — a browser-native performance win.
Read more →EngineeringClosures, the event loop, prototypes, and async patterns — interviewed concepts reframed as daily engineering judgment.
Read more →EngineeringA field guide of high-leverage language features — closures, destructuring, async/await, and more — each with a minimal code sample.
Read more →