Momentum logo
Team 7 Classroom

🐍 Models & Queries 🐍

Posted on Mar 18th, 2021

Today’s Topics

  • The woes of deployment. What issues did you encounter? What did you try that worked or did not work?
  • Django Recipes codebase
  • Using the Django shell

⚡ Lightning Talks

🎯 Project: Continue Habit Tracker

You should aim for Habit Tracker to be done on Monday. Implement as much as you can, and we will check in with how far everyone has gotten. There are examples for a lot of what you need to do in the Django Recipes codebase but you will have to adapt them to your Habit Tracker use cases.

📖 Read | 📺 Watch | 🎧 Listen

This section is material to prep for our next topic, building APIs.

🔖 Resources

🦊 Front-end: Get to Know React 🦊

Posted on Mar 16th, 2021

Topics

  • Return to JS!
  • Intro to React
    • Why does React exist? What problem does it solve?
    • How is it different from vanilla JS?

🛠️ Setup

Make sure you have the following set up in your local environment:

  • Node & npm
  • create-react-app
  • VS Code extension for JSX and Standard.js

📖 Read | 📺 Watch | 🎧 Listen

🎯 Do

Beginner’s Guide to React Tutorial. This will show you the most modern way to build React apps. This project will be in Git, but you will use a repository you make.

If you finish this and want to keep going, try one of these other tutorials:

🦉 Code from class

🐍 Back-end: Deployment and PostgreSQL 🐍

Posted on Mar 16th, 2021

Topics

🎯 Project: Habit Tracker

You’ll be working on Habit Tracker this week.

It’s important to read the project requirements thoroughly and start to think about how you would do this project.

First steps: generate the project skeleton, get it deployed to Heroku, and design your models. Make sure to create a diagram showing model fields and relationships. Talk through with each other how you are thinking about this.

By Thursday:

  • Your application should be deployed to Heroku
  • Your models should be done
  • You should be able to create habits and associated daily records in the django shell (I recommend using shell_plus)

🔖 Resources

📖 Read | 📺 Watch | 🎧 Listen

⚡ Lightning Talk Topics

You should research these starting in the Django docs (linked below). For this talk, explain your topic and show us a code example. You may find a code example of each of these in the Django Recipes codebase.

Basic outline of your talk (you’re welcome to vary this):

  • Define your topic. What is it?
  • How does this relate to other things you have learned before? (in other words, can you put it in context for everyone? How does this fit in?)
  • Why do we care about this topic? When is it useful? Do you see it as being useful in this week’s project or another project you’ve done in the past?
  • How does it work?
    • Explain it conceptually.
    • Show us some code. The code example should demonstrate how to use it.
  • Any thoughts you have about it that you want to share? Tell us what you think.

On Thursday, come prepared to talk for 5-7 minutes on your topic. If there are 2 people on your topic, come prepared to talk for 10-12 minutes.

Welcome to Phase 3!

Posted on Mar 15th, 2021

▶️ Here is your Phase 3 classroom Zoom link.

Today’s Topics

  • Intro to Phase 3!
  • Welcome new folks
  • Should you do front-end or back-end in Phase 3?
  • Note-taking as a developer & Markdown
  • Setting goals for Phase 3

🤨 What does “Advanced” Even Mean?

⚠️ And even for experienced engineers, their experience is limited to certain areas, and completely dependent on having had opportunities to develop that experience. What you don’t know will always outweigh what you do as long as you work in a field that moves as fast as tech does.

If that seems discouraging, see this great blog post by one of the most well-respected and influential developers out there right now.

Dan Abramov, Things I Don’t Know

📝 TODO for everyone

  • Learn markdown
  • Pick a note-taking application that will let you take notes while you read and work. It’s important that it can properly format code blocks. Here are some options (but don’t spend more than 10 minutes making this choice).

🦊 SO YOU WANT TO BE A FRONT-END DEV

This section includes what you need to do today if you are in the front-end group

📖 Read | 📺 Watch | 🎧 Listen

These are required readings, videos, and/or podcasts. Read, watch, or listen, take notes, and come prepared to discuss.

🎯 Write Code

You do not need to turn in anything.

Pick 1-3 exercises from this list on Exercism.io JavaScript Track.

🔖 This might help: MDN: A Re-Introduction to JS

  • Isogram
  • Scrabble Score
  • ETL
  • Simple Cipher
  • Hamming
  • Gigasecond
  • Grade School

🐻 SO YOU WANT TO BE A BACK-END DEV

This section includes what you need to do today if you are in the back-end group.

📖 Read | 📺 Watch | 🎧 Listen

These are required readings, videos, and/or podcasts. Read, watch, or listen, take notes, and come prepared to discuss.

🎯 Write Code

You do not need to turn in anything.

  • Revisit an issue from a recent Django project that you got stuck on and practice using the Python debugger to dig into it.

🔖 Resources for Everyone

🐍 OO Programming in Python 🐍

Posted on Feb 25th, 2021

📅 Today’s topics

  • Python Classes
    • Instantiating an Object
    • Attributes
    • Instance Methods
    • “Magic” Methods
  • Inheritance

layout: post title: 🐍 OO Programming in Python 🐍 tags: phase-2 python —

📅 Today’s topics

  • Intro to Django

🎯 Project

Django Girls Tutorial

🔖 Resources

📹 Code, Slides, and Video from Class

Access Passcode: 4V8%YW?^

Tags: phase-2 python