Fork me on GitHub
#clojure-uk
<
2018-12-21
>
otfrom09:12:57

that's annoying. I still can't share only a window on slack

manas_marthi09:12:04

Hi all, good morning.. I am looking for some sample data entry CRUD application using cljs and reagent

manas_marthi09:12:32

Does anyone have any open source git repo?

maleghast09:12:45

@manas.marthi - I have not seen anything like that kicking around if I am honest...

maleghast09:12:36

Should be pretty easy to do from a scratch CLJS example app though, particularly if you handle the DB interactions on the Server Side by writing an API for that stuff for the CLJS app to interact with.

maleghast09:12:05

(Thinking about that, unless you were using a Client-Side DB it would HAVE to be done that way, so *facepalm* - it's early I am tired)

manas_marthi10:12:23

@maleghast yeah I am looking to create cljs ui talking to server via REST calls..

manas_marthi10:12:37

Not sure how to access form fields on the UI to call validation functions and post the form data via json and show thebstatus

manas_marthi10:12:22

Is there a better way than (.-value (.-target e))

manas_marthi10:12:38

to access fields?

manas_marthi10:12:09

Not sure what is the established CLJS API to access form fields and run validation

manas_marthi10:12:39

I saw API that looked like js/xxx functions

manas_marthi10:12:58

Not sure is there something clojurish

manas_marthi11:12:19

Any recommended API to access individual form fields and show validation errors ? Say, with style changes like border color changes?

dominicm12:12:56

I always write that myself

alexlynham14:12:44

the section in the middle of this article about why Toyota centralised hiring is so interesting, in the context of how large corporate structures often end up resembling feudal societies https://sloanreview.mit.edu/article/how-to-change-a-culture-lessons-from-nummi/

alexlynham14:12:17

(under the What Is the Nature of a Good Company-Employee Relationship? header)

Conor15:12:08

Paste the interesting bits, I can't see them unless I create an account 🙂

dominicm15:12:26

https://voidlinux.org/news/ these advent of void posts are about useful Linux things

yogidevbear15:12:38

Those snow flakes on their website are too much for me 😂 I keep wanted to fan the "bugs" away

folcon17:12:42

Anyone have experience using test check/spec generators?

folcon17:12:58

Trying to use the break period to get more familiar with them

folcon18:12:38

Ok, one gotcha, don’t just mix spec and check gens, they seem to have some differences, for example string-alphanumeric works differently…

(gen/generator? gen/string-alphanumeric)
=> true
(gen/generator? sg/string-alphanumeric)
=> false
(gen/generator? (sg/string-alphanumeric))
=> true

paulspencerwilliams19:12:36

Ssh.... I slipped a bit of Clojure into production today 😳

paulspencerwilliams19:12:52

Happy chrimbo to me 😂

4