Tomorrow we do Part 2 of our “Polyglot Python with PyCharm” webinar, talking again about modern web frontend development, from a Python perspective, within PyCharm. We put a lot of work into writing materials for this. Why, and what’s next?
In the first webinar, I spent a lot of advance time breaking down the session into a series of steps, building a ToDoMVC-style application with a Flask-Restless backend. I wrote the code, then near the end, found a fatal flaw in the “pedagogy” of the sequence, and had to rewrite it. Only to find another, repeat.
Near the deadline, I decided to put everything in a publicly-visible repo, so webinar viewers could follow along. At the very last second, I put the notes I was using to guide my progression, into the repo as well.
Two unexpected outcomes…first, I ran out of time. In fact, I ran out of time at the point where I was showing the really cool part that everything had led up to. Next, the feedback showed that registrants really wanted the material, with explanations, in advance.
I had been planning for a while to write a series for this. This crazy frontend world is hard to decipher for Python folks, but we know we need to jump in. I wanted to be a guide, explaining this world in Python terms, and showing how to couple it to Python-based backends. Also, if you get fully into that world, you’re better off with IDE help, and PyCharm is *very* unique in that regard: first-class Python and first-class JS/HTML/CSS support. In fact, many of my Python friends didn’t know PyCharm could do what WebStorm does.
So I used this second part of the webinar to write up all the story for this “Polyglot Python with PyCharm”. It is a series of articles on each part of the equation, followed by a start-to-finish ToDoMVC application. For those familiar with my “Quick Tutorials” for Pyramid, it’s that kind of approach. Individual slices, with a lot about the “why”, plus working code.
Here’s the (current) table of contents. For the material, register for the webinar and you’ll get the link, or wait until next week:
- NodeJS for Python and PyCharm Developers
- JavaScript Packaging with
package.json
- Linting with ESLint
- Automation with
npm run
Scripts - Modules with CommonJS
- Browser Bundling with Webpack
- Browser Debugging from PyCharm
- TDD with Mocha
- ES6 Imports with Babel
- Pythonic JavaScript with ES2015
- DOM TDD with JSDOM
- Initial ToDoMVC
- Frontend Tooling for ToDoMVC
- Moving the Frontend Out of the Backend
- Bundling ToDoMVC with WebPack
- ES6 Imports for ToDoMVC
- Pythonic JavaScript for ToDoMVC
- TDD for ToDoMVC
I still have more to do to finish this after this week: fill in the missing writeup on the ToDo app, do a tenth-round of rewriting, and make a screencast video for each article. Also, it’s tied to a new blog for me which isn’t yet really official.
But in general, we think PyCharm has fantastic story for Python-backed frontend development, and this series is a commitment to being your guide. Hope to see you tomorrow in the webinar.