w3c-social / social-interest

W3C Social IG tracker
https://www.w3.org/wiki/Socialig
4 stars 0 forks source link

Gather data models from existing federated platforms #8

Open elf-pavlik opened 9 years ago

elf-pavlik commented 9 years ago

Preferably schema definitions from code bases and UML diagrams

elf-pavlik commented 9 years ago

@annando @jaywink, could you help us with collecting detailed information about data modeling your code bases currently use? @skddc @silverbucket let's discuss during IWC Düsseldorf status of https://github.com/elf-pavlik/remotestorage-jsonld-contexts

annando commented 9 years ago

I don't understand. That can either be a language problem or is based upon the fact that I'm a programmer who never look at any theoretical stuff.

elf-pavlik commented 9 years ago

@annando Friendica uses some database, I guess SQL or some document based NoSQL. We would find it useful in our vocabulary work to understand how you currently model your data. Link to schema definition somewhere in your code base could help with that, even better additional UML diagram explaining data types and properties. Something similar to one present in Hydra Core Hydra Core

annando commented 9 years ago

Friendica uses SQL. Here you can see our database structure: https://github.com/friendica/friendica/blob/master/database.sql

Problem is that we don't have any documentation about the relations between the tables. Additionally there is plenty room for improvements to the structure.

jaywink commented 9 years ago

Here is the diaspora schema: https://github.com/diaspora/diaspora/blob/develop/db/schema.rb

I could try rip it out into a pic if I can find a tool to do that, if that helps :P

elf-pavlik commented 9 years ago

thank you @annando & @jaywink :exclamation:

raucao commented 9 years ago

@skddc @silverbucket let's discuss during IWC Düsseldorf status of https://github.com/elf-pavlik/remotestorage-jsonld-contexts

Sure, looking forward to it!

paultranvan commented 9 years ago

@elf-pavlik Cozy uses CouchDB as a document-based NoSQL database. Basically, a document is composed of an id, a revision (both handled by CouchDB) ,a doctype (eg agenda, file, photo...), and some key-value pairs. The apps developers can create their own data models by defining a new doctype or just use an existing one. There is some documentation here : http://cozy.io/en/hack/getting-started/architecture-overview.html

elf-pavlik commented 9 years ago

@Gara64 we need more those scope specific data models e.g. iCal, vCard etc.