Mais conteúdo relacionado Semelhante a MongoDB & PHP (20) MongoDB & PHP1. MongoDB & PHP
© 1993-2012. EPAM Systems. All Rights Reserved.
Alex Litvinok
8. Best of BigTable and Dynamo
Apache license
Written on Java
Thrift & custom binary (CQL3) protocol
11. Graph database - connected data
GPL/AGPL/Commercial licenses
Written on Java
HTTP/REST (or embedding in Java) protocol
12. Billions of rows X millions of
columns
Apache license
Written on Java
HTTP/REST (also Thrift) protocol
14. B-Tree MongoDB
Memtable / SSTable Cassandra
In-Memory with snapshots Redis
Append-only B-Tree CouchDB
On-disk linked lists Neo4j
Memtable / SSTable on HDFS Hbase
16. SAP uses MongoDB as a core
component of SAP’s platform-
as-a-service (PaaS) offering.
17. MongoDB is used for back-end
storage on the SourceForge
front pages, project pages,
and download pages for all
projects.
18. The New York Times is using
MongoDB in a form-building
application for photo
submissions.
20. Foursquare uses MongoDB to
store venues and user check-
ins into venues, sharding the
data over more than 25
machines on Amazon EC2.
24. Native PHP Driver
01. <?php
02.
03. $m = new MongoClient();
04. $db = $m->selectDB("example");
05.
06. ?>
25. ent class .
ongoDB class
ection class
.
sor class .
. The Mon
The MongoD
. The
.
. The Mo
The MongoClient class
The MongoDB class
The MongoCollection class
The MongoCursor class
26. 01. $m = new MongoClient();
02. $db = $m->comedy;
03. $coll = $db->cartoons;
04.
05. $call->insert([‘name’=>’Alex’]);
06.
07. $result = $call->find();
08. $result = $call->find([‘name’ => ‘Alex’]);