Re: Application Architecture or approach
Re: Application Architecture or approach
- Subject: Re: Application Architecture or approach
- From: Kyle Sluder <email@hidden>
- Date: Wed, 11 Feb 2009 20:20:43 -0500
On Wed, Feb 11, 2009 at 8:07 PM, Louis Demers <email@hidden> wrote:
> Now, I need to rewrite the app so that it can talk to multiple devices. I
> want to use bindings and write as little code as possible 8-) I'm
> considering an NSDocument based Applications and using panels/palettes to
> display status and controls (100's) Each device will be represented by a
> different document.
If the concept is to control lots of devices at a time, then I would
hesitate to use the NSDocument architecture. Instead, I'd use a
plugin architecture, where each device's code and interface is stored
in a separate bundle inside your bundle's PlugIns folder. You can
then enumerate these for choosing to display certain interfaces.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden