On Wed, 8 Aug 2007, Kore Nordmann wrote:

> On Wed, 2007-08-08 at 14:00 +0200, Derick Rethans wrote:
> > On Tue, 7 Aug 2007, Kore Nordmann wrote:
> > > 2) Selection of best transport handler for requesting client.
> > 
> > In your example code I see that the user has to register the transports 
> > - just like with the Document design I don't think users should 
> > generally be bothered with this. So for the default supported clients we 
> > should pre-register them. As for the canParse() bit - I think that would 
> > be better then just a regular expression. The Feed (hehe) component does 
> > do something similar. 
> 
> As clarified in my follow up mail, a standard set of transport handlers
> is always registerd by default - you would just need to do this for
> custom handlers.
> 
> I see a bit of a difference compared with feed, because I don't think
> you ever need more then the client name to decide which handler to use -
> and this spares us the loading of several classes on each request.

Right, that makes sense. 

regards,
Derick
-- 
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components

Reply via email to