[elm-discuss] Re: Poll for Intermediate to Advanced topics that people struggle with

2017-06-26 Thread sergii . kamenskyi
The biggest problems with Elm for me was (and maybe are): - What is tagged type and how and why to use it. - Cmd, Msg, Task, Subscription, effects - translation for a JS developer, please. - SPA routing (still a pain for something little more complex than "hello world") - Where is my UI

[elm-discuss] Re: Inter triplets communication.

2016-11-30 Thread sergii . kamenskyi
Not only me asking this questions. https://groups.google.com/forum/#!msg/elm-discuss/u3J2eSThkjw/4FT3p50uBAAJ and http://blog.jenkster.com/2016/04/how-i-structure-elm-apps.html On of the interesting solutions https://github.com/folkertdev/outmessage another

Re: [elm-discuss] Inter triplets communication.

2016-11-30 Thread sergii . kamenskyi
@Richard Thank you for this example. But I don't see how to properly trigger my "ratings" storage reload action if user state changed. Another question, What do you think about pages separation? For example, I have several independent tabs and one of the tabs called "Rating" and It has some

Re: [elm-discuss] Inter triplets communication.

2016-11-29 Thread sergii . kamenskyi
@Nick "triplet" is commonly used shortcut for model, update, view functions. https://www.youtube.com/watch?v=LCNs92YQjhw=youtu.be=21m09s @Richard Thank you for your response, I really appreciate it! As I said before, I can be totally wrong. Put another way, *Elm does not have anything

Re: [elm-discuss] Inter triplets communication.

2016-11-29 Thread sergii . kamenskyi
@Rupert Smith Your module for pub/sub looks great! I will be useful for a lot of people like me. I think you should publish it. Can you add a README or provide few examples how to use it properly? @Nick H I also thought about this > type Action = Loaded | UserInfo UserInfo.Action | Ratings

[elm-discuss] Inter triplets communication.

2016-11-28 Thread sergii . kamenskyi
Hi All, I know that Elm doesn't have the concept of components but instead it has triplets. They should behave similar to components, they encapsulate internal implementations. I use this concept in my App and I faced some architectural questions. What is the proper or better way to communicate