Hi all again.
I would like to know wich is the right way to follo MVC pattern and OOP on Lazarus/FreePascal.
Thanks in advance.

Mailing lists / lazarus / 2008-02
8 messages · 7 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hi all again.
I would like to know wich is the right way to follo MVC pattern and OOP on Lazarus/FreePascal.
Thanks in advance.
I have a partial implementation of MVP that is FPC compatible, it is very close to MVC.
Im now finishing a big refactory, not commited yet.
http://code.google.com/p/jazz-sdk/
[]s
Cesar Romero
Hi all again. I would like to know wich is the right way to follo MVC pattern and OOP on…
Giuseppe Luigi Punzi Ruiz wroteHi all again. I would like to know wich is the right way to follo MVC pattern and OOP on Lazarus/FreePascal.
The easiest way for you to achieve your tasks imho :) MVC is not a religion but an approach. Personally I use it for many years and only recently learned the term. your data and logic need to be at two different locations, and the visual display have also a different location, however, if it makes things harder, then you can mix things up to make your work better and easier...
Thanks in advance.
Ido
Hi all again. I would like to know wich is the right way to follo MVC pattern and OOP on…
www.pressobjects.org
MVC MVP and more
Hi all again. I would like to know wich is the right way to follo MVC pattern and OOP on…
I would like to know which is the right way to follow MVC pattern and OOP on Lazarus/Free Pascal.
That's a very open ended question... MVC, MVP, MGM etc are all design patterns. They help to keep you business classes and GUI code separate.
I don't use MVC, but rather Model-GUI-Mediator (MGM). For me, it's more geared towards todays more intelligent GUI toolkits - taking advantage of it's built-in event handling. It's also very easy to implement. I have implemented MGM using Lazarus's LCL with tiOPF. I have also ported that implementation to fpGUI with tiOPF. Source code and examples are available for both in the following SubVersion repositories....
tiOPF v2: http://www.tiopf.com
fpGUI: http://opensoft.homeip.net/fpgui/
For more information about Model-GUI-Mediator have a look at: http://www.atug.com/andypatterns/mgm.htm
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
I have a partial implementation of MVP that is FPC compatible, it is very close to MVC.…
I think it would be good if you update your site somewhat.
From what I see, I would conclude that the project is dead...
Michael.
=
Im working now on that, it was not update for while coz I was working as a contractor for a London company.
[]s
Cesar Romero