#### MongoDB PHP Library
MongoDB PHP庫提供了一種高級抽象,圍繞較低層的PHP驅動程序,也稱為MongoDB擴展。
雖然MongoDB擴展提供了一個用于執行命令、查詢和寫操作的有限API,但是MongoDB PHP Library 庫實現了一個類似于舊的PHP驅動程序的API。MongoDB PHP Library 庫包含了客戶端、數據庫和集合對象的抽象,并提供了CRUD操作和諸如索引和collection 集合管理等的常見命令的方法。
如果您正在使用MongoDB開發一個PHP應用程序,那么您應該考慮使用這個庫,或者另一個高級抽象,而不是單獨的去使用擴展。
有關此庫和mongodb擴展的更多信息,請參閱擴展文檔中的[架構概述](http://php.net/manual/en/mongodb.overview.php)文章。[Derick Rethans](http://derickrethans.nl/)還寫了一系列的博客文章,名為PHP和HHVM的新MongoDB驅動程序:
[Part One: History](https://derickrethans.nl/new-drivers.html)
[Part Two: Architecture](https://derickrethans.nl/new-drivers-part2.html)
[Part Three: Cursor Behaviour](https://derickrethans.nl/new-drivers-part3-cursor.html)
#### MongoDB新人嗎?
如果您是一個新的MongoDB用戶,這些鏈接將幫助您更加熟悉MongoDB,并介紹您將在本文檔中遇到的一些概念和術語:
1. 在MongoDB中CRUD操作介紹
[Introduction to CRUD operations in MongoDB](http://docs.mongodb.org/manual/core/crud?_ga=2.263804613.811020798.1526262322-1212636708.1526262321)
2. 什么是MongoDB文檔?
[What is a MongoDB document?](http://docs.mongodb.org/manual/core/document?_ga=2.87973713.811020798.1526262322-1212636708.1526262321)
3. .NET訪問文檔屬性
[Dot notation for accessing document properties](http://docs.mongodb.org/manual/core/document/?_ga=2.87973713.811020798.1526262322-1212636708.1526262321#dot-notation)
4. ObjectId:MongoDB文檔標識符
[ObjectId: MongoDB’s document identifier](http://docs.mongodb.org/manual/reference/object-id/?_ga=2.87973713.811020798.1526262322-1212636708.1526262321)
* * * * *
https://docs.mongodb.com/php-library/current/