On 15 July 2010 17:55, bwinfrey wrote:
> I am also trying to figure out relationships with tiOPF, and I wonder if
> this is the same for the website concepts documents.

We have started updating the website docs, and some new ones were
added for tiOPF v2. Good thing is that the tiOPF concepts and design
are still much the same from v1 thru v3.

I have started porting the examples to be more FPC compatible. But FPC
is not really the problem, it is the GUI toolkit used with FPC that
caused the issues. The original tiOPF examples where all designed for
VCL and tiOPF's own custom GUI components. Simple done so because at
that point tiOPF was only a Delphi project. I tried porting those
custom components to LCL but soon gave up, simply because at the time
LCL was just not compatible enough with VCL. Also the Lazarus Form
Designer often crashed the whole Lazarus IDE when using the tiOPF
custom components - Lazarus couldn't handle composite components in
the form designer very well. I believe Lazarus IDE and Lazarus LCL
have improved a lot since then (some 4-5 years ago).

In the mean time, I started working on my own GUI toolkit called
fpGUI. In the fpGUI repository I have some tiOPF examples ported to
work with it. I have also implemented MGM (Model-GUI-Mediator) design
pattern, which works for VCL, LCL and fpGUI. The MGM "mediators" are
much easier to use in a project that must work across GUI toolkits, so
ideally the tiOPF examples should be updated to use the MGM mediators
instead of the tiOPF custom components.

Demo 21 (Address Book) was the first of such examples. I used the
original Address Book example code, but implemented the UI via the
mediators. It's not difficult doing such conversions (any non-gui code
can be used as-is), it obviously just takes a bit of time, which most
of us don't seem to have much to spare. But I do try and squeeze in
some time here and there.

I also tried to make Demo 21 as "full feature" demo, showing many
aspects of tiOPF and the MGM mediators. So I would definitely
recommend you look at it.

For anything else that the examples don't cover, of if something is
unclear, search the tiOPF newsgroup archives (that is a goldmine of
information), or post a question in the support newsgroup (or here for
a few more weeks). I try and be prompt with replies an never let
anything go unanswered.



-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
tiOPF-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tiopf-talk

Reply via email to