Harper Reed has been a fan of the Jamstack for quite some time. He just didnât know there was a proper title for the stack until, well, fairly recently.
âWhen I Googled Jamstack, I thought, âOh, I didnât know this was an actual stack,ââ said Harper. âFor me, this was such a normal thing. I didnât know people called it a thing. I just thought this was how it was done.â
At Jamstack Conf, Frances Berriman interviewed Harper Reed about all things Jamstack, a modern architecture for faster and more efficient websites, and how speed and simplicity can help make the internet more equitable.
Building with less
The private sector developerâs tool belt is quite different from that of a developer working within the government. As CTO of Obama for America in 2012, Harper faced that reality head on.
âWe had to get really far with very little resources,â said Harper. His team of Obama for America engineers were responsible for building everything from databases to manage voter information, to poll watching software, to an API that powered an online network for campaign supporters. But, one of the most essential products they built was the infrastructure to support, manage, and process campaign donations.
Fundraising is arguably the most critical task of any political campaign. Using the Jamstack, Harperâs team was able to build a scalable, tremendously fast fundraising platform, without overworking their small but mighty team of developers.
A night and day difference with the Jamstack
In 2012, the Jamstack was not exactly ubiquitous in government programming. There tended to be a sense of safety in complexity, a bias toward the idea that more complexity equals better performance. The Jamstack flipped that idea on its head.
âWe said, âOkay weâll make everything static,ââ said Reed. âWe are going to have a way to generate these pages that will work very, very easily, and more importantly, consistently without having an adverse impact on the resources we have available.â
After adding a robust payments infrastructure and testing infrastructure in JavaScript, adding an API layer, and then using Markup, Harper was using what he now knows is called the Jamstack. The new campaign fundraising platform was up and running with a quickness.
The difference between the Jamstack infrastructure and Obama for Americaâs previous infrastructure was ânight and dayâ according to Harper. Before making the switch, the fundraising platform relied on server-side processes, rendering pages on the fly, PHP, and ExpressionEngine payment pages. Now, things were far more streamlined and scalable.
Speed is everything on the campaign trail
âIt was so fast. It was fast to develop for. It was fast to iterate with. It was fast to do testing on. You could do five different versions with very easy configuration,â said Harper. âWe didnât have to go talk to a devops person.â
Speed was the deciding factor in using the Jamstack. The issue at hand for Harperâs team was two-sided. They needed to build a seamless, speedy way for supporters to donate to the re-election campaign. They also needed to do so in the most efficient possible manner to ensure they had time for other mission critical projects â like building a pseudo Stripe.
âThe funny thing was we kind of had to build Stripe,â says Harper. At the time, Stripe was a new startup and Harper was messaging Patrick Collison saying, âHurry,â hoping that Stripe would mature to a government-approved level in time for Harper to use their payments API. While the timing didnât work out for the Stripe integration, the service Harperâs team built worked like a charm.
âIt was very clear it was working. Youâre either making money or youâre not,â said Harper. The payment solution worked without relying on server-side logic, or waiting on databases. It functioned using queues that popped over to a database that would store information after a campaign contribution transaction was completed. Put it more simply, âIt was so, so fast,â says Harper.
Jamstack today, tomorrow, and in the future
Years removed from his time as CTO for Obama for America, Harper sees a cyclical nature to the way developers can favor server-side rendering in one era and client-side rendering in the next. But, one thing thatâs remained constant is user empathy and building an experience that serves the greatest number of users equitably. Rendering content in advance helps developers not only serve users faster, but also ensures they can serve all users, regardless of the device they have.
Frances Berriman noted that accessibility might not be an issue for those who have the privilege of using the best hardware, ranging from computers to handheld devices, as well as reliable internet. But, that is not the case for a large part of the world.
There are plenty of people who âarenât on the bleeding edge of technology, or are maybe using 3G,â says Frances. When all services perform faster, it creates a wider base of usability that allows under-resourced people to âstill access all the wonderful things that the web has enabled for us,â says Frances.
Harper also sees the Jamstack as something more than an architecture devoted to powering a campaign fundraising platform, or a companyâs website. Itâs something that operates on a higher plane to bring communities together on the internet.
âAccessibility is the key. I donât like building things for one group of people,â says Harper. âEfficacy comes from both directions. Are the developers able to be productive? And in the other direction, are users able to use the app?â
Itâs a developerâs job to make sure that the answer to both questions is yes. Using the Jamstack just makes that job a little easier and a whole lot faster.
Watch the full replay of the fireside chat from Jamstack Conf Virtual:
Have a project in mind? One of our experts would love to talk with you about the use case and requirements.
