Python for Entrepreneurs Transcripts
Chapter: Build web apps with Pyramid: Applied web development
Lecture: Concept: Project structure with layout

Login or purchase this course to watch this video and the rest of the course contents.
0:03 Now let's quickly look at how our project structure adapts when we use this shared layout. As you've seen, we've organized the templates
0:12 that go with the action methods on our controllers into various directories here. Now notice, we have a new shared section
0:19 and I am using the underscore prefix to indicate that this is not the thing you are supposed to access directly,
0:24 but is in fact consumed by the other views. There is nothing that says you have to do it this way, but as your site grows,
0:30 having some sort of organization like this is really, really helpful.

Talk Python's Mastodon Michael Kennedy's Mastodon