On Tuesday, January 24, 2017 at 4:32:41 PM UTC, jphedley wrote:
>
> FYI, Kris Jenkins' approach-
> http://blog.jenkster.com/2016/04/how-i-structure-elm-apps.html
>

Yes, that is what guided me to the Type/State/View structure. I forgot 
about Rest, I already split Rest off into its own shared module, the same 
REST interface may be consumed by multiple UI components. The model used by 
the REST module is not the same as the model used by a UI component. I am 
now finding that this structure has been helpful in getting me to where I 
am now, but I think it is not the best design.

Parnas' principles are what guides me to better software designs - I have 
been guided by them for 20 years in OO programming, now I want to try and 
turn the into some practical advice for structuring Elm programs.

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to