The post looks good.
The title might rub people the wrong way though. Maybe it's just me but it sounds a bit like "You don't get to decide how to use Elm at work, I'm going to tell you how you're allowed to do it".
"Using Elm at Work" doesn't have that connotation for me. But the post seems to be more about "Introducing Elm at Work". Or perhaps the title should focus on JavaScript integration, since that's what people cannot easily find but is described in the blog post.
--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
My ideal tooling here, and I suspect that NRI has some of this already, would allow multiple Elm projects to be built, linking against one copy of common code (core, model defs, 3rd part libs). It would tie into Rail's asset pipeline to recompile on page load or file change in development and precompile in production.
If we're serious that this is the success story, than we should write tooling to that story. The compiler is still built around an entirely elm website.
Embedding Elm in some big JavaScript project is not very hard. It's like three lines of JS, but it feels like no one knows about them! So I created react-elm-components to make it much more obvious.
Elm is optimized for embedding into your existing JavaScript projects. With about three lines of JS, you can have Elm components interoperating with your app giving you the opportunity to experiment and experience the power of Elm sooner! I have created react-elm-components to make this even simpler.
--
What about the other stories?
I have seen people try other paths. They don't work though. So I'd love for there to be other paths, but I have not heard of another one.
Do you have a story of someone implementing a simple user form in Elm and enjoying both the experience and the result?
This is trivial in Html/CSS/JS land with the help of (take your pick: Bootstrap, SemanticUI, AUI, etc.)
Graphics.* elements were a huge step in the right direction (API wise) and people loved them but they were abandoned without an alternative.
And now we live in a world where the best path for approaching Elm is embedding it into a React component. :(
There have been people who have tried to approach this (e.g. elm-mdl) but they were explicitly or implicitly dismissed.
--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
This:
Also, Graphics.* has not been “abandoned without an alternative” considering it’s been updated for 0.17. Anyone who thinks it’s a good choice for work has just as much ability to use it today as they have for the past 3 years!
is simply not true, is it?
All of Graphics.Input was dropped, so none of the functionality earlier available in http://package.elm-lang.org/packages/elm-lang/core/3.0.0/Graphics-Input is available anymore. And we have seen people on this mailing list react in shock that what they did with inputs in a Graphics setting before is suddenly not possible anymore. I remember at least one instance where someone wrote that they had an Elm application in their company built with Graphics.Input and it was now impossble for them to update it. For that person it is certainly not true that they have just as much ability to continue using Graphics.* today as they had for the past 3 years.
--
Richard, this is the post I had been remembering: https://groups.google.com/d/msg/elm-discuss/Y1B6kKdXCNw/5Ky57c-IAQAJ
Sounds like these are other folks, aside from CircuitHub, that have been using Graphics.* in production (but I don’t know for sure what your definition of “in production” is; does an in-house tool count?). And would you agree that what you said in your message about continued ability to use Graphics.* does not seem to be a reality for them?
BTW, it’s also remarkable that the plea for help/guidance expressed in that posting didn’t get any response. At least not on the mailing list.
--
Regarding the user form, you said that what I asked is trivial in Elm.Do you have some kind of sample code that you can share or, if you would be so kind, could you post some sample repository that does that?
I would LOVE to be proven wrong about that. I would love to see some simple Elm code that outputs a form that looks like it came from 2016 and go "oops, my bad, sorry for wasting everyone's time".
All of Graphics.Input was droppedRegarding elm-mdl. I am well aware of the release of 6.0.0. I was not arguing that people are not still fighting.What I said was that "they were explicitly or implicitly dismissed".
If you want me to be more explicit, I was thinking about the discussions around boilerplate that prompted elm-parts, the difficulties around geometry that prompted debois/elm-dom.
--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
It's all good. :)
This stuff is complicated!
You received this message because you are subscribed to a topic in the Google Groups "Elm Discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elm-discuss/gVY5DmZOR9s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elm-discuss...@googlegroups.com.
TodoMVC in Elm is 21kb (minified & gzip) ;)
Christopher, has your Graphics-via-SVG experiment led anywhere in the meantime?
I have this hobby project relying heavily on the interactive aspects of the old Graphics library (see below), originally done when Elm 0.16 was current, but only now put online (previous uses were “in-house” only, as in “in our family home, by my son”).
Thinking about how this might be updated to Elm 0.17, it seems almost impossible to do. Not because of any signal vs. not-signal problems, but simply because of the lack of a declarative graphics API like Graphics that also enables attaching event handlers. That’s what disappeared from elm-graphics when Graphics.Input.* disappeared. Anyway, a Graphics replacement done via SVG would probably address this, because I assume it would support attaching event handlers like onclick and onmouseover to the created graphics nodes just as it works for “normal” (html and svg) nodes now?
https://github.com/jvoigtlaender/circuits

--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscribe@googlegroups.com.
Thinking about how this might be updated to Elm 0.17, it seems almost impossible to do. Not because of any signal vs. not-signal problems, but simply because of the lack of a declarative graphics API like
Graphicsthat also enables attaching event handlers. That’s what disappeared fromelm-graphicswhenGraphics.Input.*disappeared. Anyway, aGraphicsreplacement done via SVG would probably address this, because I assume it would support attaching event handlers likeonclickandonmouseoverto the created graphics nodes just as it works for “normal” (html and svg) nodes now?