Skip to content

Instantly share code, notes, and snippets.

@masak
Created June 12, 2012 11:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save masak/2916947 to your computer and use it in GitHub Desktop.
Save masak/2916947 to your computer and use it in GitHub Desktop.
Blog design

Listing only the commands below. The events have the corresponding names.

Layer 1 — publishing posts

  • CreatePublishedPost
  • EditPostTitle
  • EditPostContents

Layer 2 — post drafts

  • CreateDraftPost
  • EditPostUrl (only allowed before publishing)
  • PublishPost
  • ErasePost

Layer 3 — comments

  • AddComment
  • EditComment
  • AcceptComment
  • RejectComment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment