Why we use JAMstack architecture for our projects

June 17, 2021
Why we use JAMstack architecture for our projects

JAMstack is an approach to web development that allows you to create static websites with dynamic capabilities. Introduced in 2016 by Matt Beillmann, CEO of Netlify, the term is a combination of:

  • JavaScript.
  • API.
  • Markup.

Why we use JAMstack architecture for our projects?

  1. Great speed and performance.
  2. Scalability.
  3. Greater safety.
  4. Low cost.

Key differences between traditional dynamic sites and JAM solutions?

Now let’s dive into the details and find out how the traditional approach to web development differs from the JAMStack approach in practice. The traditional workflow assumes that all of the developer’s work is, to some extent, centered around the hosting connection.

Things are complicated by excessive connections as a result of requests to the web server, database, CMS, etc. In addition, the content can be updated via the outdated FTP data transfer protocol, which reduces overall reliability and speed of the website.

From a JAMStack point of view, everything is much simpler. First, you don’t have to depend on hosting, which means developers have more flexibility when building any other JAM component.┬áSecondly, resources based on this approach are better suited for globally distributed target audiences with fast data updates due to the specificity of the CDN. Finally, advanced static generators are used to build sites that are one step ahead of the need for centralized revision control systems.

JAMstack limitations

  1. Limited ability to use live data/user-provided data.
  2. Long development process.
  3. Updates = coding.

What we used in our project from best practices

  1. Gatsby: Gatsby is a free and open-source framework based on React that helps developers build blazing-fast websites and apps.
  2. Contentful: Contentful is a smarter and seamless content management system that provides editors and developers with unified content thereby enhancing collaboration and ensuring digital products ship to the market faster.
  3. Netlify CMS: Netlify CMS is open-source content management for your Git workflow which can be used with any static site generator for a faster and more flexible web project.