Database Reference
In-Depth Information
Figure 8-13. Filtering content of the current user's friends
Consumption Graph Model
This section examines a few techniques to capture and use patterns of consumption generated implicitly by a user
or users. For the purposes of your application, you will use the prepopulated set of products provided in the sample
graph. The code required for the console will reinforce the standard persistence operations, but this section focuses
on the operations that take advantage of this model type, including:
Capturing consumption
Filtering consumption for users
Filtering consumption for messaging
Capturing Consumption
The process above for creating code that directly captures consumption for a user could also be done by creating
a graph-backed service to consume the webserver logs in real time, or by creating another data store to create
the relationships. The result would be the same in any event: a process that connects nodes to reveal a pattern of
consumption (Listing 8-37).
 
Search WWH ::




Custom Search