This has been the object of much debate over the years on this forum. You
can create a corporate layer for changes or you can make changes in the PFE.
I choose to make changes to the PFE because it reduces the overhead of
inheritance. My fixes to the PFC code (which are very few in number) also
reside in the PFE and are marked well so a global search can find them. I
can then search on my marks, and determine whether the fix was made by
Sybase in the PFC layer and I remove the PFE.
-D
----- Original Message -----
From: hassan Boutchiche <[EMAIL PROTECTED]>
To: Daniel Coppersmith <[EMAIL PROTECTED]>
Sent: Friday, August 20, 1999 11:55 AM
Subject: RE: PFCSIG PFC Architecture
> Sorry Daniel, you do not change PFE layer, you keep this layer only for
bug
> fixes. To do what you are saying you introduce a new layer between your
the
> PFC and PFE (using PFC utility to do so). Then you will put the code in
the
> new layer. This way you will upgrade PFC with no modification to your PFE
> hoping bugs are fixed in new release. However if few bugs are not fixed
in
> the new release you can easily put the code back into PFE.
> let say you give CRP as your corporate layer prefix, u_dw will inherit
from
> crp_u_dw and crp_u_dw inherit from pfc_u_dw. This way you own crp layer
and
> you have the freedom to manage it based on your business needs without
> interfering with Sybase code maintenance.
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> > Daniel Coppersmith
> > Sent: Friday, August 20, 1999 8:36 AM
> > To: Bruce Nordstrand; PFCSIG
> > Subject: Re: PFCSIG PFC Architecture
> >
> >
> > By refering to the extention layer, the PFC allows you to easily alter
the
> > functionality of the entire library by changing only 1 object. If the
PFC
> > referenced pfc_u_dw directly, then if you wanted to change the way a
> > datawindow functioned everywhere, you would need to override every event
> > that referenced pfc_u_dw in the PFE layer and basically recode it. This
> > way, you make a simple change to the u_dw object, and every object would
> > pick up the change.
> >
> > It's a good architecure. I think once you use it and become comfortable
> > with it, you'll see that it was implemented quite nicely. If you are
> > interested, I could forward you some documents on it (one was written by
> > Bill Green and I forget who wrote the other).
> >
> > D
> >
> > ----- Original Message -----
> > From: Bruce Nordstrand <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> > Sent: Friday, August 20, 1999 2:40 AM
> > Subject: PFCSIG PFC Architecture
> >
> >
> > > Hi All
> > >
> > > This is dangerous as George Haines' mail will send out a zillion
> > > messages (PBPFC) but here goes....
> > >
> > > Does anyone have any comments/can throw any light on the reasoning
> > > behind the PFC architecture. I find it strange (and annoying) that
the
> > > main pfc libraries refer to objects in the pfe libraries, thereby
> > > forcing the use to the extension layer. What really irks me is that
> > > PS/Sybase themselves don't use this architecture! - just look at some
of
> > > the utilities they supply (APU etc). They have a pfc layer equivilent
> > > to the pfe layer and an app layer.
> > >
> > > I thought class librarie/frameworks were supposed to be layered in
such
> > > a way that you could stick bits inbetween or leave out all together if
> > > you wanted too without having to resort to Extender Utilities.
> > >
> > > I'll be interested in any comments you have
> > >
> > > Regards
> > >
+-----------------------------------------------------------------------
> > > ----------------------------------+
> > > Bruce Nordstrand
> > >
> > > KSL Consulting Pty Ltd
> > > P.O. Box 4852, North Rocks, NSW 2151, Australia
> > >
> > > Phone: +61 2 9873-6256 Fax: +61 2 9873-6216
> > > Email: [EMAIL PROTECTED] Web: http://www.ksl.com.au
> > >
+-----------------------------------------------------------------------
> > > ----------------------------------+
> > > PCDocs/Fulcrum <http://www.pcdocs.com/> Alliance Network
> > > Member
> > >
> > >
> > >
> > > > [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE
> > COMMANDS,
> > ADDRESS
> > > > A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE: help
> > pfcsig
> > > > SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]
> > >
> >
> > > [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE
> > COMMANDS, ADDRESS
> > > A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE:
> > help pfcsig
> > > SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]
> >
>
>
> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE: help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]