Here are two ways to build a site (abstractly) that feel diametrically opposed to me:
That feels just about as different as can be. But weirdly, they kinda aren't:
They are both JAMstack. They can be hosted statically as neither of them needs backend languages running on the server they are hosted on.
They are both building content based on an API of data. It's more obvious in the first one, but you can think of a static site generator as hitting an API of data as it runs and builds itself. It's just that the API might be temporarily created from content files it finds on disk. Or it might be the exact same API used for the former site.