-
Notifications
You must be signed in to change notification settings - Fork 20
Database Management System (SQL and Tables Design)
Oscar Chan edited this page Dec 21, 2022
·
1 revision
In Django, we work with tables that hold user and website data. Designing them is an art, but hopefully, these resources help you get started on knowing not only what happens in the background, but also good tables design.
Videos are sourced from Summer 2020 Data 100
- Lecture 4 - SQL (http://www.ds100.org/su20/lecture/lec4/)
- Please look at videos: 4.2 to 4.5, 4.7 (for 4.7, start from 3:23 to end)
- All the other videos are sort of out of scope for the needs of CompServ (theory stuff or stuff we most likely won’t use), but you are free to watch them (they are short luckily)
- What to look for:
- Conceptual idea of Tables (Relational Databases, Joining, NULL, and Subtables)
- SQL understanding would be nice, but not required (but do note that Django (and Ruby on Rails) uses a SQL backend), and many SQL syntaxes exist on both Django and Ruby on Rails
Concentrate on: Table Operation Concepts (less on the SQL)
- Discussion 3 - SQL: https://drive.google.com/file/d/1H7zPElLi42BzrPsKNlDb6RRNr3gtSmSg/view?usp=sharing
- Lecture 25.2 - Big Data: Multidimensional Data Model
- Lecture 25 link: http://www.ds100.org/su20/lecture/lec25/
- ONLY 25.2!
- Other videos are out of scope ENTIRELY for the needs of CompServ
- Note the fact that we have Multiple Tables to relate certain information
- If you are going to make potentially redundant info, like common identification, use another model
- Lecture 25 link: http://www.ds100.org/su20/lecture/lec25/
- PlantUML
- Can make a link to different PlantUML cells to create flow charts / database relation diagrams
- Link here to a Coursey Survey PlantUML (example only, potentially outdated)
Homepage
Guide
- Basics
- Recommended Onboarding Pacing Schedule
- Comprehensive Setup (Forking, Cloning, and Dev Environment)
- Setup
- Django Development Tutorial
- Other Software Engineering Useful Topics
- Contribution Procedure
- Layout
- Deployment
- Server Administration
- Git Guide
- Style
- FAQ
- For Maintainers
Rails - unmaintained - leftover to serve as source of inspiration for other wiki pages