Cover by Kyle Banker

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

Appendix D. MongoDB in PHP, Java, and C++

This book has presented MongoDB through the lenses of JavaScript and Ruby. But there are plenty of other ways to communicate with MongoDB, and this appendix presents three that span the gamut. I’ll start with PHP because it’s a popular scripting language. I include Java because it’s still arguably the language of the enterprise and thus important to a lot of readers of this book. Plus, the Java driver’s API diverges significantly from that of most scripting languages. Finally, I’ll present the C++ driver because it’s a core part of MongoDB’s codebase, and it’s likely to be useful to developers wanting to build high-performance standalone applications.

Each language section describes how to construct ...

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required