Code Agency

#architecture

11 articles tagged architecture.

15 min read

Payment methods across EU markets: one shop, local trust everywhere

Bancontact in Belgium, iDEAL in the Netherlands, TWINT in Switzerland — conversion follows familiarity, and a card form is not a neutral default. How we structure Mollie or Stripe so every market pays the way it expects, why asynchronous methods are the part that actually breaks your order flow, and what the cost conversation looks like when someone finally has it.

paymentsecommercearchitecturebusiness
13 min read

Abandoned carts, owned infrastructure: recovery flows on our mailing platform

Roughly seven in ten carts never become an order, and the people who filled them are the warmest audience your shop will ever have. The three-mail sequence we build, the event pipeline that fires it, and why we run it on the same platform that sends your newsletters instead of renting the flow from a US SaaS.

ecommercemarketingautomationarchitecture
10 min read

Search that sells: Postgres tsvector vs Meilisearch vs Typesense

Visitors who use search buy at several times the rate of visitors who browse — which makes the search box a conversion feature, not a technical checkbox. When the database you already run is enough, when typo tolerance pays for itself, and the sync problem that is the real project either way.

postgresqlecommerceperformancearchitecture
9 min read

Media on the CDN, code on the origin: a delivery strategy that ages well

Next.js will happily serve your JS bundles from a CDN with one config line. We stopped doing that. Hashed chunks belong to the build that emitted them; images outlive every deploy — and treating both as 'assets' is how a rollback turns into a cache-purge incident.

performancearchitecturedevopsnextjs
7 min read

A marketing site with no CMS: MDX, git and a build pipeline

No database, no admin panel, no plugin updates. Content is MDX in the repo, frontmatter is a Zod schema that fails the build, review is a pull request — and publishing is a merge. The architecture behind this website, and the case where you shouldn't copy it.

nextjsarchitecturedevelopmentjamstack
7 min read

Server Components for ERP data: where the fetch belongs now

React Server Components moved the data question out of the client bundle and into the render. For pages backed by an ERP, that's not a trend to adopt blindly — it's a boundary worth drawing precisely.

reactnextjsarchitecture
7 min read

TanStack Start for internal tools: when you don't need Next.js

Every custom build ships two frontends — the one your customers see and the one only your client's own staff opens. The first earns Next.js. The second is usually paying a tax for machinery it never uses.

reacttanstacknextjsarchitecturedevelopment
7 min read

Odoo's external API surface: JSON-2, REST and when to build your own

Every integration starts with the same question: how do we talk to Odoo? The honest trade-offs between the stock JSON-2 API, community REST modules and a purpose-built gateway — and the one question that picks the right door per consumer.

odooapiarchitecture
7 min read

Postgres is enough: queues, search and pub/sub without five more containers

Before a two-developer project grows a Redis, a RabbitMQ and an Elasticsearch, look at what the database you already run can do. SKIP LOCKED queues, tsvector search, LISTEN/NOTIFY — and the measured signals that tell you when to graduate.

postgresqlarchitecturedevelopmentperformance