7. Why PHP Developers Should Use MongoDB?
Database Reasons
• Document-oriented storage - JSON-style documents with dynamic
schemas offer simplicity and power.
• Full Index Support - Index on any attribute.
• Replication & High Availability - Mirror across LANs and WANs.
• Auto-Sharding - Scale horizontally without compromising functionality.
• Querying - Rich, document-based queries.
• Fast In-Place Updates - Atomic modifiers for contention-free
performance.
• Map/Reduce - Flexible aggregation and data processing.
• GridFS - Store files of any size.
9. Why PHP Developers Should Use MongoDB?
PHP Reasons
Object
elopm ent Orient
ed
e Dev Progra
A gil mming
st ing
nit Te
U
Rapid Aspect Oriented
Aplic
Deve ation Development
lopm
ent
17. phpMoAdmin
Eric David Benari - support@phpMoAdmin.com
• Nothing to configure - place the moadmin.php file anywhere on your web site
and it just works!
• Fast AJAX-driven XHTML 1.1 interface operates consistently in every browser!
• Self-contained in a single 90kb file!
• Works on any version of PHP5 with the MongoDB NoSQL database & Mongo
PHP driver installed and running.
• Option to enable password-protection for one or more users; to activate
protection, just add the username-password(s) to the array at the top of the file.
• E_STRICT PHP code is formatted to the Zend Framework coding standards +
fully-documented in the phpDocumentor DocBlock standard.
• Instructional error messages - phpMoAdmin can be used as a PHP-Mongo
connection debugging tool
• All textareas can be resized by dragging/stretching the lower-right corner.
• Multiple design themes to choose from
• Free & open-source! Released under the GPLv3 FOSS license!
18. ActiveMongo
Cesar D. Rodas- crodas@php.net
• Handle MongoDB connection, connecting once when it is needed
• Define a Collection as a class
• Abstracts iteration over a dataset
• Efficient save() which creates or updates efficiently (using $unset, $set) a document
• Provides simple queries interface
• Use of MongoCollection for complex queries in sub-classes
• Delete current object, Drop() table
• Support filtering per property
• Support for efficient updates on nested documents
• Dynamic References (AKA, save a query to execute later)
39. Cursors
MongoDates
Indexes MapReduce
...Just to name a few...
Sharding
Exceptions
MongoBinData
MongoCode
MongoRegex
40. No more time.
Go here for more:
http://us.php.net/manual/en/book.mongo.php
http://www.mongodb.org
http://www.lightcubesolutions.com
http://lithify.me
41. { “type”: “Conclusion”,
“date”: new Date('05-21-2010'),
“comments”: [“Thank You”,”Have Fun Developing”],
“location”: “New York”,
“speaker”: “Fitz H. Agard”,
“contact”: “fhagard@lightcube.us”
}