Adding a CMS to Your Pyramid Web App Transcripts
Chapter: A tour of our demo application
Lecture: A tour of our demo app
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
Before we dig in all the exercises and code that we're going to write, and the concepts that we're gonna cover around adding a CMS to our Web app,
0:08
let's talk about the application that we're going to start with
0:11
It doesn't really make sense to start from entirely a brand new application for this course
0:17
The idea is you already have this application that's like something like amazon.com or something
0:22
Where it's driven by the structure of the application plus the database.
0:26
So you may have, like catalogs which have items for sale that each have a details page.
0:31
Those are very structured on what's in the database. But of course,
0:35
our goal is to add on these more free-form writing WordPress style capabilities to that application
0:43
without completely switching over to something like WordPress. So what we're gonna do is we're going to start with the application
0:49
that is that data driven Web app, but has no CMS capabilities. So in this chapter, we're gonna check that out.
0:56
As Python developers, we've all visited pypi.org at some point, I'm sure.
1:02
This is the place that you can go over here and find all the different projects that you can use in Python.
1:08
So pyramid, for example, is listed right here and currently it's 1.10.4. So this application is exactly that style, right?
1:16
So we come over here, you find very packages, and these packages each have a very clear structure. They have this release history
1:25
They all look just like this here, right? So they're very, very data driven. Now, let me show you a slight variation on this.
1:32
Check out this page. Looks pretty similar. There's a slight different in the font width, the boldness of it. But basically this is the same site.
1:41
We can come down here and we can pick one of these and go and see there are all he details about them and whatnot.
1:46
But notice this is running locally here. This data driven application, which is a clone of PyPI is what we're gonna work from.
1:55
So what's the data driven part? Well, we've already seen some of it, So we have the landing page that shows us all the packages
2:02
and then when we go to the packages, there's details about the packages.
2:06
We also have users or we can log in or we don't have an account yet, we could register and so on.
2:11
All right, so we'll have, like, an admin page and account page and all that kind of stuff once we create an account in log in.
2:18
So this application has none of those features that the CMS might have,
2:24
but it has all the data driven stuff. So this is the application that we're going to work with.