Fwd: [Framework-Team] Re: beta1 release timing
apm13 at columbia.edu
Thu Mar 8 23:16:14 UTC 2007
On 3/8/07, whit <d.w.morriss at gmail.com> wrote:
> > - Consider some kind of compitability alias mechanism, so that when
> > people keep using getToolByName(context, 'portal_types') we translate
> > that to getUtility(ITypesTool), for as long as we need to (but still
> > warning).
> +1... I mean chrissakes.. getToolByName was supposed to be future
> proofing for this day...
Indeed and if the choice had been made to use named utilities
getToolByName could just be a shorthand for
getUtility(IBaseToolInterface, name). As it is, it could still be
made an alias for getToolByInterfaceName, though that's a little
> > Removing in 3.5 sounds completely unrealistic to me. If we find that
> > by 4.0 most third party products that count (i.e. would be otherwise
> > compatible) have been fixed, we can consider removal.
> +100.... and someone should blog or write a tutorial about these changes
> and how to utilize them.
More information about the Framework-Team