Re: Why use frameworks?
Re: Why use frameworks?
- Subject: Re: Why use frameworks?
- From: Jeffrey Oleander <email@hidden>
- Date: Fri, 20 Jul 2007 14:14:26 -0700 (PDT)
> Randall Meadows <email@hidden> wrote:
> Now that I finally have my project building with its 10
> dependent frameworks behaving correctly, and I think
> I actually understand what's going on and why, I have
> a question:
> Why am I putting myself through all this agony (granted,
> most of the agony is passed, but still) with the frame-
> works? This project actually has 2 parent application
> projects that both depend on most of these frameworks,
> but the project files (I inherited them, I didn't create
> them) actually embeds them into each built
> applications' bundles, rather than installing the
> frameworks into some common location (I don't want
> to ship an installer anyway, I want the "installation"
> to be drag-and-drop). The two applications
> work together as a suite, but in practice, the two
> applications will be running on different machines,
> so installing frameworks in a common location is
> impossible anyway...
The shift from structured programming and libraries to OOD
and frameworks was supposed to increase reusability,
encapsulate code and data, decrease interdependencies, and
thus make programs less fragile.
It looks like we've still got quite a ways to go in that
direction.
Your case and some of the other discussion of dependencies
reminds me of a loader that allowed you to build a sort of
tree diagram of those dependencies that the loader would
follow. The aim was to help manage the memory foot-print
(and those were simpler times), but it certainly was a
handy way to visualize what was going on. Since it was
compatible with the older overlay loaders I got into the
habit of using the dependency trees even when the older
loader was going to be used just as a way to better
understand the program design from that angle.
Keeping the frameworks in the bundle seems reasonable in
this case, but be ware of the frameworks' dependencies
biting again.
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden