[Opensim-dev] IRegisterInterface for extending scene entities

Oren Hurvitz orenh at kitely.com
Fri Jan 4 05:48:17 UTC 2013


For namespacing we can take a pointer from MIME types:
1. Keys used by core OpenSim will have no prefix, e.g. "media" or
"prop.attr".
2. Keys created outside core OpenSim will use the "vnd." prefix, followed by
the name of the creating entity. For example: "vnd.acme.myprop".

We should stick to storing the data in a single field. Database access is
much slower than in-memory string manipulation, so for any reasonable amount
of data it would be faster to read and write it as part of the existing
"prims" table rather than adding additional SQL operations on another table
("primattr"?). And of course, a separate table would be much more
complicated to handle and I do like the simple life :)

I did consider a different change: replacing OSD with JSON, which I like
because of its simplicity and ubiquity. But I decided that it wouldn't make
much of a difference; certainly not worth rewriting working code.

Oren



--
View this message in context: http://opensim-dev.2196679.n2.nabble.com/IRegisterInterface-for-extending-scene-entities-tp7578406p7578423.html
Sent from the opensim-dev mailing list archive at Nabble.com.



More information about the Opensim-dev mailing list