Working with MongoDB

During this workshop we will have a look on how MongoDB can be used. After a short introduction we continue with a few scenarios for schema design to illustrate that even although MongoDB is schemaless, how the data is stored has a big impact on performance. Then we proceed to do some hands on work where we import data and do some queries to show how indexes should be used. In the second half we look at set-ups. From single machine set-ups via
replication and finally sharding. At the end of this workshop, you’ll have a good understand of MongoDB’s strong points. As language, we’ll use PHP, but the workshop would equally be useful for users of other languages.

Questions and Answers

Who’s the target audience for this tutorial?

Anybody who wants to know how to use MongoDB effectively.

How experienced do I need to be?

You need to know PHP, and be familiar with JSON/JavaScript syntax.

Which version of software / php etc will you be covering?

PHP 5.4 or PHP 5.5, with MongoDB 2.4.

Do I need to bring a laptop?

Some excercises are on paper, but a laptop might be handy to play with a few things yourself.

Do I need to install or set-up any specific software prior to the day, in order to get the most out of the day?

Have PHP 5.4/5.5 installed with the MongoDB PHP driver through PECL (at least version 1.4.2) as well as at least MongoDB 2.4.5. And make sure that you can talk to MongoDB from PHP.

What else will I get?

Refreshments and lunch, a personalised attendance certificate and a conference T-shirt!

Derick Rethans

Derick Rethans

Working with MongoDB

Derick Rethans is a PHP internals expert, author of Xdebug and an OpenStreetMap and mapping enthusiast.

He has contributed in a number of ways to the PHP project, including the Xdebug debugging tool, and various extensions and additions. He’s a frequent lecturer at conferences, the author of php|architect’s Guide to Date and Time Programming, and the co-author of PHP 5 Power Programming. He is now working at 10gen to work on the PHP driver for MongoDB.