You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
2.0 KiB
Plaintext

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

00:00 So far, we've been kind of poking at MongoDB,
00:03 playing around with some of maybe existing data
00:05 or creating simple little databases with one or two records in it.
00:09 We're kind of done with that, we're ready to move on
00:11 to be building the main application that we're going to build for this course.
00:15 So we're going to take this concept of a car dealership
00:18 that does service for autos, sells cars, does service like engine repair,
00:23 fixes flat tires and so on, for a Ferrari dealership,
00:26 and that's going to be our demo for the rest of this course.
00:29 On this first go round, we're going to start out
00:32 with an empty database or a non-existent database,
00:34 we're going to model it in MongoDB with MongoEngine
00:38 and then we're going to run that code and create a few simple cars,
00:41 a couple Ferraries, maybe associate the cars with some owners,
00:45 do some service on the cars, somebody over rev the engine
00:48 and has got to get a new engine, or got a flat tire,
00:51 things like that; we'll see how it all works.
00:53 Later, when we get to the high performance section,
00:55 we're going to instead of start with an empty database
00:57 start with one with like a quarter million cars and tons and tons of service records
01:02 and they will start asking really interesting questions
01:05 and really focus on the performance side of things.
01:08 So we're going to use this for the rest of our time
01:10 and I have been really waiting till we got to the MongoEngine section
01:13 to create what I would think of as a somewhat realistic complex demo
01:17 because with PyMongo it's fine, but you'll see the real power of modeling this
01:21 in a full featured realistic production style way
01:25 once we get to MongoEngine things like indexes and uniqueness,
01:29 and constraints and types and lots of good stuff.
01:32 So I hope you're ready to learn MongoEngine,
01:34 and put it to work building this cool Ferrari dealership.