Skip to content
← cd ~/blog

· 7 min read

Why we build with this tech stack

Svelte, Node.js, PostgreSQL and containers: why we build your site on a modern foundation instead of the old PHP-and-plugins recipe.

Cover image: Why we build with this tech stack. Four layers: svelte, node.js, postgresql, containers.
contents.md
  1. In short
  2. The old recipe: PHP and plugins
  3. Svelte: a compiler, not a runtime
  4. Node.js: in our view, a better choice than PHP
  5. PostgreSQL: a database you won't outgrow
  6. Containers: production runs exactly what we run
  7. What this means for you
  8. So is PHP bad?
  9. Summary

The technology behind a website stays invisible as long as everything works. It becomes visible the moment the page loads slowly on a phone, falls apart after an update, or a small change takes days. We chose our tools so that moment never comes.

In this post, we'll show you what we build your site on, and why we don't follow the usual PHP recipe.

In short

  • Svelte for the interface: a compiler that produces tiny, lightning-fast JavaScript.

  • Node.js for the server: one language from the browser to the database.

  • PostgreSQL for data: one of the most reliable open-source databases there is.

  • Docker containers for operations: production runs exactly what we run.

The old recipe: PHP and plugins

A large part of the web was built on PHP, and that deserves respect. PHP has been around since 1995 and WordPress since 2003, and together they gave countless businesses a website of their own.

The classic recipe looks like this: a hosting plan, WordPress, a page builder plugin on top, then a few more plugins for forms, SEO, caching and security. On every visit, the server runs the PHP code, queries the database and assembles the page from all those plugins.

It's a compromise from the 2000s and 2010s: quick to put together, but every plugin means more code, more updates and more attack surface. The vast majority of WordPress vulnerabilities come from plugins, not from the core. Page builders, in exchange for convenience, often send far more HTML, CSS and JavaScript to the browser than a landing page actually needs.

We didn't want that compromise. We wanted a foundation that is fast by default, secure by default, and doesn't need to be patched together with plugins.

Svelte: a compiler, not a runtime

Most modern frameworks, such as React or Vue, ship their own runtime to the browser, which then interprets your components on the fly. Svelte, opens in a new tab works differently: it's a compiler. At build time, it turns your components into small, targeted JavaScript that updates the page directly.

Put simply: the browser doesn't run a framework. It runs only your site.

Counter.svelte
<script>
  let count = $state(0);
</script>

<button onclick={() => count++}>
  Clicks: {count}
</button>

<style>
  button {
    border-radius: 12px;
  }
</style>

These few lines show two things:

  • $state marks reactive state: when count changes, Svelte updates exactly that one piece of text and nothing else.

  • The <style> block applies only to this component. No clashing stylesheets, no !important wars.

The difference shows up in security too. In a classic PHP template, every value you print has to be escaped by hand:

old-template.php
<?php foreach ($posts as $post): ?>
  <h2><?= htmlspecialchars($post['title']) ?></h2>
<?php endforeach; ?>

Forget it in a single place, and you've opened a door for an attack. Svelte does it by default:

Posts.svelte
{#each posts as post}
  <h2>{post.title}</h2>
{/each}

Modern PHP template engines such as Laravel's Blade escape automatically too. Classic WordPress themes, however, still rely on manual esc_html() calls.

Not a side project

Svelte comes from a world where performance isn't optional; it's the requirement. It was created in 2016 by Rich Harris, who worked on the interactive graphics teams at The Guardian and The New York Times, where a story has to load instantly on millions of phones. Since 2021 he has worked on Svelte full-time at Vercel, the company behind Next.js.

That same year, Svelte was voted the most loved web framework in the Stack Overflow Developer Survey, opens in a new tab. Svelte 5, released in 2024, introduced a new reactivity model called "runes", making even large applications more predictable and easier to scale.

For you, this means less code to download, a faster first render and smooth animations. That matters most on mobile, where a landing page has to show up fast.

Node.js: in our view, a better choice than PHP

With Node.js, the same language runs on the server and in the browser: JavaScript, with TypeScript on top in our case. That's about much more than convenience.

  • Shared types. If a form field's name or format changes, the compiler flags every affected place, on the server and in the interface alike. We catch the mistake during development, not your visitors.

  • Server-side rendering. We render your pages to complete HTML on the server. Search engines and social link previews see the full content immediately, and the browser then takes over the interactive parts.

  • Event-driven by design. Node.js doesn't block the server while it waits, for example, for a database response; it serves other requests in the meantime. A single process can handle many concurrent visitors efficiently.

  • A huge ecosystem. npm is the world's largest software package registry. There's a mature, well-maintained solution for almost anything, so we never reinvent the wheel.

In the classic PHP setup, the interface and the server are two separate worlds, with two languages and two ways of thinking. We have one system, in one language, typed end to end.

PostgreSQL: a database you won't outgrow

PostgreSQL traces its roots back to the University of California, Berkeley in the 1980s. With nearly four decades of development behind it, it's one of the most respected open-source databases today. Startups and large enterprises alike trust it with their most important data.

  • Transactions and strict data types: data is either saved completely or not at all. No half-written, corrupted records.

  • Flexibility: with the jsonb type, we can store loosely structured data next to strict tables, in a quickly searchable form.

  • Built-in full-text search and a wide range of extensions.

Today, your landing page may only need a contact form. But if tomorrow it grows into a booking system, a client portal or a web shop, there's no need to switch databases: the foundation can already handle it.

Containers: production runs exactly what we run

Since 2013, Docker has reshaped how software is run. The application and all of its dependencies go into a single container image that runs exactly the same everywhere: on a developer's machine, in testing, and on the production server. "Works on my machine" bugs simply disappear.

A simplified example:

compose.yaml
services:
  app:
    build: .
    ports:
      - "3000:3000"
    depends_on:
      - db
  db:
    image: postgres:17
    volumes:
      - pgdata:/var/lib/postgresql/data

volumes:
  pgdata:

These few lines describe the whole system: the application, the database, and how they connect.

Containers also isolate services from each other and don't tie you to a single hosting provider. If you ever need to move, the whole system takes its environment with it, unchanged.

What this means for you

Technology isn't the goal. Here's what you get from it:

  • Speed. Less code to download means a faster site, especially on mobile. Google considers page experience, including loading speed, in its rankings, and visitors simply leave slow pages.

  • Security. No public plugin admin panel, no dozens of third-party plugins, fewer moving parts and a smaller attack surface.

  • Cheaper changes. In clean, component-based, typed code, a change is quick and predictable. No worrying that something else will break.

  • No lock-in. The code is yours, and it runs on any provider that can run containers.

  • No plugin subscriptions. No yearly premium plugin licences to renew just to keep your site working.

So is PHP bad?

No. Modern PHP is fast and mature, Laravel is an excellent framework, and plenty of great teams work with it every day.

The difference isn't the language itself; it's the approach. The old recipe optimizes for getting a site up as fast as possible. We optimize for making your site as good as it can be: an interface optimized at compile time, one typed language end to end, and containers from day one. For a landing page, where every millisecond and every kilobyte counts, we think this is the most precise toolset there is.

Summary

  • Svelte for speed and a clean, secure interface.

  • Node.js so the whole system runs in one typed language.

  • PostgreSQL for data you won't outgrow.

  • Containers for calm, predictable operations.

If you'd like your own site built on this foundation, write to us and we'll reply with a quote.