Book description
Jamstack = JavaScript, APIs, and Markup. Use established standard technologies to build super-fast static websites without sacrificing rich, dynamic features.In The Jamstack Book, you will learn how to:
- Use different static site generators to build websites
- Deploy Jamstack sites with 11ty, Next.js, Hugo, and Jekyll
- Add dynamic capabilities like form processing and eCommerce
- Enhance your Jamstack site with serverless capabilities
- Integrate a CMS with a Jamstack site
Jamstack sites use JavaScript, APIs, and Markup to create fast, dynamic pages without the overhead of heavyweight frameworks. The Jamstack Book is your essential guide to this exciting new web architecture. Written by renowned Jamstack experts Raymond Camden and Brian Rinaldi, it’s filled with real-world projects to develop and hone your skills.
You’ll learn how to lay out and generate a site, set up your own CMS, and add dynamic features like user logins and search functionality. Confusing jargon is demystified. Plus, you’ll get the chance to try out different static site generators and find the one that works best for you. Pick up this book today, and you’ll discover how the Jamstack answers your need for speed and simplicity.
About the Technology
JavaScript, APIs, and pre-rendered Markup put the JAM in Jamstack. This modern web architecture delivers the quick load times of static sites along with the dynamic functionality you need for user-friendly interactive features. Built with lightweight standards and tools, Jamstack sites are fast, secure, easy to maintain, and naturally optimized for mobile and SEO.
About the Book
The Jamstack Book teaches effectively by creating a portfolio of sites, ranging from a simple blog to an eCommerce store. Each new project introduces important skills, including cloud deployment, user logins, and search. You’ll get hands-on experience with tools like 11ty, Next.js, and Netlify. As your skills grow, the examples become more sophisticated, including serverless technology, dynamic forms, and an integrated CMS.
What's Inside
- Use different static site generators to build websites
- Add dynamic capabilities like form processing and eCommerce
- Enhance your Jamstack site with serverless capabilities
- Integrate a CMS with a Jamstack site
About the Reader
For web developers and CMS site developers.
About the Authors
Raymond Camden is the author of multiple books on web development and has been blogging and presenting for almost twenty years. Brian Rinaldi has been involved in static site and Jamstack development since the early days.
Quotes
Very much a practitioner’s guide to the Jamstack. Take a tour with two experienced Jamstack developers, and learn how to get productive.
- From the Foreword by Mathias Biilmann Christensen, CEO and Cofounder, Netlify
Gives you all the resources you need to build lightning-quick Jamstack sites using familiar technologies.
- Theo Despoudis, WP Engine
Great for building your first Jamstack website, from choosing the correct framework to deployment and production.
- Matej Strašek, Exoticca
Clear and complete….If you want to master the Jamstack, this is the book to read!
- Fabrice Gouédard, Cinéville
Table of contents
- inside front cover
- The Jamstack Book
- Copyright
- dedication
- contents
- front matter
- 1 Why Jamstack?
- 2 Building a basic Jamstack site
- 3 Building a blog
-
4 Building a documentation site
- 4.1 Requirements of a documentation site
- 4.1.1 The example site requirements
- 4.2 Choosing the right tools
- 4.2.1 What is a headless CMS?
- 4.2.2 Headless CMS options
- 4.2.3 Why Netlify CMS?
- 4.2.4 Static site generator (SSG) options
- 4.2.5 Why Hugo?
- 4.3 Building the example site
- 4.3.1 Installing Hugo
- 4.3.2 Creating a new Hugo site
- 4.3.3 Setting up the Hugo Book theme
- 4.3.4 Installing Netlify CMS
- 4.3.5 Modeling content in Netlify CMS
- 4.3.6 Deploying to Netlify
- 4.3.7 Configuring GitHub for authentication
- 4.3.8 Configuring Netlify for authentication
- 4.3.9 Editing content as an admin
- 4.3.10 The open authoring workflow
- 4.3.11 Simplifying the open authoring workflow
- 4.4 What’s next?
- Summary
-
5 Building an e-commerce site
- 5.1 Requirements of an e-commerce site
- 5.1.1 The example site requirements
- 5.2 Choosing the right tools
- 5.2.1 What is headless e-commerce?
- 5.2.2 Headless e-commerce options
- 5.2.3 Why Commerce.js?
- 5.2.4 Static site generator options
- 5.2.5 Why Next.js?
- 5.3 Getting set up to build the example e-commerce site
- 5.3.1 Setting up Next.js
- 5.3.2 Setting up Commerce.js
- 5.3.3 Setting Next.js environment variables
- 5.3.4 Loading the Commerce.js SDK
- 5.4 Building the Jam Store e-commerce site
- 5.4.1 Creating the product listing component
- 5.4.2 Building the product listing
- 5.4.3 Building the Product Detail page
- 5.4.4 Enabling add-to-cart functionality
- 5.4.5 Building the shopping cart
- 5.4.6 Adding Markdown content
- 5.5 What’s next?
- Summary
- 6 Deployment
- 7 Adding dynamic elements
-
8 Working with serverless computing
- 8.1 What is serverless computing?
- 8.2 Building serverless functions with Netlify
- 8.2.1 Adding serverless computing to Camden Grounds
- 8.2.2 More on Netlify functions
- 8.3 Building serverless functions with Vercel
- 8.3.1 Your first Vercel serverless function
- 8.3.2 Vercel functions with dynamic path support
- 8.3.3 Adding serverless functions to Camden Grounds (again)
- Summary
-
9 Adding a content management system
- 9.1 Types of headless CMSs
- 9.1.1 Pros and cons of Git-based headless CMSs
- 9.1.2 Pros and cons of API-based headless CMSs
- 9.2 Exploring popular headless CMSs
- 9.2.1 Contentful
- 9.2.2 Sanity
- 9.2.3 Defining a content model using Sanity
- 9.3 Using WordPress
- 9.3.1 Installing WordPress locally with Local
- 9.3.2 Installing the Gatsby plug-ins for WordPress
- 9.3.3 Setting up Gatsby
- 9.3.4 Exploring Gatsby’s data layer
- 9.3.5 Consuming WordPress content in Gatsby
- 9.3.6 Next steps in using WordPress as a headless CMS
- 9.4 Connecting a CMS using a site builder
- 9.4.1 WeWeb
- 9.4.2 Strattic
- 9.4.3 Stackbit
- 9.5 What’s next?
- Summary
-
10 Migrating to the Jamstack
- 10.1 What kind of site are you migrating?
- 10.1.1 Content-heavy sites
- 10.1.2 Web applications
- 10.1.3 Large sites
- 10.2 What functionality do you need to migrate?
- 10.2.1 Popular third-party Jamstack services
- 10.3 Making the move
- 10.3.1 Don’t move everything at once
- 10.3.2 Pick a headless CMS up front
- 10.3.3 Consider building templates from scratch rather than porting
- 10.3.4 Keep as much as possible
- 10.4 What’s next?
- Summary
- index
- inside back cover
Product information
- Title: The Jamstack Book
- Author(s):
- Release date: May 2022
- Publisher(s): Manning Publications
- ISBN: 9781617298882
You might also like
book
Gatsby: The Definitive Guide
Get the definitive guide on Gatsby, the JavaScript framework for building blazing fast websites and applications. …
article
Learn to Give Constructive Feedback
Communication is a multifaceted skill that facilitates the flow of information and collaboration in the workplace. …
article
Become a Better Problem Solver by Telling Better Stories
One of the biggest obstacles to effective problem-solving is not defining the problem well. Invoking the …
article
Communicate with Teams More Effectively
This selection of shortcuts will enable you to improve your communication, critical thinking, documentation, and networking …