Python for Entrepreneurs Transcripts
Chapter: Build web apps with Pyramid: Applied web development
Lecture: Concept: Project structure with layout
0:03 Now let's quickly look at how our project structure adapts
0:06 when we use this shared layout.
0:09 As you've seen, we've organized the templates
0:11 that go with the action methods on our controllers into various directories here.
0:15 Now notice, we have a new shared section
0:18 and I am using the underscore prefix to indicate
0:21 that this is not the thing you are supposed to access directly,
0:23 but is in fact consumed by the other views.
0:26 There is nothing that says you have to do it this way, but as your site grows,
0:29 having some sort of organization like this is really, really helpful.