Strategies



Simple Model Modeling the Basic Object

This strategy describes a basic mapping of instance variables to a Couchbase document in a direct relationship.



Complex Model Modeling the Complex Object

This strategy describes mapping of instance variables and collections to multiple Couchbase documents.



Organic Strategy Modeling the Organic Way

This strategy describes a mental model for how to think about modeling when transitioning from SQL to NoSQL with Couchbase.



Behavioral Strategy Creating Documents based on User Behaviors

This strategy describes a mental model for how to break up Object documents based on User behaviors to isolate the data, reduce chances for race conditions, and make code much easier to develop and maintain.