Spring '25 Week 12

YouTube Video

Resources

Edited Transcript

Hello, and welcome to the Week 12 Announcements video for CC410 in Spring 2025. As promised, this week we’re going to shift gears from building a traditional desktop user interface to start building a web user interface. So this week we’re going to start talking about data-driven websites. You’ll go through a quick example to install a website framework on top of your existing project, and you’ll do that in your restaurant project as well. This is a good time to start working on your final project or keep working on your final project. Most of the milestones from here on out are much, much smaller, so you’ve got about four good weeks to really start working on your final project in this class. Remember the final project is meant to be about a third to a fourth of the size of the restaurant project, so a couple thousand lines of code is what we’re shooting for. That’s what we’re really looking at to get you to work on for this final project. So hopefully you can get rolling on that this week. If you have any questions, let me know, and I’m definitely happy to help with that.

So for the milestone, you’re basically going to set up a web framework inside your project. You’ll set up things like the web routes, the controller. We’ll also talk about using some template inheritance, and so you’ll have a master layout template for your whole page. You’ll do different templates inside of that for your routes, and eventually at the end of this, you’ll have a data-driven menu that basically generates a website that has the menu for your restaurant based on the data classes that we have. Obviously, in practice, you would do this based off of a database instead of a list of classes. We haven’t covered databases yet, so we’re using our object-oriented classes as a stand-in for a database, but really the theory is the same when you get right down to it.

So after this, we’re going to look at how we can actually add forms and custom fields to our website so that we can add custom menu items to our menu. Like I said, smaller milestones from here on out, and it gives you more time to work on the final project. Lastly, there will be one last restaurant milestone that is due on finals week, so make sure you’re planning ahead for that. That’s a really good thing to have in mind. So quick, we’re headed to the World Wide Web. Hopefully, things are going well. If you have any questions, let me know. Otherwise, best of luck on this week, and I will see you again next week.

Subsections of Spring '25 Week 12