Article View: comp.sys.next.programmer
Article #1767Splitting apps into UI and core server?
From: Montgomery Zukowski
Date: Sun, 15 Nov 1992 18:41
Date: Sun, 15 Nov 1992 18:41
16 lines
1347 bytes
1347 bytes
Has anyone given much thought on how to split applications into a core server and a user interface object? Are there any examples on the archives? I'm working on objects to support this right now but I don't want to re-invent the wheel. My approach right now is to split everything into two. I have as classes DocumentManager and DocumentManagerUI, Document and DocumentUI, TextDoc and TextDocUI and a FileObject. A lot of stuff will happen through delegation, like if a document is being saved for the first time and the file already exists, a Document would see if it has a UI delegate and if so a message would be sent and the DocumentUI would put up the alert panel and go from there. This approach involves a lot of cross talking and many classes where one used to suffice, but I'm not sure how else to go about it. Thoughts anyone? Monty
Technical Details
Message-ID:
<9211151841.AA00343@intuitiveedge.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!gatech!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!monty@intuitiveedge.comShow Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!monty@intuitiveedge.com From: monty@intuitiveedge.com (Montgomery Zukowski) Subject: Splitting apps into UI and core server? Message-ID: <9211151841.AA00343@intuitiveedge.com> Sender: daemon@magnus.acs.ohio-state.edu Reply-To: monty@intuitiveedge.com Organization: The Ohio State University Date: Sun, 15 Nov 1992 18:41:16 GMT Lines: 16