Fork me on GitHub
#fulcro
<
2020-08-05
>
souenzzo22:08:08

Hey, I'm working on a #fulcro / #pathom version of realworld app https://github.com/souenzzo/eql-realworld-example-app/ My main propose it (re)learn and document/exemplification/best pratices of fulcro/pathom/eql applications Any kind of interactions(DM/PR/Solutions/doubts) are welcome šŸ™‚

tony.kay23:08:45

@souenzzo I would consider it a best practice to use RAD. Donā€™t have to use db adapters or even generated UIā€¦but the attribute stuff and form/report logic handling is super nice for standing things up

souenzzo23:08:24

In the "fulcro meetup" you said that "rad is developed for be easy to attach on a existing project" Which component do you recommend? Opened fulcro-rad-demo and I'm thinking about start with the login form

tony.kay03:08:05

so, login is less refined, and I didnā€™t really mean it..the auth machine is the least refined part of the whole thing šŸ˜„

tony.kay03:08:28

if I only had 3x as many hours in a day šŸ˜•

tony.kay03:08:27

Iā€™ll take a stab at making some intro videosā€¦itā€™s about time I did that

tony.kay03:08:56

the book is somewhat reasonable, but definitely out of date and not as useful as Iā€™d want

nivekuil03:08:36

I've been chewing over chapter 3 of the book for the past few days and find it quite enlightening :) would you recommend jumping straight to http://book.fulcrologic.com/RAD.html from there?

tony.kay07:08:22

@U797MAJ8M You can definitely ā€œmake thingsā€ with RAD without a ton of know-how in Fulcro; however, RAD is meant to be a ā€œstand it up quicklyā€ thing that you escape from over timeā€¦youā€™ll need to really understand Fulcro to actually build anything real.

nivekuil07:08:14

I think I'll continue to work through things the hard way then. thanks

tony.kay16:08:05

Just understand that what RAD supplies (`defsc-form` and defsc-report) on the UI side are just macros that generate defsc. See the videos I posted

souenzzo23:08:21

I'm on a wrong path? I'm still confuse if report will receive {:source-atronute [{:val 1] {:val 2}}} or directly {:val 1} https://github.com/souenzzo/eql-realworld-example-app/blob/master/src/conduit/client.cljs#L71

tony.kay23:08:19

the generated UI doesnā€™t hurt for early stuff as well

tony.kay23:08:30

and the routing is more fully baked

tony.kay23:08:49

component options is just the right thing to do for generalizing certain things as well (hanging custom options on components)