On 2013-05-02 20:26, Michal Wallace wrote:
>
> I was experimenting with using some of FPC's features together and came up
> with this:
>
> https://github.com/tangentstorm/lazmvc/blob/master/umodel.pas
Just curious. If you use interfaces already, then why use message
methods for notifications? W
On Thu, May 2, 2013 at 2:34 PM, Michael Van Canneyt
wrote:
> You are aware that the classes unit contains the observer pattern, and
> together with the fpmediators it has all you need to implement the MVC
> model (through mediators) ?
>
Nope. :) I actually had thought I'd seen something about ob
On Thu, 2 May 2013, Michal Wallace wrote:
Hey all,
I was experimenting with using some of FPC's features together and came up with
this:
https://github.com/tangentstorm/lazmvc/blob/master/umodel.pas
Basically, it's just a generic implementation of the Observer design pattern.
It provides a
Hey all,
I was experimenting with using some of FPC's features together and came up
with this:
https://github.com/tangentstorm/lazmvc/blob/master/umodel.pas
Basically, it's just a generic implementation of the Observer design
pattern. It provides a class, TModel, tha you can use as an interface