Newbie question: application architecture
Newbie question: application architecture
- Subject: Newbie question: application architecture
- From: Jeff Howe <email@hidden>
- Date: Thu, 16 Aug 2001 17:56:07 -0400
Hi,
I am researching a largish port of our Windows application to OS X/Cocoa.
One question involves the architecture of our application. Under Windows, we
have packaged a number of our modules as DLLs (Dynamic link libraries). We
use these in two ways: first, we use the normal Windows implicit loading,
such that if a module depends on a DLL, the Windows loader will search for
and load the DLL, and resolve the references (and recurse down if the DLL
relies on another). The second method that we also use is explicit loading
of DLLs: we load the DLLs ourself, and look for specific function exports.
Most of our code is C++, some portable, some not (which we will either make
portable, or write OS X-specfic versions). A Cocoa front-end GUI will be
developed, more or less in parallel.
The question I have here is how to implement this application architecture
under Cocoa. I have read about Frameworks and Buldles, but I am not sure
which is more appropriate to use, and not clear that either of these really
suits our needs, and if so, how to go about using them. OK, that's about 5
questions -- hopefully, you get the idea. I also have other questions
pertaining to how best to go about making Project Builder projects for
these, but those are probably better addressed in the projectbuilder-user
list, right?
Note: I am primarily a Windows programmer (though I tend to stick to
low-level, more generic constructs), new to Cocoa, and don't have much in
the way of Mac chops yet. Please have pity on me -- redemption may yet be
possible.
thanks,
~Jeff