#elixir-lang - 23 March 2019
« Back 1 day Forward 1 day »
[09:55:03] Nicd-: Zarathu: if you can trust the format, use pattern matching and Integer.parse or some sort?
[10:15:05] OliverMT: If blazing speed is the most important Zarathu compile a pattern that just matches each string part
[15:36:10] OliverMT: If blazing speed and convenient deployment and a language that doesnt punch your face as often as it can, then pattern matching in elixir is still good
[16:12:44] inoas: aka for regular data-entry web apps... like kickstarter, ebay, stuff like that, smaller scale?
[16:39:58] inoas: what about running an elixir/phoenix live view on the clients (mobile app) to have offline-first experience
[16:49:39] inoas: chrismccord: did you consider pushing a whole phoenix node with live view as a mobile app for offline-first support and then in case you get online that app then talks to the web server/syncs instead of the local server?
[19:46:11] OliverMT: benwilson512: have you seen people disussing how to consume graphql internally?
[19:46:36] OliverMT: I'm starting to ponder how to make parts of our stuff in liveview, and I don't feel like exposing data both as ctx/service functions *and* as graphql
[22:09:50] benwilson512: OliverMT: https://hexdocs.pm/absinthe_phoenix/Absinthe.Phoenix.Controller.html was our first sort of crack at this
[22:10:00] benwilson512: I'm not sure that the whole API makes sense but it introduces a few useful things
[22:10:21] benwilson512: principally the ability to get actual elixir structs from your graphql queries, which makes phoenix url helpers and the like work