pathom

:pathom: https://github.com/wilkerlucio/pathom/ & https://pathom3.wsscode.com & https://roamresearch.com/#/app/wsscode
Thomas Moerman 2020-10-29T10:46:32.201800Z

Guys, opinion question: In my current project we use Pathom with Crux db. Now, as there is no "ORM" layer of sorts, and some subsystems (non-UI) require complex data resolution, it appears to me that you could use Pathom as well in that context instead of only as a means to feed the UI front-end. What do you guys think of this? Suggestions?

souenzzo 2020-10-29T12:08:01.202200Z

Hello @thomasmoerman I see #pathom as something like a "ORM" inside clojure way to program It's stable layer there I can ask "give me the user/address" and it will get in DB, FancyDB, Cache, HTTP, I can chage the DB schema, store data in a new format and still provide the same user/address. I use pathom to manage REST API's and SSR pages at my work. I "export" my endpoints with something like that: https://github.com/souenzzo/eql-as#real-world-exmaple

Thomas Moerman 2020-10-29T12:09:32.202500Z

Thanks, i'll have a look soon 👍

wilkerlucio 2020-10-29T14:56:40.202700Z

@thomasmoerman, yes, I don't see pathom as a API thing, but as a way to do "attribute modeling", which is the idea to create data processing mechanisms based on the attribute relationships

wilkerlucio 2020-10-29T14:56:53.202900Z

that wasn't what Pathom was made intiially for, but its where its landing, the new docs reflect this vision better, hope to get that out soon

Thomas Moerman 2020-10-29T14:59:00.203200Z

I agree completely, I have the feeling that Pathom implements such a fundamental idea that we are still "discovering" ways in which we can use it.

Thomas Moerman 2020-10-29T15:01:01.203400Z

It sometimes reminds me of the Star Trek transporter, in need of some piece of data? -> energize! there it is! 😉

🤯 1
😄 1