storage branch - facade ?
Robert Collins
robertc at robertcollins.net
Mon Nov 21 03:52:08 GMT 2005
On Sun, 2005-11-20 at 22:31 -0500, Aaron Bentley wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Robert Collins wrote:
> | Aaron,
> | what do you think of having Branch be a Facade? That would reduce the
> | api churn from the storage branch while still getting the required
> | flexability and refactoring. It could also be nicer for Foreign
> | branches?
>
> I've read about that pattern, but I've never seen it in action, so it's
> pretty vague to me. Are you suggesting, basically, that Branch would
> hide the supporting classes, while still providing all their functionality?
Right. So rather than clients of branch doing 'branch.storage.FOO', they
would call 'branch.FOO', and branch would delegate to storage.
Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051121/e3c23b72/attachment.pgp
More information about the bazaar
mailing list