architecture

Ivan 2018-05-17T08:24:56.000446Z

REST and CRUD are fundamentally different

Ivan 2018-05-17T08:25:11.000076Z

GraphQL is mostly an RPC interface

Ivan 2018-05-17T08:26:05.000061Z

I wish we start seeing proper REST systems, but it is not something people seem to be interested in

Ivan 2018-05-17T08:26:36.000375Z

I also hope we stop seeing CRUD systems, in favour of event sourcing and/or CQRS

Ivan 2018-05-17T08:26:51.000201Z

CQRS is complex, it is not as simple as it reads

polymeris 2018-05-17T11:52:32.000185Z

I can see GraphQL might help being more flexible with the Q part of CQRS, but so would SQL or datalog.

polymeris 2018-05-17T11:54:21.000050Z

The CRUD/CQRS question is largly ortogonal to the query languange/protocol queston, I think.

đź‘Ť 1
jerger_at_dda 2018-05-17T12:33:50.000447Z

Hi, do you know good papers about how to build good APIs in clojure?

2018-05-22T18:36:00.000293Z

Well… what do you mean by API? Its a fairly general idea imo.

jerger_at_dda 2018-05-24T14:47:05.000470Z

I mean the general API - so not REST or more special kinds ...

jerger_at_dda 2018-05-24T14:51:40.000505Z

For example I describe data being consumed by our system using schema (https://github.com/DomainDrivenArchitecture/dda-user-crate#reference) I would call this a data-driven-api. But I assume, there are many more and probably more elegant ways to describe APIs in clojure?

2018-05-24T15:50:24.000020Z

well if your looking to describe clojure data for the purposes of validation then i suppose Clojure Spec would help. Its similar in nature to spec, but spec can be used for generating data as well.

jerger_at_dda 2018-05-25T06:03:40.000275Z

would say spec & schema are playing in the same field ... but spec will allow to autogenerate doc where schema is not able to ...