Posted on Aug 18th, 2020
Syllabus Part 2, featuring Django
Backend & Django Introduction
- Introduction to Django and Pipenv
- What are packages? Why do we need a package manager?
- What is a web application? What is a web application framework?
- Structure of a Django application
- Django admin site
- Django CLI and development server
Components of Django
- Django Template Language - generate HTML pages
- Django ORM - connects Python to a relational database
- Forms, models, and views - generic application building blocks
- URLconf - sets up the URL structure of the application
- Configuration - options for your application
Basic Topics
- Setting up a project
- Creating applications
- Using the Django admin site
- Creating, and using templates
- Configuring URLS
- Making database queries using the ORM
- Debugging
- Authorization
- Integrating JavaScript
- Class based views
- Understanding third-party packages and the standard library
- Using decorators
- Understanding inheritance in Python
- Avoiding inheritance pitfalls
Django Assignments
(these are links to the assignment repo for you to preview, not assignment invitations) - note that you are given plenty of time for these projects!
Background Material
Django Resources
Pipenv Resources
Posted on Aug 18th, 2020
Today, we’ll take a survey of object-oriented programming to get us ready to take on Django.
Today’s topics
- Object-oriented programming
- Classes and objects
Mystery Word Project review questions
- What’s something I learned in doing this project?
- What’s something I want to understand better or know more about after doing this project?
- What was my biggest accomplishment doing this project?
🐍 Code Break
Creating classes and objects
Project
Word Frequency OO
Resources
Code Examples