OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

xdi message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [xdi] Minutes: XDI TC Telecon Friday 2012-04-27


On 2012-04-28 17:28, Yuriy Zabrovarnyy wrote:
Hi Cam,

I would split topic on 2 main questions. Then we may come with better
advice.

1. are you going to store data as xdi statements (list of strings) or
as objects?
In Berkeley DB Java Edition you may use Direct Persistence Layer and
save POJO objects directly.

At this point, I'm agnostic. If BDB POJO is faster than SQLite (on Android), then that seems an obvious choice.


2. are you going to convert XDI Graph (statements) into some other
application specific objects (beans like User, Device ...)?

Possibly. The purpose of storing XDI (either statements or objects) on the phone is to meet several requirements:

1) Expose real-time event and historical data to KRL (also running on phone).
2) Perform light-weight statistical analysis on historical data
2) Display historical data and analysis results in a useful format for a user (i.e., time/event graphs)

We're doing this all on the phone because of bandwidth/connectivity/cost issues some of our users.

There is already written automatic convertor from/to xdi statements.
For conversion annotations are used. See oxModel
http://ox.gluu.org/doku.php?id=oxmodel:overview [66].

Example:

public class User {
    @Attribute (name = "name!")
    private String name;
}

Generated statement:
<subject>/name!/(data:,Some name)

Fantastic! This should really ease the processing of converting funf data to XDI statements.

Thanks, Yuriy!


Yuriy

 On Sat, Apr 28, 2012 at 10:07 PM, Michael Schwartz <mike@gluu.org
[67]> wrote:

Different Java model of XDI.

On Sat, 28 Apr 2012, Markus Sabadello wrote:

Hey Mike, what do you mean by "different XDI model", are you
referring to
the question of literal contexts?

Markus

On Sat, Apr 28, 2012 at 11:37 AM, Michael Schwartz <mike@gluu.org
[65]> wrote:

Cam,

oxServer currently has two implementations of the XDI graph
model: memory
and LDAP. If you want to use oxServer, you could implement
some/all of the
interfaces using BerkleyDB.

Markus has a different XDI model, so you should also look at
his and see
which better suits your requirement.

- Mike

------------------------------**---------------------

Michael Schwartz
Gluu
Founder / CEO
mike@gluu.org [61]
+1 646-810-8761 [62]

On Sat, 28 Apr 2012, Cameron Hunt wrote:

 Apparently the BerkleyDB for Android includes a key/value
API. It would

be interesting to see what changes might need to be made to
XDI2 to use
that.

Have you tried porting XDI2 to Android?

On 2012-04-28 13:35, Markus Sabadello wrote:

Hi Cam,

Yes in the XDI² library [17], the default persistence
mechanism is to
store XDI data in a BerkeleyDB..
This is also what I'm using for XDI on a FreedomBox, which
(like
phones) also has limited hardware.
 So it sounds like this might work for you..

Actually with the current XDI graph model, it's pretty easy
to store
XDI in any kind of key/value based store, so there might
even be more
lightweight options than BDB.

Markus

On Sat, Apr 28, 2012 at 8:43 AM, Cameron Hunt
<cam@bitworld.us [23] [18]>
wrote:

 Markus,

bitWorld is behind on a slide deck for our Personal Data
Analysis
project, but you can see some of the technology
components here:
http://www.bitworld.us/index.**php?page=pda
[10]<http://www.bitworld.us/index.php?page=pda [11]>[13].

Our current challenge is to test the persistence of
funf-collected
data as XDI graphs on the phone itself. I've heard a
rumor that you
might have XDI wrapper code that talks to BerkleyDB. If
so, this
would dramatically reduce the effort needed to evaluate
this
approach.

On 2012-04-28 03:29, Markus Sabadello wrote:

 Sorry I couldn't join the call, I was on the plane to

California..

Great to hear Bitworld is using FUNF, I have worked
with that
myself
as well and would love to learn more about what you're
doing..

Also looking forward to talking more about the test
tools and
OASIS
server at IIW..

Markus

On Sat, Apr 28, 2012 at 3:01 AM, Drummond Reed
<drummond.reed@xdi.org [9] [5]
[6]> wrote:

 Following are the minutes of the unofficial telecon
of the XDI

TC
at:

Date:  Friday, 27 April 2012 USA
Time:  9:00AM - 10:30AM Pacific Time (16:00-17:30
UTC)

ATTENDING

Cameron Hunt
Kari Lippert
Mike Schwartz
Drummond Reed

REGRETS

Joseph Boyle

THE ETHERPAD LINK FOR TODAY IS:
    http://xdi.idearpad.com/**62 [1]
<http://xdi.idearpad.com/62 [2]> [1]

[1]

1) WELCOME TO BITWORLD

Bitworld has joined OASIS as a non-profit member, and
Cameron
Hunt,
Kari Lippert, and Phil Windley will be participating
in the XDI
TC
under the Bitworld membership.

Cam explained that Bitworld is using FUNF from MIT,
and wants
to be
able to run it on mobile devices like Android. FUNF
uses SQL
Lite,
and thus Bitworld wants to look at writing XDI
statements
directly
into the SQL Lite database.

