The Jamstack - what is it?

Image for Next.js


The Jamstack

When I started to learn web developing I looked into hundreds of different platforms and languages to try and find what I thought was the best use case scenario for the majority of my clients.

My initial thought was of course WordPress, this is a long tested solution for getting websites online with a reasonably client friendly Content Management System (the admin panel that you can edit text on the website). However, for me it was always very slow and the system felt old. I also grew worried about security having to install x plugin to do this and y plugin to stop this happening, then a plugin to cache and a plugin for stripping unused css or JavaScript. I also experienced a string of styled content losses due to bugs in full production plugins.

This is where the Jamstack stepped in.

What is the Jamstack?

As described by Jamstack.org the “Jamstack is an architecture designed to make the web faster, more secure, and easier to scale”. What does this mean in reality?

There are a whole host of different Jamstack platforms for us to use with some of the most popular being Next.JS, Gatsby.JS, Vue.JS, 11ty, Hugo and the list goes on.

Next.JS

Out of all the options above I settled on Next.js, which really stood out to me for many reasons:

As you can see for me Next.js was best fit and it just works how you expect it to work, experiencing almost no bugs and on the occasion you do find one, the community always seems to already have a work around. Next has allowed me to produce websites of speeds I didn't think was possible.

CMS

Jamstack works by decoupling the backend from the frontend which could mean we lose our CMS. WordPress for example comes with a CMS out the box allowing clients to make changes to web pages. But what if we could use a CMS which instead of using a database and dynamically creating web pages, we could use a Git workflow.

Netlify CMS has made this possible, we simply edit specific files changing the text or data needed then rebuild the webpage, once again statically generating the page for fast load speed. What’s more the CMS is created using React so we know it's going to be fast and secure. The Netlify CMS means we don't need an over-complicated backend to run the CMS, this means most websites won’t even need a database and just to make it even sweeter the files are backed up to your chosen git provider such as GitHub or GitLab.

Pricing

How much would a Jamstack website cost? This is something that really depends on your use case and the size of the website however, seeing some of the huge figures that people charge for WordPress sites, I strongly believe by finding the right developer, someone with a passion for the industry and the technical know how like myself, you could still pick up a hand coded Jamstack website for much cheaper than someone offering a WordPress site.

I spoke previously about how website speed is a major factor to user experience and again I am left asking myself why I would use anything else? Why wouldn't we want to take advantage of everything the Jamstack offers?

If you have any questions about my experiences or want advice on how to switch to Jamstack let me know.

3rd September 2021