This page is my notebook in public — every post I’ve written, sorted by topic.

Most of them come out of real work, a fair amount of WordPress (this site runs on it). Nothing here is theory. Something broke, or something got slow, and I had to sit down and figure it out. So each post is usually the problem, the fix, and what I’d do differently next time.

I write them down for two reasons: so I don’t forget, and so you don’t lose two days on the same problem. Pick a topic below and dig in — if one post saves you an afternoon, that’s enough.

Back-end

  • Implementing WeChat Mini Program Payment Unified Order in Java

    Experience is a good thing — just don’t lean on it too hard. Otherwise you’ll spend N times the time and effort on something you could have solved easily. Today I built the payment feature for a WeChat mini program. I didn’t use the V3 API, and I didn’t use the official Java SDK either. […]

  • How to automate your database migrations with TypeORM in Node.js

    Working on Node.js and the frontend together, moving fast, always feels good. Node.js has plenty of frameworks — Nest.js, Koa, Express… Nest.js is the one that looks most like Java’s Spring Boot: dependency injection, inversion of control… and it still keeps a JavaScript feel. As for JS, I personally like functional programming. JS isn’t really […]

Front-end

  • How to pick, build, submit, and get your App live

    After the 2025 Spring Festival holiday, I didn’t take a single day off. In three months I helped partners get 1 app and 1 mini program live, and another app plus mini program are 95% done and will go live soon. The two apps I built this year — one with Flutter, one with Uniapp […]

  • Build your App, Mini Program, H5, and WeChat official account from one codebase

    Nothing stays split forever, and nothing stays united forever. People may use your product from very different places: an H5 in a browser, an app on Android or iOS, or an official-account H5 or a mini program inside a super app like WeChat… So the tech stack keeps changing and evolving with the business and […]