Normalization -> 1NF/2NF/3NF
Key/Val -> MemCache/Redis
Column -> Cassandra/Hadoop
Graph -> neo4j
Document -> CouchDB/MongoDB
Relational Databases value ACI
NoSQL solutions value CAP
Must have an _id field
Documents can have embedded documents or embedded arrays.
Duplicated data in a NoSQL is not a bad thing, but more complicated.
Don't need to create database and schemas.
$m = new MongoClient;
$m->dbname->steps->insert([name => 'derick']);
Use single quotes everywhere.
Query operators start with a $ so that can be obnoxious for PHP.
Greater than or Equal -> '$gte'
Inc, Set, Unset, '$addToSet', '$push'
Use and Atomic value like INC (increment) to avoid race conditions.
No Schema, No Schema Validation, No Checks and Balances.
Having a good model becomes very important.
Don't use values as keys. ie derick => 'twitter user'
Not inforced foriegn keys are allowed
IE: blog post content with blog post views
Article collection and Views collection.
Probably keep a Article View Counter in the article collection rather than counting on the view collection.
Master/Slave Replication with Failover
Maximum of 12 server in a Replicaset
Only Gaurantee Perfection by reading from Master
A delay of seconds to slaves is probably acceptable in most cases.