om

Please ask the channel first, not @dnolen directly!
alex-glv 2017-05-19T04:11:46.832114Z

Hey guys and gals, I wrote a blog on my experience with om.next http://www.itchyknowsdevs.me/blog/om.next-and-whats-next/ and opened a little full-stack project using om.next and Datomic, with Google OAuth. You may find it useful if you hit the same blocks in grasping om.next as I did! https://github.com/alex-glv/boards-io

👍 5
2017-05-19T09:06:48.654169Z

alex-glv: I wouldn't say that you must use om on the backend, just that it's a more seamless integration. I'm using om.next with python on the backend; I wrote a parser for the om.next query syntax with the help of transit-python

2017-05-19T09:07:23.662831Z

Ultimately, it may be possible to translate om queries into graphql syntax. That would be ideal for this kind of integration.

2
2017-05-19T12:44:08.445799Z

I say that simply because graphQL is more popular and if you intend to expose the API to third parties, you probably want a graphQL API. Saves maintaining a special 'om' api if this were possible.

wilkerlucio 2017-05-19T15:56:52.603732Z

yes, the remote is totally custom, so sending the query to a om.next parser on the server is just one option, you can parse on the client and send as REST requests or whatever you want (I made implementations that worked using local indexdb database, no backend at all)

wilkerlucio 2017-05-19T15:57:36.620171Z

about the parser implementation, I made a blog post with some tecniques for implementing that, you might find some useful information: https://medium.com/@wilkerlucio/implementing-custom-om-next-parsers-f20ca6db1664

👍 5