Effective PyCharm Transcripts
Chapter: Client-side web apps
Lecture: Your turn: Web apps

Login or purchase this course to watch this video and the rest of the course contents.
0:01 Python is a premier language for building web applications. Many of the best web apps in the world are written in Python
0:11 and of course, PyCharm is really amazing in all the ways it brings the various web technologies,
0:18 which can feel quite scattered and random and disconnected, how it brings it all together seamlessly.
0:24 In this turn, in this exercise, you're going to get out and create a web application that is sort of fake data driven
0:32 and play around with the HTML, the server side bits and so on. We're not going to do too much with things like TypeScript or Angular JS
0:39 because it's not a Javascript class, but you saw that all those features are there as well. It's over on github 6-web-applications over here,
0:53 just go to your turn here and make sure that you pick the web applications. Come down here and you'll see that we're going to create
1:01 a basic, Pyramid based web app, you can create whatever one you want, but in this example we're going to use Pyramid.
1:06 We're going to implement a view method we're going to take some data from that view, pass it to a template, render the template
1:12 and change the overall look and feel of the site. So there's some steps that guide you through this
1:17 some pictures how it's supposed to look, so initially, it looks like this, because this is what a blank Pyramid starter project looks like,
1:23 we're going to create some data here that we can get and we'll call it fake_data.py because it's not a real database
1:31 but it's kind of a stand in for a data access layer. And we're going to define a view method that returns this data
1:36 and then finally down here at the end, we're going to set it up so that it renders these items into our application.
1:45 We are also going to change the overall look and feel of the site by adding a little @talkPython, whatever social media you want down there
1:52 that's going to be applied across the entire site, not just this one page. So follow the steps and have fun playing with web apps and PyCharm.


Talk Python's Mastodon Michael Kennedy's Mastodon