User Events and Timelines

User-events-&-timeline.jpg
User-events-&-timeline.jpg
sold out

User Events and Timelines

0.00

Sometimes you may want to do more complex or specific kinds of modeling user data. A common example would be storing data for assembling a social network timeline. To create a user timeline, you could use a  DeOS timeline bucket and form keys on the basis of a unique user ID.

You would store timeline information as the value, e.g. a list of status update IDs which could then be used to retrieve the full information from another bucket, or perhaps containing the full status update. If you want to store additional data, such as a timestamp, category or list of properties, you can turn the list into an array of hashes containing this additional information.

Add To Cart