Home / Community / Harvard CS50W - Web Programming with Python & JavaScript
Public

Harvard CS50W - Web Programming with Python & JavaScript

Master full-stack web development with this high-yield CS50W flashcard deck covering Django, JavaScript, HTML5/CSS, RESTful APIs, and web security.

20 accessible of 20 cards

Card Preview

20 accessible of 20 cards

A quick, read-only look at the deck content.

Term

Django Models

Definition

Python classes that inherit from models.Model and define the database structure of a Django application. Each attribute corresponds to a database field.

Term

Django Views

Definition

Python functions or classes in views.py that accept a web request object and return an HTTP response, such as rendered HTML or JSON data.

Term

Django Templates & DTL Syntax

Definition

HTML files enhanced with Django Template Language (DTL). Use {{ variable }} for displaying variables and {% tag %} for logic like loops and conditionals.

Term

Django URL Routing

Definition

Maps URL patterns defined in urls.py via the path() function to specific view functions, using dynamic converters like <int:id> or <str:name>.

Term

Django Migrations (makemigrations vs migrate)

Definition

python manage.py makemigrations creates SQL migration instructions based on changes in models.py. python manage.py migrate applies those changes to the database.

Term

Django ORM Queries

Definition

Allows querying the database using Python code: Model.objects.all() gets all records, .filter() retrieves matching records, and .get() fetches a single unique record.

Term

Django Forms & ModelForms

Definition

Abstraction layer for handling HTML forms, validating user data, and (with ModelForm) automatically generating inputs and saving instances directly to the database model.

Term

JavaScript DOM Manipulation

Definition

Accessing and modifying HTML elements dynamically using methods like document.querySelector('#id'), updating text via .textContent, or altering structure via .innerHTML.