Use the include_path to your advantage.  Keep any classes you customize
in a parallel directory structure, and put the top of that directory in
your include_path ahead of the stock Zend Framework library directory.
Then any files of the same name in your custom directory will be used
instead of the unmodified files in the ZF library.

For example, here's what I would do:
1. Install ZF in /opt/Zend/Framework
2. Create my own library in /usr/local/lib/framework
3. Edit php.ini (or write code in your boostrap script) to set the
include_path:
   include_path=/usr/local/lib/framework:/opt/Zend/Framework/library

Next time ZF has a new release, install it in /opt/Zend/Framework like
the original, and keep your include_path settings, so that your
customized files still take priority.

Regards,
Bill Karwin

> -----Original Message-----
> From: Dan Rossi [mailto:[EMAIL PROTECTED] 
> Sent: Friday, August 03, 2007 9:11 AM
> To: Thomas Weidner
> Cc: [email protected]
> Subject: Re: [fw-general] Zend Framework 1.0.1 released
> 
> Not really only used it for a week and had to hack up view 
> renderer classes for the template engine I use which sits in 
> the Views directory, so would have to copy it over all the time.
> 
> Thomas Weidner wrote:
> > Hy Dan,
> >
> > actually you have to download the new release and just copy it over 
> > the old one.
> > That's all...
> >
> > Easy isn't it ? ;-)
> >
> > Greetings
> > Thomas
> > I18N Team Leader
> >
> > ----- Original Message ----- From: "Dan Rossi" 
> <[EMAIL PROTECTED]>
> > To: "Andi Gutmans" <[EMAIL PROTECTED]>
> > Cc: "Darby Felton" <[EMAIL PROTECTED]>; <[email protected]>
> > Sent: Tuesday, July 31, 2007 6:39 AM
> > Subject: Re: [fw-general] Zend Framework 1.0.1 released
> >
> >
> >> Hi, im very new here, is there a PEAR like installer to run the 
> >> update or does it have to be overwritten all the time ?
> >>
> >> Andi Gutmans wrote:
> >>> Thanks Darby and all the rest for getting this out the door!
> >>>
> >>>> -----Original Message-----
> >>>> From: Darby Felton [mailto:[EMAIL PROTECTED] Sent: Monday, July 30,
> >>>> 2007 1:14 PM
> >>>> To: [EMAIL PROTECTED]; [email protected]
> >>>> Subject: [fw-general] Zend Framework 1.0.1 released
> >>>>
> >>>> Hi everyone,
> >>>>
> >>>> It is my pleasure to announce the release of Zend 
> Framework 1.0.1, 
> >>>> available now at http://framework.zend.com.
> >>>>
> >>>> This mini release includes fixes for 33 issues since the 1.0.0 
> >>>> release only a month ago. These issues are generally bug 
> fixes and 
> >>>> improvements, though some feature additions have been 
> included with 
> >>>> this release.
> >>>>
> >>>> This release includes enforcement of our new policy of only 
> >>>> publishing documentation translations that are at least 50% 
> >>>> complete. At this time the published translations are Japanese, 
> >>>> German, French, and Russian.
> >>>>
> >>>> Also noteworthy for the 1.0.1 release are many improvements for 
> >>>> Zend_Gdata and numerous bug fixes for Zend_Db.
> >>>>
> >>>> More significant enhancements and feature additions are 
> scheduled 
> >>>> for the upcoming minor release, 1.1.0, which should be in early 
> >>>> September.
> >>>>
> >>>> If you are interested in proposed Zend Framework 
> improvements and 
> >>>> new Zend Framework components, please check out the 
> proposals page:
> >>>>
> >>>> http://framework.zend.com/wiki/x/Lw
> >>>>
> >>>> Many thanks to all the Zend Framework contributors who 
> make these 
> >>>> releases possible!
> >>>>
> >>>> Best regards,
> >>>> Darby
> >>>>
> >>>>
> >>>
> >>>
> >
> 
> 

Reply via email to