Re: MVC / Observer & Immutable Data

2012-10-31 Thread Paul deGrandis
Hi Alexey, MVC as an architectural style is very common in functional programming, but it manifests itself differently as a software pattern. Separating the data from functions that process and shape it, and functions that polish and present it is always a good idea. This is the core concept

Re: MVC / Observer & Immutable Data

2012-10-31 Thread Alexey Petrushin
It seems that those concepts can't be directly ported, because MVC and Observer works with changing state, and in functional programming state is usually doesn't change. Can You please provide links to simple GUI examples that demonstrate such techniques, like the TODO list for Backbone.js? On

MVC / Observer & Immutable Data

2012-10-30 Thread Alexey Petrushin
MVC / Observer in Immutable Data Can You please explain what are analogues of MVC / Observer techniques in two cases: 1. Immutable Objects (OOP style) 2. Immutable Data (functional style) For example let's consider following simple GUI example (You can try it live here http://tinkerbin.com/0XD