Book description
What would happen if you optimized a data store for the operations application developers actually use? You’d arrive at MongoDB, the reliable document-oriented database. With this concise guide, you’ll learn how to build elegant database applications with MongoDB and PHP.
Written by the Chief Solutions Architect at 10gen—the company that develops and supports this open source database—this book takes you through MongoDB basics such as queries, read-write operations, and administration, and then dives into MapReduce, sharding, and other advanced topics. Get out of the relational database rut, and take advantage of a high-performing system optimized for operations and scale.
- Learn step-by-step the tools you need to build PHP applications with MongoDB
- Perform Create, Read, Update, and Delete (CRUD) operations, and learn how to perform queries to retrieve data
- Administer your database, and access and manipulate data with the MongoDB Shell
- Use functions to work with sets, arrays, and multiple documents to perform synchronous, asynchronous, and atomic operations
- Discover PHP’s community tools and libraries, and why they’re valuable
- Work with regular expressions, aggregation, MapReduce, replication, and sharding
Publisher resources
Table of contents
- MongoDB and PHP
- SPECIAL OFFER: Upgrade this ebook with O’Reilly
- Preface
- 1. Why Mongo?
-
2. PHP, MongoDB, and You
- Installing the Driver on Linux or MacOS X
- Installing the Driver on Windows
- Connecting to a Database
- The Basics (CRUD Operations)
- The MongoDB Shell
- Working with Sets
- Working with Indexes
- Database References
- Dates and Times
- 3. Advanced MongoDB
- 4. PHP Libraries and Tools
- 5. Conclusion
- About the Author
- SPECIAL OFFER: Upgrade this ebook with O’Reilly
- Copyright
Product information
- Title: MongoDB and PHP
- Author(s):
- Release date: January 2012
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449324841
You might also like
book
Sams Teach Yourself NoSQL with MongoDB in 24 Hours
NoSQL database usage is growing at a stunning 50% per year, as organizations discover NoSQL's potential …
book
PHP Development Tool Essentials
Learn PHP development best practices, such as version control, development environment virtualization, and coding standards. You'll …
book
Mastering PHP 7
Effective, readable, and robust codes in PHP Key Features [*] Leverage the newest tools available in …
article
Run Llama-2 Models Locally with llama.cpp
Llama is Meta’s answer to the growing demand for LLMs. Unlike its well-known technological relative, ChatGPT, …