--
You received this message because you are subscribed to the Google Groups "elm-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elm-dev/70cf5d1e-cf2d-46f0-a274-6eff1216a2a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Concerning the naming: Packages are namespaced by GitHub user name, so you can publish yourname/elm-phoenix on the package site just fine.
Hey,--I have been following elm for quite a while and started a side project with elm + elixir / phoenix a couple of weeks ago in which I want to use Phoenix Channels.Inspired by this thread I started to develop an effect manager for phoenix. Since this is my first larger elm project and my first open source library I would love to hear some feedback on the api before I publish the package. The repository with documentation can be found here https://github.com/saschatimme/elm-phoenix.P.S.: I'm still looking for package name, since elm-phoenix and elm-phoenix-socket are both already taken (I assume there cannot be two packages by the same name just with different repos?). So if someone has an idea :)
You received this message because you are subscribed to the Google Groups "elm-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elm-dev/70cf5d1e-cf2d-46f0-a274-6eff1216a2a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "elm-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elm-dev/447695E5-DFF5-49E1-8886-8145B0126031%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Actually it looks like the low-level websocket interface does allow for reconnecting (why did the older phoenix libraries not use this?), so then that just leaves the final issue of that I need the phoenix websocket for other javascript purposes as well (plus some presence functionality). :-)
It would be nice if we could pass a relative URL for the Phoenix socket. The JS client allows this and it makes it easier to have the same code running in different environments.
Actually it looks like the low-level websocket interface does allow for reconnecting (why did the older phoenix libraries not use this?), so then that just leaves the final issue of that I need the phoenix websocket for other javascript purposes as well (plus some presence functionality). :-)Yes, the reconnecting is properly handled. This was one of the main reasons two write this as an effect manager :)For the presence functionality: The best solution would probably be to integrate it natively into this library, but I haven't done anything with Presence yet. So I would have to play a little bit with it or maybe there is someone with some Presence experience who would like to contribute and we could figure something out.For other javascript purposes: It would be possible to expose the Websocket (from WebSocket.LowLevel.open) with a command, but I don't know if you will get it through an port to javascript land. Also I really don't know whether this is an functionality which should be covered by this library. But if you want to try the feasibility just let me know and I will try to give you a hand.
It would be nice if we could pass a relative URL for the Phoenix socket. The JS client allows this and it makes it easier to have the same code running in different environments.As far as I know there is no way to get the current browser location besides the Navigation package which I wouldn't want to drag in as a dependency. So this could only be handed with a Native module.
For the presence functionality: The best solution would probably be to integrate it natively into this library, but I haven't done anything with Presence yet. So I would have to play a little bit with it or maybe there is someone with some Presence experience who would like to contribute and we could figure something out.
Very cool! I'll try to take a look in the next few days, but ping the thread if I don't get to it in a week.
--
You received this message because you are subscribed to a topic in the Google Groups "elm-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elm-dev/MD5r5P3Tl7Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elm-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elm-dev/39053569-2c43-43c1-905b-e392d55a3aaa%40googlegroups.com.
Sharing the socket between JS and Elm is not great. I'd recommend that it is owned by either Elm or JS and you use ports to communicate to it if you need to.
--
You received this message because you are subscribed to a topic in the Google Groups "elm-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elm-dev/MD5r5P3Tl7Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elm-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elm-dev/01ffd287-97fd-40d2-9448-3285fc0c23cf%40googlegroups.com.
Evan, is there anything else holding this up?
On Feb 23, 2017, at 3:37 AM, 'Sascha Timme' via elm-dev <elm...@googlegroups.com> wrote:
That was just a wish from @OvermindDL1. The socket is completely owned by Elm.
Am Mittwoch, 22. Februar 2017 15:44:56 UTC+1 schrieb Dustin Farris:Sascha, was this comment from Evan ever addressed?Sharing the socket between JS and Elm is not great. I'd recommend that it is owned by either Elm or JS and you use ports to communicate to it if you need to.Scanning through this thread, it looks like this is the only reason elm-phoenix has not been approved yet.
On Sunday, September 18, 2016 at 11:25:29 PM UTC+8, Sascha Timme wrote:Hey,I have been following elm for quite a while and started a side project with elm + elixir / phoenix a couple of weeks ago in which I want to use Phoenix Channels.Inspired by this thread I started to develop an effect manager for phoenix. Since this is my first larger elm project and my first open source library I would love to hear some feedback on the api before I publish the package. The repository with documentation can be found here https://github.com/saschatimme/elm-phoenix.P.S.: I'm still looking for package name, since elm-phoenix and elm-phoenix-socket are both already taken (I assume there cannot be two packages by the same name just with different repos?). So if someone has an idea :)--
You received this message because you are subscribed to a topic in the Google Groups "elm-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elm-dev/MD5r5P3Tl7Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elm-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elm-dev/01ffd287-97fd-40d2-9448-3285fc0c23cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Dustin Farris