20 cards · Public · Shuffle

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.

Cards in this deck

(20 cards)

Preview terms and definitions before starting your study session.

#1
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.
#2
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.
#3
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.
#4
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>.
#5
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.
#6
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.
#7
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.
#8
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.
Showing 8 of 20 cards in this deck.
Study All Now