[gmpi] Re: low level API - Abstract Factory summary

  • From: Steve Harris <S.W.Harris@xxxxxxxxxxxxxxx>
  • To: gmpi@xxxxxxxxxxxxx
  • Date: Thu, 10 Feb 2005 10:34:08 +0000

On Thu, Feb 10, 2005 at 09:50:41 +0000, Angus F. Hewlett wrote:
> URIs as plaintext make it much easier for everyone to spot problems. 
> Nothing can stop problems from happening in the first place, but if even 
> the user can open up somebody's plug and see 
> "GMPI://testplug.com/foobar" in there, well, that ought to shame the 
> developer in to doing something ;-)

The general soltuion to this problem in URI land is to create examples in
the example.com/.org/.net domain (which is guanrateed to never exist), and
shout like hell if you see an example.com URI at use in the wild, ie. the
validator would fail.

Theres a lot you can do when you have an infinite address space.

- Steve

----------------------------------------------------------------------
Generalized Music Plugin Interface (GMPI) public discussion list
Participation in this list is contingent upon your abiding by the
following rules:  Please stay on topic.  You are responsible for your own
words.  Please respect your fellow subscribers.  Please do not
redistribute anyone else's words without their permission.

Archive: //www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: