CRUD Operation | SQL Command | ORM Command |
---|---|---|
CREATE | INSERT | db.session.add(user1) |
READ | SELECT | User.query.all() |
UPDATE | UPDATE | user1.foo = ‘new value’ |
DELETE | DELETE | db.session.delete(user1) |
The step of creating a to-do application
- Traversing across all layers of our backend stack, from our backend server in Flask to our database in Postgres, by understanding mappings between user operations, to the ORM, to the SQL executed on a database.
- Developing using the MVC Model-View-Controller pattern, for architecting out our application.
- Handing changes to our data schema over time
- Modeling relationships between objects in our web application
- Implementing Search