As announced recently, I am about to do some changes to the internals of SMW. 
The API of most SMW classes will be stable and almost all extension code is 
expected to work without changes. This email is to inform developers of SMW-
based code about some changes that might be relevant.

In particular, this will affect the way in which multi-valued properties are 
declared and in which values for such properties are represented internally. 
Currently, properties with multiple values are described by SMWTypesValue 
objects that hold the list of subtypes. The ID of these types is "__nry". 
Values for such properties are then represented by SMWNAryValue objects, and 
queries for such values use SMWValueList objects as descriptions.

Your extension could be affected by the changes if your code contains one of 
the following strings: "__nry", "SMWNAryValue", "SMWValueList", "isUnary".

I can add compatibility code that allows code to use (some of) the old 
functions to some extent. So please let me know if your code uses any of the 
above, ideally with a pointer to the code, so that I can see what is needed 
there. Most extensions will not be using any of the above.

Cheers,

Markus

P.S. As I mentioned, I also do significant changes to the storage code. 
However, this affects neither the API nor the DB layout, so it should not 
affect extensions.

-- 
Markus Krötzsch  <mar...@semantic-mediawiki.org>
* Personal page: http://korrekt.org
* Semantic MediaWiki: http://semantic-mediawiki.org
* Semantic Web textbook: http://semantic-web-book.org
--

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to