Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Ruby loves DDD

The Rubyday 2013 presentation about Domain Driven Design implementation in Ruby. Source code is available here https://github.com/emadb/ruby_loves_ddd

  • Be the first to comment

Ruby loves DDD

  1. 1. RUBY♥DDD@EMADBwas DDD IN RUBY
  2. 2. HI,I’MEMANUELE@EMADB
  3. 3. DDDISABOUT...
  4. 4. ANALYSIS
  5. 5. DESIGN
  6. 6. PATTERNS
  7. 7. UBIQUITOUSLANGUAGE
  8. 8. BOUNDEDCONTEXT
  9. 9. Customer CustomerIdNameShippingAddressIdNameShipOrder(...)VatCodeBillingAddress
  10. 10. ENTITYANDVALUEOBJECT
  11. 11. CustomerAddress
  12. 12. AGGREGATE
  13. 13. REPOSITORYANDSERVICE
  14. 14. DOMAINEVENT
  15. 15. RUBY
  16. 16. ‣Fully OOP (...for real)‣Expressiveness‣Metaprogramming‣DSL with ease‣Gems...tons of gems‣Great community
  17. 17. CODE
  18. 18. WE CAN DOMORE
  19. 19. UIDOMAIN MODEL/BUSINESS LAYERDATA LAYER/ORMDATABASEAPPLICATION LAYER
  20. 20. READvsWRITE
  21. 21. STOPTHINKINGINCRUD
  22. 22. CQRS
  23. 23. UICOMMANDS/HANDLERSDATA LAYERDATABASEDOMAIN MODEL
  24. 24. UICOMMANDS/HANDLERSDATA LAYERWRITE DBDOMAIN MODELREAD DBHANDLER
  25. 25. EVENTSOURCING
  26. 26. STATEvsTRANSITIONS
  27. 27. ADD ITEM
  28. 28. ADD ITEMADD ITEM
  29. 29. ADD ITEMADD ITEMREMOVE ITEM
  30. 30. ADD ITEMADD ITEMREMOVE ITEMAPPLY COUPON
  31. 31. ADD ITEMADD ITEMREMOVE ITEMAPPLY COUPONSET SHIPPING ADDRESS
  32. 32. ADD ITEMADD ITEMREMOVE ITEMAPPLY COUPONSET SHIPPING ADDRESSCOMPLETE ORDER
  33. 33. ‣ Don’t store the state but thedeltas‣ The state can be rebuilt fromevents‣ Simple storing structures‣ Snapshot could be helpfulEVENTSOURCING
  34. 34. THISRESOLVETHEEPICCUSTOMERREQUEST
  35. 35. IWANTITFORYESTERDAY
  36. 36. CODE
  37. 37. REFERENCES
  38. 38. SOURCECODEhttps://github.com/emadb/ruby_loves_ddd
  39. 39. SPECIAL THANKS TO @BITTSTATIC @SANDROPAGANOTTI @AMELCHIORI

    Be the first to comment

    Login to see the comments

  • ziobrando

    Jun. 26, 2013
  • andrewhao

    Sep. 1, 2013
  • ssuser86eb48

    Feb. 18, 2014
  • recurlamlip

    Feb. 19, 2014
  • RuslanGatiyatov

    Apr. 25, 2014
  • amite

    Apr. 28, 2014
  • pengin01

    Jun. 4, 2014
  • brunomvsouza

    Jul. 16, 2014
  • tmarrs

    Sep. 25, 2014
  • MuhammadTaufik1

    Oct. 9, 2014
  • MuhammadTaufik1

    Oct. 9, 2014
  • MuhammadTaufik1

    Oct. 9, 2014
  • tiagosciencia

    Jan. 9, 2015
  • joobn

    Mar. 21, 2015
  • GustavoTovar3

    Mar. 23, 2015
  • wojtha

    Jun. 26, 2015
  • ssuser01a3f7

    Oct. 26, 2015
  • rooseveltfers

    Jan. 23, 2016

The Rubyday 2013 presentation about Domain Driven Design implementation in Ruby. Source code is available here https://github.com/emadb/ruby_loves_ddd

Views

Total views

4,237

On Slideshare

0

From embeds

0

Number of embeds

52

Actions

Downloads

0

Shares

0

Comments

0

Likes

18

×