Skip to content

Instantly share code, notes, and snippets.

@muteor
Created September 2, 2010 19:44
Show Gist options
  • Save muteor/562826 to your computer and use it in GitHub Desktop.
Save muteor/562826 to your computer and use it in GitHub Desktop.
----------------------------------------------------------------------
Tweets from ReadModel
----------------------------------------------------------------------
Another really important tweet(Keith Pope) - 1283456671
----------------------------------------------------------------------
Event Store
----------------------------------------------------------------------
EventStore Object
(
[_events:protected] => Array
(
[E2069990-7EF8-4E0C-BCD8-3583D75BFD6C] => Array
(
[0] => Event_NewTweetPostedEvent Object
(
[id] => E4DA269B-8E73-41C3-96E9-186472F495CE
[eventTime] => 1283456671
[tweetId] => E2069990-7EF8-4E0C-BCD8-3583D75BFD6C
[message] => Another really important tweet
[who] => Keith Pope
[when] => 1283456671
)
)
)
)
----------------------------------------------------------------------
Our Tweet
----------------------------------------------------------------------
Domain_Tweet Object
(
[_id:protected] => E2069990-7EF8-4E0C-BCD8-3583D75BFD6C
[_version:protected] => 0
[_message:protected] => Another really important tweet
[_who:protected] => Keith Pope
[_when:protected] => 1283456671
[_uncommittedEvents:protected] => Array
(
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment