Mongodb and PHP(English, Paperback, Francia Steve)
Quick Overview
Product Price Comparison
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 About the Author Steve Francia is the Chief Solutions Architect at 10gen where leads the public side of the engineering organization. Prior to 10gen Steve led OpenSky to become the first ecommerce site powered by MongoDB and one of the first PHP sites one of the first PHP sites backed by MongoDB. His previous roles include CIO/COO at Portero, VP of Development at Takkle and Founder & CTO of Supernerd. Steve loves open source. He has contributed to dozens of open source projects including MongoDB, Doctrine, Symfony2, Magento and Zoop and has started a few of his own. Steve holds a BA from Brigham Young University, where among other things, he created and taught a course on dynamic web development. Table of Contents Chapter 1 Why Mongo? The Problem of Objects and Relational Data Structures The Problem with ORMs MongoDB, Optimized for Operation Chapter 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 Chapter 3 Advanced MongoDB Regular Expressions Aggregation Commands findAndModify GridFS Replication Sharding Gotchas Chapter 4 PHP Libraries and Tools Object Document Mappers (ODM) Tools Frameworks Chapter 5 Conclusion