What is PyFram?
PyFram is a web framework for Python 3 (get it Py(thon)Fram(ework)). Its goal? Simplicity. Make it so that even a novice can understand what is going on. Once that has been accomplished, then add features which will be useful to the expert. And, while this noble endeavor is going on, I will be blogging about it the whole time, creating tutorials for Python as I go.
- The tutorials github project: https://github.com/cwallenpoole/PyFram-Tutorial
- The PyFram github project: https://github.com/cwallenpoole/PyFram
- In the beginning! PyFram step 1.
- How do I get Apache? (and install it on my system)
- Apache as a lumberjack (reading apache logs)
- PyFram: what just happened? (Analysis of step 1)
- PyFram step 2: Let’s clean the URL a bit — mod_dir, mod_rewrite, and Apache aliases
- PyFram: Let’s make a view class
- Why mod_rewrite rules is totally awesome
- PyFram Week 3: Why content-type is important
- Introducing HTMLRenderer!
- Exceptional code: (handling errors in PyFram)
- User input, part 1
- User input part 2: POST-it notes.
- User input: GET vs. POST
- PyFram week 5: File output
- PyFram week 5: what was I doing with lambda?
- Use PyFram to create a guestbook!
- Oops… I done been XSS’d
- Cleaner HTML (strip_tags in Python)
- PyFram Week7: Oops, we need a <head> element!
- PyFram week 8: Refactor!
- PyFram: Create your HTML Tags!