Re: [vos-d] MVC

2007-12-12 Thread Lalo Martins
Also spracht Reed Hedges (Mon, 10 Dec 2007 10:28:36 -0500):
 Thanks for writing up your thoughts.  How important do you think it is
 to define specific interfaces for MVC?

I tried to define as little as possible and keep them simple ;-)

As Peter said, the idea is to define a registry interface; that has to 
exist somewhere, and the actual code that uses this interface can then 
vary as widely as necessary.

The main reason I'm proposing this so early on, is that it resonates with 
Peter's ideas for Interreality3D; so I thought it would be best to have a 
minimal framework that could be used by both that and hypervos, which 
would make things easier to understand for new developers.

   Lalo Martins
  So many of our dreams at first seem impossible,
   then they seem improbable, and then, when we
   summon the will, they soon become inevitable.
GNU: never give up freedom

vos-d mailing list

Re: [vos-d] MVC

2007-12-10 Thread Peter Amstutz
Lalo and I talked about this briefly on IRC.  In think the central idea 
is simply to have a repository (the factory in the document) where you 
can go and say, I would like to view this object X, with display type 
Y and get back a list of possible candidate vobject implementations 
that can view or control the model vobject.  The view type or 
display type could be a text terminal, 2D GUI, 3D environment, web 
page, etc.  This is a generalized notion of some of the ideas I was 
exploring in the Interreality 3D prototype, with Lalo's interest in 
specifically applying it to web apps.

Personally I think this makes a lot of sense, and is likely something 
that should be part of the core APIs.

On Mon, Dec 10, 2007 at 10:28:36AM -0500, Reed Hedges wrote:
 Thanks for writing up your thoughts.  How important do you think it is 
 to define specific interfaces for MVC?
 One thing I started doing for S4 was a library called vos toolbox 
 that as a set of tools, mostly in the form of listener classes and 
 metaobject classes, that can be used to translate events from one 
 group of vobjects into actions applied to another - i.e. they could be 
 used as building blocks in implementing MVC controllers.  There are a 
 few checked in to the s4 repository (some that do math or reformat 
 property values), and I have more ideas listed at

[   Peter Amstutz  ][ [EMAIL PROTECTED] ][ [EMAIL PROTECTED] ]
[Lead Programmer][Interreality Project][Virtual Reality for the Internet]
[ VOS: Next Generation Internet Communication][ ]
[ ][ pgpkey:  18C21DF7 ]

Description: Digital signature
vos-d mailing list