Why JAM Stack?

Max Ong Zong Bao on March 10, 2019

Introduction When I was starting out in looking for alternatives to migrate my blog as it was previously in Wix. I was considering u... [Read Full]
markdown guide
 

The M in JAMstack is for Markup, not Markdown. Content is meant to come from the API portion of the stack.

 

Yup, It's my mistake in the M portion of JAM stack.

For why I said content is your markdown files and other files are that you normally create content in markdown.

Then your static site generators then convert it into an API or GraphQL endpoint which they consume it during their build process to create HTML, CSS and Javascript.

Besides that, as you had mentioned content could come from API as well depending on the API source you use.

 

Markdown is one way to manage content within the JAMstack, but is by no means the only way and I think it’s important to clarify that.

I think in most cases, people are not using markdown. Yes, many tools like Jekyll and Gatsby can be utilized with MarkDown files for content, but I think most people making JAMstack sites are using headless CMS’s and other APIs (so less tech savvy people can manage content) and grabbing the data from them either at build time or client side, and in some cases like Gatsby and Nuxt, both.

It might be worth an edit to make more clear that the possibilies of JAMstack are not limited to static site generators and markdown, but can also be accomplished with headless CMS’s, external apis, and SPAs/PWAs!

Yes that's correct I had updated the article thanks for the help :)

 

The play of words right there is awesome (markup/markdown)

 

Hahaha yeah, I was a bit shocked that I had gotten it wrongly well everyone makes mistakes. Hopefully, it's not that bad I guess.

 
 

Basic forms?
Netlify Forms, with JS for just validation.

Actual dynamic content? APIs. For example on Firebase, or cloud functions on Azure, AWS, or Google clouds.

 

Netlify also has 125k functions per site too. Could connect that to a mongodb database

 

Nelify forms have up to 100 free form submissions per month so it might be useful for basic use cases like a contact form.

Unless you need something more to create a emails list you can embed a sign-up form using MailChimp to do that.

 

Great post! I think we have just taken for granted if we need data from an API we must have a single page app. I love how JAM stack is pushing back on this.

 

Thanks alot for reading :) I feel JAM stack is a next evolution for single page app with alot of useful features.

 
 

Nice article, we are also working on themes for Hugo Static Site Generator uicard.io/hugo-themes/

Hope it may help someone :)

 

The designs for Hugo templates looks awesome :)

code of conduct - report abuse