2) TEST TOOL

Mike gave a demo of the test tool developed by the
OpenXDI
Project.

 http://seed.gluu.org/**oxTestTool [3]
<http://seed.gluu.org/oxTestTool [4]>[2] [2]

More tests are coming next week to show the following
features:



 http://ox.gluu.org/doku.php?**id=oxserver:listoffeatures&s



[5]<http://ox.gluu.org/doku.php?id=oxserver:listoffeatures&s
[6]>[3]

[3][]=features

Mike suggests that we run the tests on the
OASIS-sponsored
server.
This coming week at Internet Identity Workshop Mike
and Markus
and
other TC members that are attending will be able to
discuss it.

3) XDI QUERY

Mike said he was still working on putting the
requirements in
priority order. This may be a subject we discuss at
IIW next
week.

4) MODELING DEVICE IDENTITY

Drummond shared a graph pattern for device identity
that
Bitworld
needs. This brought up a number of questions related
to device
identity, device ownership, and graph organization.

Cam mentioned that in his experience there are three
key
factors
involved with graph modelling:

* how to model so that persistence and searching is
optimized

* how to model so the presentation layer is optimized

* how to model so other automated processing (e.g.,

inferencing) is optimized

The goal is to minimize the model remapping between
persistence,
processing, and display.

Mike explained that the reason the trend in LDAP has
been
towards
"flat" is that you don't want developers to need to
know where
there
data is, but rather to make it easy to reference.

Drummond agreed that flat is better because that way
each
entity
can be as independent.

Mike then explained that the OpenXDI implementation
was less
concerned about keeping the graph flat because XDI
makes it
easier
to make extensive use of indexing.

With regard to Bitworld's design choices, Mike also
suggested
looking at the oxPlus design:
 
