From: Curt Hibbs Date: 2003-12-09T02:45:01+09:00 Subject: Re: Idea: Linux PIM in Ruby Emmanuel Touzery wrote: > > Hal Fulton wrote: > > > I think it would be fun/informative to try to abstract away the > > GUI here... I've tried that two or three times before with > > mixed success. > > > > In other words, I'd create a layer that would never change, then > > create a mapping from that to Fox. (But nothing too fancy -- > > just wrap some calls if possible, not create a new GUI system.) > > > > Then for example it would easy(-ier) to switch later from Fox > > to GTK or wxWin or whatever, or even make alternatives. > > wouldn't it be smarter to have a core which knows nothing about GUI and > then several GUI layers ontop of it? > you think application directing GUI. how about GUI directing > application? seems cleaner to me, but then again.. I think that is pretty much what Hal is saying. I would also like to reinforce this theme: A core "engine" with no gui. The gui can then be developed independently or, if you wish, separate (but similar) gui applications can be written that all use this same core engine. I have a longer term plan to create a ruby implementation of naked objects (www.nakedobjects.org) using wxRuby, and an engine like this would make a great candidate for auto-generating a gui. Curt --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.548 / Virus Database: 341 - Release Date: 12/5/2003