Re: RDFa DOM API (Fully merged)

On Wed, 19 May 2010 00:08:28 -0400
Manu Sporny <msporny@digitalbazaar.com> wrote:

> http://www.w3.org/2010/02/rdfa/sources/rdfa-dom-api/

I really don't like some of the method names. In particular, the
document.getObjectsByX names are galling given that their function is
to get groups of statements sharing a common *subject* (not object).

For anyone just starting out with RDF and RDFa, who has just grasped
the notion of subject, predicate and object, the following method name
will make their head asplode...

	document.getObjectsBySubject

How about renaming them getItemsByX? Or is that too close to
Microdata's API.

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>

Received on Wednesday, 19 May 2010 12:56:26 UTC