JAMstack JAMuary Series - Week 2 Recap - Static vs. Dynamic and More

Scott Mathson - Jan 22 '20 - - Dev Community

In case you haven’t heard yet, we’re talking about JAMstack this JAMuary. During the second week of the new year, Divya Sasidharan and Phil Hawksworth put together a recap of the posts that Netlify’s Developer Relations Team has been busy publishing here on dev.to.

Picking up where the part one recap post in this series left off, let’s explore more of the latest and greatest JAMstack articles in this ongoing series, below!

JAMuary digest – more JAMstack posts

January 8th - Is the JAMstack eco-friendly? As serverless still uses servers, it’s known that the tech industry utilizes very real resources that directly contribute to carbon emissions - “data centers now account for 1.5% of all electricity consumption in the US alone”. In this post, Divya explores how efficiency and advancements in edge and cloud computing (and the JAMstack) clearly make it the more environmentally-friendly approach to take.

January 9th - Can a JAMstack site be dynamic? If static sites are just flat files served up in user’s browser of choice, can the JAMstack approach and static sites be dynamic? In this post, Divya dives into adding more dynamic-ness to static sites with serverless functions.

January 10th - Is SSR compatible with the JAMstack? As the title clearly suggests, this post explores differences between static sites server-side rendering approaches. “...a server side rendered website is built for every request made...” and the JAMstack has a “...focus on pre-rendering ahead of time...”.

January 11th - Is JAMstack antithetical to Wordpress? WordPress is still a force to be reckoned with on the web. Places like W3Techs and Wappalyzer cite WordPress as being used by sweeping majorities of all websites online today. This post explores the dynamic versus static site approach, alongside utilizing the obviously beloved (or at least widely familiar) WordPress CMS in a headless fashion atop the JAMstack.

January 12th - Can content authors be happy on the JAMstack? Not every content marketer is familiar with version control and pushing their blog posts via command line. So how does JAMstack work for them? This post looks at how developers can create websites that utilize CMSes in a headless fashion to empower every teammate, while still gaining the benefits of the JAMstack.

Features like open authoring in Netlify CMS moreover, offer a seamless way to support guest content contributors so content can be easily submitted without the overhead of setting up new user accounts

January 13th - Does JAMstack mean having to pre-render all the things? In this post, Divya explains pre-rending on the JAMstack, comparing to progressive enhancement movement, and how its approach stacks up to common approaches of single page apps.

January 14th - Can a “native” WordPress site be JAMstack? Diving deeper into the dynamic nature of WordPress being used as a headless CMS, this post takes it a step further into showing how you can utilize the platform as a JAMstack static site generator (SSG) in and of itself, so as to not abandon any of your most-beloved plugins and themes.

A community JAM

Getting Started with Serverless Functions

In this same JAMuary timeframe, Jason Lengstorf published a two-part series on getting started with serverless functions. Deploy Your First Serverless Function Using JavaScript goes over writing the JS necessary and setting things up to get this function online. After getting your first function shipped, take things a step further by accepting user input - learn how via this article Access Query String Parameters in Serverless Functions.

Note: these functions tutorials use Netlify Functions for development and deployment. Signup for Functions for free as a pre-requirement to this series.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .