ymc9

ymc9 @ymc9

About: CTO | Full-stack developer | Blogger | Creator of ZenStack

Joined:
Aug 11, 2022

ymc9
articles - 59 total

When Embedded AuthN Meets Embedded AuthZ - Building Multi-Tenant Apps With Better-Auth and ZenStack

Building a full-fledged multi-tenant application can be very challenging. Besides having a flexible...

Learn More 20 0Dec 17 '24

Building Multi-Tenant Apps Using StackAuth's "Teams" and Next.js

Building a full-fledged multi-tenant application can be very challenging. Besides having a flexible...

Learn More 35 0Dec 11 '24

Building Multi-Tenant Apps Using Clerk's "Organization" and Next.js

Building a full-fledged multi-tenant application can be very challenging. Besides having a flexible...

Learn More 39 1Nov 25 '24

Typing Prisma Json Fields? Yes, You Can!

SQL databases provide us with many benefits, the most important of which is strong schema...

Learn More 26 0Nov 7 '24

Programmers, Will AI Work For You, With You, or Without You?

"Programming is dead." A friend said so when he heard I was working on dev tools. It was right...

Learn More 20 1Oct 14 '24

Rendering Prisma Queries With React Table: The Low-Code Way

React Table, or more precisely, TanStack Table is a headless table UI library. If you're new to this...

Learn More 16 2Jul 21 '24

Low-Code Backend Solution for Refine.dev Using Prisma and ZenStack

Refine.dev is a very powerful and popular React-based framework for building web apps with less code....

Learn More 21 0May 27 '24

Adapting ZenStack to the Edge: Our Struggles and Learnings

Edge has been a buzzword for web development for a while, but the reality is the ecosystem support is...

Learn More 19 0Apr 19 '24

The Many Ways Not to Build an API

Building an API is one of the most important things one learns when getting into backend development....

Learn More 24 2Apr 1 '24

Building an Admin Console With Minimum Code Using React-Admin, Prisma, and Zenstack

Building a customer-facing application is exciting. But it's not much fun when it comes to the admin...

Learn More 33 0Mar 11 '24

How to Do Authorization - A Decision Framework: Part 2

In the previous post, we discussed two different approaches to implementing authorization: coupled...

Learn More 25 0Feb 5 '24

Why Do Rubber Ducks Work?

Programming is often perceived by outsiders as a mysterious errand that is mechanical, highly...

Learn More 144 10Jan 30 '24

How Much Work Does It Take to Build a Programming Language?

"This book is a classic. Treat it with respect". The architect of my team said it when handing me...

Learn More 35 6Jan 22 '24

Modeling Authorization in Prisma - No Theory, Just Code

Authorization is a special topic for software development. You'll get many theories about different...

Learn More 52 0Jan 15 '24

The Secrets to Having a Long and Fulfilling Career as a Programmer

This post is not about getting financially successful as a programmer or climbing career ladders to...

Learn More 20 0Jan 8 '24

How Modern SQL Databases Are Changing Web Development - #4 Into the AI Era

SQL databases have been powering the web since their inception. The combination of strict schema,...

Learn More 57 0Dec 29 '23

Tackling Polymorphism in Prisma

EDIT 4/25/2024: the feature has been released in ZenStack V2. Prisma is a beloved ORM for NodeJS...

Learn More 36 0Dec 21 '23

How to Do Authorization - A Decision Framework: Part 1

The security of most applications depends on two pillars: authentication (AuthN) and authorization...

Learn More 62 0Dec 14 '23

How Modern SQL Databases Are Changing Web Development - #3 Better Developer Experience

SQL databases have been powering the web since their inception. The combination of strict schema,...

Learn More 24 0Dec 8 '23

From Prisma to TanStack Query: Fast Lane to Full-Stack Type Safety

Prisma is one of the most popular ORMs in the NodeJS world - loved by many for its intuitive data...

Learn More 81 1Nov 28 '23

Using AI to Generate Database Query Is Cool. But What About Access Control?

Large Language Models have shown the world its incredible versatility. One of its most remarkable...

Learn More 88 2Nov 6 '23

Is Next.js 13 + RSC a Good Choice? I Built an App Without Client-Side Javascript to Find Out

Next.js 13 ignited the first wave of attention to React Server Components (RSC) around the end of...

Learn More 102 4Oct 26 '23

Drizzle or Prisma? I Built an App Twice to Find Out Which Is Better

For TypeScript lovers, Prisma has been the perfect solution for building database-centric...

Learn More 53 2Oct 10 '23

How Modern SQL Databases Are Changing Web Development - #2 New Ways to Program

SQL databases have been powering the web since their inception. The combination of strict schema,...

Learn More 38 1Sep 26 '23

Building a Secure RESTful API Using NestJS and Prisma With Minimum Code

NestJS is a great framework. It's versatile, rock solid, and thoroughly documented. You can build...

Learn More 34 0Sep 6 '23

ZenStack: The Complete Authorization Solution for Prisma Projects

Yes, authorization. It's like the "salad part" of your diet - you know it's vital and indispensable...

Learn More 29 2Aug 29 '23

How Modern SQL Databases Are Changing Web Development - #1 Serverless & Edge

SQL databases have been powering the web since its inception. The combination of strict schema, ACID...

Learn More 29 0Aug 16 '23

Replacing Google Firebase - An Open-Source Alternative Stack

In the past month or so, Google managed to piss off two distinct groups of people. The first group...

Learn More 20 0Jul 24 '23

Limitation of TRPC's Type Inference and How We Improved It

TRPC, despite its short history, has gained much popularity in the Node.js/TypeScript community. One...

Learn More 20 0Jul 11 '23

Streamlining Form Validation in Your Javascript Stack

Modern web applications often intensively deal with accepting and storing user-generated data. The...

Learn More 36 2Jul 4 '23