https://svn.gluu.info/**repository/openxdi/code/docs
[7]<https://svn.gluu.info/repository/openxdi/code/docs
[8]>[4]
[4]
specifically https://svn.gluu.
[24]**info/repository/openxdi/code/**






docs/oxPlus/seedOverview.ppt<https://svn.gluu.info/repository/openxdi/code/docs/oxPlus/seedOverview.ppt
[25]>

[6]

 [5]

Mike also said that the location of the link
contracts is
critical.

5) NEXT CALL

Even though Internet Identity Workshop is next week,
we will
still
hold the next call next week at the regular time. One
agenda
item
will be a summary of the XDI discussions at IIW.

Links:
------
[1] http://xdi.idearpad.com/62 [12] [7]
[2] http://seed.gluu.org/**oxTestTool
[13]<http://seed.gluu.org/oxTestTool [14]>[8]
[3]




http://ox.gluu.org/doku.php?**id=oxserver:listoffeatures&**amp;s



[15]<http://ox.gluu.org/doku.php?id=oxserver:listoffeatures&s
[16]>
[9]
[4]
https://svn.gluu.info/**repository/openxdi/code/docs
[17]<https://svn.gluu.info/repository/openxdi/code/docs
[18]>[10]
[5]
https://svn.gluu.info/**repository/openxdi/code/docs/**
[26]






oxPlus/seedOverview.ppt<https://svn.gluu.info/repository/php?id=oxserver:listoffeatures&s>
[4] https://svn.gluu.info/**repository/openxdi/code/docs
[30]<https://svn.gluu.info/repository/openxdi/code/docs
[31]>
[5] mailto:drummond.reed@xdi.org [32]
[6]

https://svn.gluu.info/**repository/openxdi/code/docs/**
[33]






oxPlus/seedOverview.ppt<https://svn.gluu.info/repository/openxdi/code/docs/oxPlus/seedOverview.ppt
[34]>
[7] http://xdi.idearpad.com/62 [35]
[8] http://seed.gluu.org/**oxTestTool [36]
<http://seed.gluu.org/oxTestTool [37]>
[9]


http://ox.gluu.org/doku.php?**id=oxserver:listoffeatures&**amp;s

[38]<http://ox.gluu.org/doku.php?id=oxserver:listoffeatures&s
[39]>
[10] https://svn.gluu.info/**repository/openxdi/code/docs
[40]<https://svn.gluu.info/repository/openxdi/code/docs
[41]>
[11]

https://svn.gluu.info/**repository/openxdi/code/docs/**
[42]






oxPlus/seedOverview.ppt<https://svn.gluu.info/repository/openxdi/code/docs/oxPlus/seedOverview.ppt
[43]>
[12] mailto:drummond.reed@xdi.org [44]
[13] http://www.bitworld.us/index.**php?page=pda
[45]<http://www.bitworld.us/index.php?page=pda [46]>
[14] http://108.160.154.15/tel:843.**654.4708
[47]<http://108.160.154.15/tel:843.654.4708 [48]>
[15] mailto:xdi-unsubscribe@lists. [49]**oasis-open.org
[50]<xdi-unsubscribe@lists.oasis-open.org [51]>
[16] mailto:xdi-help@lists.oasis- [52]**open.org
[53]<xdi-help@lists.oasis-open.org [54]>

[17] http://xdi2.projectdanube.org/ [55]
[18] mailto:cam@bitworld.us [56]

--
Cameron Hunt
Director, bitWorld
843.654.4708 [57]






------------------------------**------------------------------**---------
To unsubscribe, e-mail:
xdi-unsubscribe@lists.oasis-**open.org
[58]<xdi-unsubscribe@lists.oasis-open.org [59]>

For additional commands, e-mail:
xdi-help@lists.oasis-open.org [60]




---------------------------------------------------------------------
To unsubscribe, e-mail: xdi-unsubscribe@lists.oasis-open.org
[63]
For additional commands, e-mail: xdi-help@lists.oasis-open.org
[64]



Links:
------
[1] http://xdi.idearpad.com/**62
[2] http://xdi.idearpad.com/62
[3] http://seed.gluu.org/**oxTestTool
[4] http://seed.gluu.org/oxTestTool
[5] http://ox.gluu.org/doku.php?**id=oxserver:listoffeatures&amp;s
[6] http://ox.gluu.org/doku.php?id=oxserver:listoffeatures&amp;s
[7] https://svn.gluu.info/**repository/openxdi/code/docs
[8] https://svn.gluu.info/repository/openxdi/code/docs
[9] mailto:drummond.reed@xdi.org
[10] http://www.bitworld.us/index.**php?page=pda
[11] http://www.bitworld.us/index.php?page=pda
[12] http://xdi.idearpad.com/62
[13] http://seed.gluu.org/**oxTestTool
[14] http://seed.gluu.org/oxTestTool
[15] http://ox.gluu.org/doku.php?**id=oxserver:listoffeatures&amp;**amp;s
[16] http://ox.gluu.org/doku.php?id=oxserver:listoffeatures&amp;s
[17] https://svn.gluu.info/**repository/openxdi/code/docs
[18] https://svn.gluu.info/repository/openxdi/code/docs
[19] mailto:drummond.reed@xdi.org
[20] http://108.160.154.15/tel:843.654.4708
[21] http://seed.gluu.org/oxTestTool
[22] http://ox.gluu.org/doku.php?**id=oxserver:listoffeatures&amp;**amp;s
[23] mailto:cam@bitworld.us
[24] https://svn.gluu.
[25]

https://svn.gluu.info/repository/openxdi/code/docs/oxPlus/seedOverview.ppt
[26] https://svn.gluu.info/**repository/openxdi/code/docs/**
[27] http://open.org
[28] mailto:xdi-unsubscribe@lists.oasis-open.org
[29] mailto:xdi-help@lists.oasis-open.org
[30] https://svn.gluu.info/**repository/openxdi/code/docs
[31] https://svn.gluu.info/repository/openxdi/code/docs
[32] mailto:drummond.reed@xdi.org
[33] https://svn.gluu.info/**repository/openxdi/code/docs/**
[34]

https://svn.gluu.info/repository/openxdi/code/docs/oxPlus/seedOverview.ppt
[35] http://xdi.idearpad.com/62
[36] http://seed.gluu.org/**oxTestTool
[37] http://seed.gluu.org/oxTestTool
[38] http://ox.gluu.org/doku.php?**id=oxserver:listoffeatures&amp;**amp;s
[39] http://ox.gluu.org/doku.php?id=oxserver:listoffeatures&amp;s
[40] https://svn.gluu.info/**repository/openxdi/code/docs
[41] https://svn.gluu.info/repository/openxdi/code/docs
[42] https://svn.gluu.info/**repository/openxdi/code/docs/**
[43]

https://svn.gluu.info/repository/openxdi/code/docs/oxPlus/seedOverview.ppt
[44] mailto:drummond.reed@xdi.org
[45] http://www.bitworld.us/index.**php?page=pda
[46] http://www.bitworld.us/index.php?page=pda
[47] http://108.160.154.15/tel:843.**654.4708
[48] http://108.160.154.15/tel:843.654.4708
[49] mailto:xdi-unsubscribe@lists.
[50] http://oasis-open.org
[51] mailto:xdi-unsubscribe@lists.oasis-open.org
[52] mailto:xdi-help@lists.oasis-
[53] http://open.org
[54] mailto:xdi-help@lists.oasis-open.org
[55] http://xdi2.projectdanube.org/
[56] mailto:cam@bitworld.us
[57] http://108.160.154.15/tel:843.654.4708
[58] http://open.org
[59] mailto:xdi-unsubscribe@lists.oasis-open.org
[60] mailto:xdi-help@lists.oasis-open.org
[61] mailto:mike@gluu.org
[62] http://108.160.154.15/tel:%2B1%20646-810-8761
[63] mailto:xdi-unsubscribe@lists.oasis-open.org
[64] mailto:xdi-help@lists.oasis-open.org
[65] mailto:mike@gluu.org
[66] http://ox.gluu.org/doku.php?id=oxmodel:overview
[67] mailto:mike@gluu.org

--
Cameron Hunt
Director, bitWorld
843.654.4708


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]