---
title: "Case Studies | Phát Lâm"
url: https://phatdev.net/en/case-studies
lang: en
updated: 2026-11-08
alternate:
  vi: https://phatdev.net/vi/case-studies
markdown: https://phatdev.net/en/case-studies.md
---

# Case Studies

Real projects, told briefly: the situation, how it was done and the numbers that were measured.

- [Tan Doanh: a custom theme, a PC build tool and installments, mobile PageSpeed from 65 to 96](https://phatdev.net/en/case-studies/tandoanh-theme-buildpc.md) (Websites and stores | Tan Doanh (computer parts and prebuilt PC shop) | 2026): The computer-parts shop Tan Doanh needed a page that is fast on phones and a place for customers to put a build together. I rebuilt the theme and wrote a build tool with compatibility checks and installments right on the page. 65 → 96 Home page mobile PageSpeed, first version vs after tuning (3 Jul 2026); 97 / 100 PageSpeed mobile / desktop of the PC build page, measured 8 Nov 2026; 11 part groups in one build table; 4 installment terms compared right on the build.
- [IGA: 5,256 gemstone products on a new design, mobile speed from 61 to 99, page addresses kept](https://phatdev.net/en/case-studies/iga-website.md) (Websites and stores | IGA (Infinity Gems An Thịnh), a gemstone store | 2026): A gemstone shop with over 5,000 products was running on a heavy design that was slow on phones. I rebuilt it with a custom theme and plugin, kept every page address, and measured again on a test copy before opening it to customers. 61 → 99 mobile speed score, old site vs new build; 5,256 products on a new design, same addresses; 0 unexplained differences across 216 addresses compared; 62 stone types with a matching-element table.
- [PixGamma: AI photo upscaling on a Mac, texture error 0.084 vs 0.152, 91% of text read right](https://phatdev.net/en/case-studies/pixgamma-macos-upscale.md) (Apps | PixGamma (my own product, not a client) | 2026): PixGamma is a Mac app I built to enlarge and restore photos with AI, running entirely on the machine. I measured which model stays closest to the original, retrained it on the Mac itself, and added a separate step that keeps text correct, Vietnamese included. 0.084 / 0.152 texture error (DISTS) of PixGamma and its base model, lower is better; 91.1% characters on Vietnamese and English banners read correctly after 4x; 16x maximum upscale, stacking 2x and 4x passes; 6 AI modes, including diffusion-based Recover.
- [phatdev.net: mobile speed from 95 to 99 and content open to both people and AI](https://phatdev.net/en/case-studies/phatdev-net-speed-and-ai.md) (Websites and stores | phatdev.net (my own project) | 2026): My own personal site also runs the docs and plugin updates. I measured it, fixed what sits before the page appears, and made the same content readable by browsers, Google and AI. 99 / 100 PageSpeed mobile / desktop, 18 out of 18 runs; 2.8 s → 1.9 s time for the main part of the home page to show on mobile (LCP); 0 layout shift (CLS) on every page measured; 12 read-only MCP tools for AI agents.
- [Tan Doanh: a test copy that always matches the live shop, push on save plus a nightly check, 0 mismatches](https://phatdev.net/en/case-studies/tandoanh-staging-mirror.md) (Infrastructure and sync | Tan Doanh (computer parts and prebuilt PC shop) | 2026): Nobody dares to try a new theme on a shop that is selling. I built a test copy of Tan Doanh and keep it in step with the real site through three one-way sync layers, with the real site read only. ~10 s from saving on the real site to the test copy receiving it (operations notes, not re-timed); 0 mismatches across 5,139 products and 213 variations, nightly check at 03:10 on 8 Nov 2026; 1,297 → 0 products skipped by the price and stock check, before and after matching by ID; 3 sync layers: push on save, nightly check, manual run.
- [Tan Doanh ERP: inventory, sales, warranty and accounting in one app, now in a trial run](https://phatdev.net/en/case-studies/erp-tan-doanh.md) (Internal software | Tan Doanh and IGA (internal use) | 2026): Stock, orders, cash collected on delivery, warranty and accounting numbers sit in many places, each counted its own way. I built an internal app for Tan Doanh on one foundation rule: a written entry is never edited, only reversed. 126 business screens, counted in the source on 8 Nov 2026; 120+ database migration files, numbered up to 140, counted 8 Nov 2026; 14 automated browser test suites, per the project documentation; 6 × 4 departments × levels in the structured permissions.
- [IGA Social: 303 clips built, 293 on YouTube, and a week of Facebook posts from one button](https://phatdev.net/en/case-studies/iga-weekly-content-ai.md) (AI and content | IGA (Infinity Gems An Thịnh), a gemstone store | 2026): A gemstone shop has to post steadily, but hand-written captions vary every time and free-running AI tends to make things up. I gathered the work in one internal app: AI only drafts inside rules, and a person always decides. 303 video clips built and stored; 293 clips already on YouTube; 4,556 products in the catalogue, synced daily; 77 API endpoints in the app.
- [SL Migrations: 6 restore modes for WordPress, on 40+ sites, with AES-256 encrypted backups](https://phatdev.net/en/case-studies/sl-migrations-wordpress.md) (WordPress | SL Migrations (my own in-house tool) | 2026): Backing up and moving a WordPress site by hand takes time and breaks easily, and ready-made plugins charge per site. I use one shared plugin across more than 40 sites, split restoring by real situations, and fixed it through real restores. 6 restore modes, from Recovery Point to Two-Part for large sites; 40+ sites sharing one build of the plugin; AES-256 optional encryption of the backup package; 1 hour how long a backup download link stays valid.
- [CreditMate: a credit card app with no server and 1,864 tests behind its money maths](https://phatdev.net/en/case-studies/creditmate-ios-offline.md) (Apps | CreditMate (my own product, not a client) | 2026): CreditMate is an iPhone and iPad app I built to bring credit cards, loans and pay-later wallets from several banks into one place, with the data kept on the device. I wrote the money rules first and drew the screens after. 1,864 domain tests for money, ledger, instalments and statement parsers; 110 UI tests running on iPhone and iPad; 27 banks with dated offer data; 0 servers of mine holding your data.
- [Media Studio: photos, banners and review videos from one link, AI photo match from 72 to 89](https://phatdev.net/en/case-studies/media-studio-review-content.md) (AI and content | Media Studio (my own tool, not a client) | 2026): Media Studio is a tool I built to produce review content for tech devices: photos, banners, voice-overs and video, all callable through an API. I let a machine score the AI photos, built banners in layers and gave every engine a fallback. 4,721 images generated in the library (18 Oct 2026); 9 tools in one dashboard, plus a library; 72 → 89-92 match score against the original for studio photos after self-scoring (26 Aug 2026); 10/10 test images where UltraSharpV2 beat Real-ESRGAN at upscaling (17 Oct 2026).
