Max,
I'm very interested in this also & have been exploring some ideas
too. Is this still a subject of interest to you?
I'm writing of version of ToDo App, for which View State & Biz State are
separated in my Model, for which the update function handles View State
Changes, but delegates Business "Actions" to separate Biz State Function.
I may be mad, but this is what I'm exploring right now.
Cheers,
JP
On Friday, January 8, 2016 at 12:31:57 PM UTC-8, Max Goldstein wrote:
>
> Hi Peter,
>
> Thanks for the constructive criticism.
>
> This pattern is more aimed at the first problem, separating view state
> from business state, than the second component hierarchies. I'm hoping that
> once I/we really figure out the first one, that will give us insight into
> the second, but so far that's just a hunch.
>
> I'm sorry you don't "value of splitting Actions and Events". This thread
> <https://groups.google.com/forum/#!topic/elm-discuss/Uayz5OOGnyM> is
> partially trying to solve this separation, by keeping "how far has the
> panel moved to show the new page" separate from "what page are we on?".
>
> I think SpinSquare is a bad example for this new pattern. That's a
> component that only animates; it doesn't use animation to transition
> between states. A better example would be spinning a triangle 90˚ and
> needing to know the orientation a component up the ladder.
>
> I can try to make an example program that uses the pattern.
>
--
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.