Slide 1

Slide 1 text

Tour of the MongoDB source code Greg Studer

Slide 2

Slide 2 text

Next 30 minutes Overview of the MongoDB source code What you need to get started using it in your own project How the code is organized, so you can find what you're looking for quickly Any other questions?

Slide 3

Slide 3 text

Where to find it? https://github.com/mongodb mongo-[ X ]-driver (Apache 2.0) mongo (AGPL) ...odds and ends...

Slide 4

Slide 4 text

Different use cases ● Building an app which uses mongodb ○ probably just need mongo-[ X ]-driver ● Extending core database for your own (nefarious?) purposes ○ mongo package

Slide 5

Slide 5 text

The mongo source Building mongodb - http://www.mongodb.org/display/DOCS/Building FreeBSD, Linux, OSX, Windows, Solaris

Slide 6

Slide 6 text

SCONS http://www.scons.org/ > install scons > cd ~/mongo > scons all (everything) > scons . (everything and unit tests) > scons install --prefix ? (install afterwards) > scons -dd . (debug symbols) > scons mongoclient.lib (C++ driver lib)

Slide 7

Slide 7 text

mongo source

Slide 8

Slide 8 text

mongo source

Slide 9

Slide 9 text

mongo source