[plug] Program modularity/(Server Client?) - IHCC

Tim White weirdo at tigris.org
Wed Sep 1 19:01:32 WST 2004


hooker at iinet.net.au wrote:

>Quoting Craig Ringer <craig at postnewspapers.com.au>:
>
>  
>
>>hooker at iinet.net.au wrote:
>>
>>    
>>
>>>>That's a lot of work on the backend just writing interfaces. Especially
>>>>if have to update the interface code every time the core adds new
>>>>functionality or changes an API function. *uggh*.
>>>>        
>>>>
>>>Agreed, but you've got that anyway, regardless of how you architect the
>>>      
>>>
>>final
>>    
>>
>>>system.
>>>      
>>>
>>True. I just prefer not to do it for umpteen different interfaces.
>>    
>>
>
>Understood. However, I was suggesting that there could usefully be a single set 
>of "backend" functions which the various frontends plug into like leggo. As an 
>example, modifying user properties gets done via a single interface (but 
>perhaps half a dozen separate methods) regardless of whether or not it's done 
>via the GUI, CORBA or XML.
>
>If the design doesn't take that approach, the workload ultimately increases 
>during design and implementation, and even more so during maintenance.
>  
>
I aggree with that and was looking at doing like that. I think I will 
follow common unix programming and have a few small programs that are 
stream based. That way I can call them from most interfaces easily.
Tim



More information about the plug mailing list