September 2017
Intermediate to advanced
240 pages
5h 57m
English
The final exercise in the SQL part of the book is a big jump. You know the basics of the SQL language with one database. You also should be proficient with Python’s OOP. It’s now time to combine these two and create an object relational manager (ORM). An ORM’s job is to take plain old Python classes and translate them into stored rows in a database’s tables. If you’ve ever used Django, you’ve used their ORM to store your data. In this exercise you’ll attempt to reverse engineer how to do that.
In the real world if a programmer working for me asked to create their own ORM I’d say, “No way. Use an existing one.” Work situations are different from educational situations because someone is paying you ...
Read now
Unlock full access