dry-web

 dry-web

4cf300db4be834dfb4ddd76337205946?s=128

Michał Poczwardowski

October 12, 2016
Tweet

Transcript

  1. dry-web rails meeting Gdansk - 12th Oct 2016 Michal Poczwardowski

    michal.poczwardowski@netguru.co @dmp
  2. dry-web 0.5.0 Lightweight web application stack with pluggable routing front-ends…

  3. “Programmers at work maintaining a Ruby on Rails application" http://classicprogrammerpaintings.com/post/1427

    37403879/programmers-at-work-maintaining-a-r uby-on-rails
  4. dry-web dry-rb + rom-rb + roda

  5. dry-rb dry-rb is a collection of next-generation Ruby libraries, each

    intended to encapsulate a common task
  6. None
  7. Gems from dry dry-web-roda - dry-rb.org - dry-auto_inject - dry-types

    - dry-system - dry-initializer - dry-monads - dry-core - dry-configurable - dry-struct - dry-validation - dry-transaction - dry-logic - dry-view - dry-container - dry-web - dry-system-rails - dry-system railtie - dry-matcher - dry-equalizer - dry-monitor - dry-pipeline
  8. rom Ruby Object Mapper (ROM) is a Ruby persistence library

    with the goal to provide powerful object mapping capabilities without limiting the full power of your datastore.
  9. rom exists to: • Isolate the application from persistence details

    • Provide minimum infrastructure for mapping and persistence • Provide shared abstractions for lower-level components • Provide simple use of the underlying datastore when desired
  10. roda Roda is a routing tree web toolkit, with the

    primary goals of simplicity, reliability, extensibility, and performance.
  11. gem install dry-web-roda dry-web-roda new appname

  12. Structure

  13. Working app https://www.icelab.com.au/ https://github.com/icelab/berg

  14. Code samples - starting from routing (roda)

  15. None
  16. None
  17. None
  18. None
  19. None
  20. None
  21. So… next project in dry-web? No

  22. None
  23. Not yet but... +change positive architecture+ +designed for domain+ +small

    components -> easy focus+ +easy to understand, reuse, test+
  24. Resources Dry-rb: http://dry-rb.org Dry-web presentation: http://dry-rb.org/resources/reddotrubyconf-2016/ The running app: https://github.com/icelab/berg

  25. Thanks!