http://www.perlmonks.org?node_id=998014


in reply to (OT) Does anyone know of a common object repository?

Let's say you had such a repository. And in it you have a bunch of objects that got put there at some point.

Amongst them, there are say 3 lamps with the attributes you listed. Two are identical, and the third is the same as the first two, except for its color.

How will your program tell the repository which one (instance) of the lamp that it wants to deal with?


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

RIP Neil Armstrong

  • Comment on Re: (OT) Does anyone know of a common object repository?

Replies are listed 'Best First'.
Re^2: (OT) Does anyone know of a common object repository?
by bcarroll (Pilgrim) on Oct 09, 2012 at 14:59 UTC
    I'm not looking to store any data in the repository, just get a list of standard/common attributes. Then in my program I will decide which attributes I want to use, and possibly define others as I need them (these won't be updated in the repository), and store the object definitions locally.

      OIC. In that case, you may want to do a search for XML Schema repositories. You might find one or more of the schemas at sites like this fit your requirements.

      In the big picture though, such schemas are either wholly inadequate because they do not cover everything you need; or wholly unmanageable because they do.

      Whilst they might serve you as a starting point, as soon as you reject one of their included attributes; or add a new one of your own, you've effectively made it up as you've gone anyway and any probative value that using it as a starting point might have had is lost.


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.

      RIP Neil Armstrong