Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Nov 25 10:35

    timriley on rich-component-dirs-config

    Accept pre-configured component… (compare)

  • Nov 25 10:18

    timriley on rich-component-dirs-config

    Provide path when initializing … Configure with block as part of… (compare)

  • Nov 25 05:21
    phannaly starred dry-rb/dry-types
  • Nov 25 05:21
    phannaly starred dry-rb/dry-monads
  • Nov 25 05:04
    kijimaD starred dry-rb/dry-system
  • Nov 25 04:31
    shiftingphotons starred dry-rb/dry-system
  • Nov 24 19:17
    candland commented #70
  • Nov 24 12:24

    timriley on rich-component-dirs-config

    Add some early WIP (compare)

  • Nov 24 10:23
    tadeusz-niemiec starred dry-rb/dry-monads
  • Nov 23 20:40
    solnic commented #70
  • Nov 23 06:35
    caffkane starred dry-rb/dry-system
  • Nov 22 16:07
    holamendi starred dry-rb/dry-monitor
  • Nov 22 12:58
    flash-gordon commented #124
  • Nov 21 11:58
    hss-mateus starred dry-rb/dry-monads
  • Nov 21 09:19
    namhoei starred dry-rb/dry-monads
  • Nov 21 01:03
    rpbaltazar starred dry-rb/dry-initializer
  • Nov 20 13:02
    maxhollmann commented #70
  • Nov 20 13:02
    maxhollmann ready_for_review #70
  • Nov 20 12:30
    maxhollmann converted_to_draft #70
  • Nov 20 12:29
    maxhollmann synchronize #70
Piotr Solnica
@solnic
I don’t think I will have time for any dry-* activities this week, that’s why I’m asking
just want to wrap up rom stuff
Tim Riley
@timriley
Of course! The ROM stuff is sounding great, btw.
Piotr Solnica
@solnic
@timriley this is the next chapter in ROM evolution
Andrew Kozin
@nepalez
@solnic thank you!
Joe Van Dyk
@joevandyk
looking to start a new project that basically takes http requests, does stuff to it, validates, etc then makes other http requests. any recommendations for a toolset that could help? is dry-web enough?
or trailblazer or hamani?
dan-klasson
@dan-klasson
@joevandyk can you elaborate on what you mean that it "does stuff to it"?
Joe Van Dyk
@joevandyk
lol
yeah, it converts data to different formats depending on sorta complex biz logic, could make requests to other system as part of that
in this case i don’t expect the database to be a big component in the app, if it is at all.
dan-klasson
@dan-klasson
well sounds like a perfect case of a bunch of service objects
Piotr Solnica
@solnic
@joevandyk atm dry-web is very alpha, if you’re ok with that then I’d be nice if you gave it a go
also, it only supports roda atm, but we’re gonna add other routing front-ends soon
ie dry-web-hanami
Joe Van Dyk
@joevandyk
there’s no UI right now btw, just json
dan-klasson
@dan-klasson
@solnic sure. i wouldn't mind recommend that too. but his question is not framework specific right?
Joe Van Dyk
@joevandyk
@dan-klasson i’m asking what framework people recommend ;)
or libs or whatever
i haven’t kept up in the last few years
dan-klasson
@dan-klasson
@joevandyk oh, well that is a good question.
Piotr Solnica
@solnic
I don’t recommend frameworks, I don’t like frameworks :)
Joe Van Dyk
@joevandyk
set of cohesive libraries then
w/ generators hopefully
dan-klasson
@dan-klasson
@joevandyk if you want cohesive libraries, you're in the right channel
Piotr Solnica
@solnic
I’d defo recommend trying out roda for the http part
dan-klasson
@dan-klasson
@joevandyk there is no silver bullet when it comes to dev. it all depends on what you're requirements are. but if i were you i would definitely give weight to what @solnic says
Piotr Solnica
@solnic
what kind of “formats” do you need to support?
fwiw I’m planning to add a new data transformation lib to dry-* family later this year
I don’t like rom-mapper anymore :)
Joe Van Dyk
@joevandyk
at first glance i prefer http://hanamirb.org/guides/actions/overview/ over roda i think
@solnic imagine taking an ebay product in their api format and converting that to what amazon needs for their api
and what bing needs
so could be taking something in some weird xml format, applying biz logic, then send to whatever json format another service needs
i like hanami’s actions more than roda (at first glance) because it’s easy to see how to structure the code / actions
on a team i think having the convention is important
Piotr Solnica
@solnic
I like roda routing tree because you need to look at just one place to see what your app is doing on the http side
vs jumping between router dsl and action files
the way we use roda is that http-specific code lives in the routing trees, everything else is core app APIs
so basically http part of the whole system becomes an extension on top of the core app
I mean, that’s how it works in dry-web
Joe Van Dyk
@joevandyk
hm
Piotr Solnica
@solnic
I feel like this is something many people are still missing
dan-klasson
@dan-klasson
@solnic sure, i like that too. but that's not what he is specifically asking for
how weird is the xml, and how complicated is the business logic?
Piotr Solnica
@solnic
for complex data transformations you could look into functional approach with transproc (it’s the backend for rom)
Joe Van Dyk
@joevandyk
@solnic didn’t that get changed to dry-transaction?
Piotr Solnica
@solnic
nope, dry-transaction is for composing business transactions with explicit error handling
Joe Van Dyk
@joevandyk
is transproc going to be put into dry-*?
Piotr Solnica
@solnic
I’d like that, yes