new course
CSS grid landing page tutorial (36min)

Lesson info

Lesson info

In this video, we'll explain the differences between static and dynamic content, and learn why the latter is so useful for some of the most popular content types on the web, from blog posts to product pages.

Clone this projectDownload project assetsDownload lesson assets

Transcript

So many of our projects are all about content. And sometimes we have a lot of it. Back in the Stone Age, we'd have to configure all of this content by hand. That's what we mean by "static content." It stays just as we created it.

We'd get this perfectly-designed blog page exactly how we'd like it, and what do we do? We duplicate. And then we go in and change the content on our duplicated page. We just created another blog post.

But then what happens when we want to change part of our design? We want to add something new on each page? Well, that's fine. We just go back and change it on the other page, too. Except that's not how it works. Because this project has 400 blog post pages.

We've all been here. That's static content. We have to do everything by hand.

With dynamic content, the concept changes entirely. Dynamic content — whether it's a name or a color or a photo or a number or an email address — any content. It can be added or imported whenever to a database. And your design? No matter how perfect it is or how detailed you make it or how many pages you have? You just create it once. And you can pull anything from that database. So everything gets built out automatically. No more going back and updating everything one-by-one.

This works for anything you can imagine, because you can customize the database to have any kind of content you want. And you can get super granular with controlling and organizing your content. And with that, you can do blogs, and restaurant menus, and development projects, and team member pages, news sites, and fake news sites.

But that's the main difference. Static content: entering and tweaking things one-by-one. And dynamic content: you can reference your custom database. You get to control everything, but the content is built out automatically using your design.