Pre-Generate Static Pages With Dynamic Content
Learn how to generate static pages on the fly with a dynamic, database backed API fallback.Watch Promo
Static site generation is one of the core principals of the Jamstack. There are situations, however, when a site needs to handle user-generated/created content (UGC/UCC). In this case, we need to think about how to generate static websites based on dynamic content.
During the course, we'll build a simple application - but let not this deter you, the app is kept simple to provide valuable teaching points.
The following section focusses on the API aspect of the Jamstack - "there's an API for that". You will learn how to manage images via Cloudinary as well as how to add a fully functional, customisable upload widget to your application with only a few lines of code. Furthermore, we'll take a look at Fauna as well - a serverless database which will allow us to utilise persistent data in a world which does not leverage origin servers.
The final section is going to discuss some architectural decisions while discussing Netlify Functions (serverless functions) as well as giving you a chance to learn how to generate a static site using Netlify build hooks programmatically. The entire application is going to be resilient - it will display user-generated content either by making a direct call to Fauna or displaying a pre-generated site which will be created during a build process - programmatically.
By completing this course, you will become familiar with essential concepts regarding the Jamstack in the areas of generating static sites based on dynamic data which you will be able to apply to any future project.
Tamas is a Google Developer Expert in Web Technologies and a Developer Evangelist. He has more than a decade of experience delivering technical training to large, prestigious organisations. Throughout his career, he has delivered presentations and training classes all over the world. His passionate about unlocking the latest & greatest features of web development.
Frequently Asked Questions
Get started with the Jamstack today! Becoming hands-on with technologies and services being heavily utilised by JAMstack projects will give you first-class experience of the stack. You will gain valuable knowledge and be able to apply your newly gathered skills in different projects.