DEV Community

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...
Collapse
 
steelwolf180 profile image
Max Ong Zong Bao • Edited

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.

Collapse
 
abdurrahmaanj profile image
Abdur-Rahmaan Janhangeer

Tell me how do you like handle contact form?

Collapse
 
qm3ster profile image
Mihail Malo

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.

Collapse
 
jacebenson profile image
Jace

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

Collapse
 
abdurrahmaanj profile image
Abdur-Rahmaan Janhangeer

thanks looking into it!

Thread Thread
 
steelwolf180 profile image
Max Ong Zong Bao • Edited

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.

Collapse
 
mandrewdarts profile image
M. Andrew Darts

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.

Collapse
 
steelwolf180 profile image
Max Ong Zong Bao

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

Collapse
 
mandrewdarts profile image
M. Andrew Darts

Totally, couldn't agree more.

Collapse
 
baso53 profile image
Sebastijan Grabar

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

Collapse
 
steelwolf180 profile image
Max Ong Zong Bao

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.

Collapse
 
heyarviind profile image
Arvind

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

Hope it may help someone :)

Collapse
 
steelwolf180 profile image
Max Ong Zong Bao

The designs for Hugo templates looks awesome :)

 
steelwolf180 profile image
Max Ong Zong Bao • Edited

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