Re: Finding applications that link to framework
Re: Finding applications that link to framework
- Subject: Re: Finding applications that link to framework
- From: Chris Parker <email@hidden>
- Date: Tue, 27 Sep 2005 14:17:29 -0700
On Sep 27, 2005, at 1:37 PM, Sherm Pendley wrote:
On Sep 27, 2005, at 4:49 AM, Marcel Weiher wrote:
On 26 Sep 2005, at 13:07, Thom McGrath wrote:
I'm creating a framework which (of course) does lots of fancy
tasks, primarily involving communicating between other
applications that include this framework. The idea is that the
applications will work well together, like Adobe CS and Microsoft
Office. I had this hard-coded before, but wanted the ability to
allow additional applications by other developers to "join in" on
this suite, so I created this framework. So far, things are going
wonderfully.
Why not have them locate each other through a well-defined mach
port or similar IPC mechanism? Each app that embeds the framework
tries to contact this port and says "hello, here I am".
Good idea, but I'd suggest simply using Rendezvous (aka Bonjour)
instead of rolling your own solution. This is pretty much exactly
what it's for.
...provided you're talking about discovering services vended by
applications running on different machines on your network.
If you're trying to have applications all running on the same machine
being able to share resources, etc., then Bonjour is not for you.
Exposing things via a CFMessagePort or the like is probably more what
you're after.
For something like this it sounds like a distributed notification is
more in line with what Thom's looking for - his framework can post a
distributed notification that says (effectively)
"com.thezaz.framework initialized by com.thezaz.applicationBundleID".
The framework would also register to receive the notification and
handle new applications coming and going.
.chris
--
Chris Parker
Cocoa Frameworks
Apple Computer, Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden