Mastering PyCharm Transcripts
Chapter: Server-side Python web apps
Lecture: Introductions to server-side web apps

Login or purchase this course to watch this video and the rest of the course contents.
0:03 It's time to build some web applications with Python and PyCharm
0:06 and this is super important because I feel Python's biggest strength,
0:12 one of its most important areas is web development.
0:15 The other being probably data science,
0:18 but certainly, if you look at the different things people do with Python,
0:21 some of the most major applications
0:24 have been built on the web with Python,
0:27 think of things like Instagram, Dropbox, YouTube,
0:31 YouTube does several million requests per second using Python,
0:35 so these are some major applications
0:37 and Python's web support is varied and powerful
0:40 and you'll see that PyCharm supports many of these things.
0:43 So let's again look at how that happens,
0:46 remember our pyramid of what PyCharm is really built of,
0:49 if we're talking about the various parts of the web development,
0:54 it actually involves two of these components.
0:56 The server side framework stuff is all done through PyCharm itself
1:01 that's the Python back end bits.
1:03 The client side parts, the html, the templates, the CSS
1:07 those are done through WebStorm.
1:10 Now of course, when we're building Python based web apps
1:12 especially data driven server side focused ones,
1:15 the application is built out of many of these pieces right,
1:20 that's one of the challenges of the web,
1:23 you've got to learn all these different languages and technologies
1:25 and you know— put them together.
1:28 We're going to split this presentation into two parts
1:31 server side and client side,
1:33 so on the server side, we're going to talk about creating new server side projects
1:36 how do we create a new Pyramid or Flask app,
1:39 how do we load existing projects into PyCharm,
1:43 so if we go to the internet and download some Pyramid web app for example
1:50 which can be somewhat complex to set up,
1:52 how do we get that imported correctly;
1:55 we'll talk about the html template editors,
1:57 this is like Chameleon or Jinja 2 and so on.
2:00 Another one of the things that's important around both Pyramid and Django is
2:05 they have tooling to kind of control them a little bit, especially Django,
2:09 so in Pyramid, you have a
2:11 that registers the web application as a package
2:15 and we'll see that PyCharm has support for that,
2:18 and in Django, there's a that does a lot of work
2:22 for constructing your application and it's also supported in PyCharm.
2:26 We'll see that when you create a Python web app in PyCharm,
2:31 could be a little bit better if we leverage
2:34 some of our mark directory stuff, we will talk about that,
2:37 and finally, some web applications require you to run little tasks
2:40 before like gulp or something like that, webpack,
2:46 we'll see how you can leverage the parts of PyCharm
2:49 to automatically make that happen before you run the app.