Moose entities serialization in XML or Json

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Moose entities serialization in XML or Json

Vincent Blondeau
Hi,

For exporting Moose on the web, we must serialize the Moose's entities in
JSON or XML.
Is a such method already implemented on a FAMIX entity ?

Thanks,

Vincent Blondeau

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Moose entities serialization in XML or Json

Ben Coman
Vincent BLONDEAU wrote:
Hi,

For exporting Moose on the web, we must serialize the Moose's entities in
JSON or XML. 
Is a such method already implemented on a FAMIX entity ?

Thanks, 

Vincent Blondeau

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

  
How about serializing to OWL [1] [2] ?  Perhaps with SOUL [3] "A strong candidate for a Smalltalk RDF/OWL inference engine is the Smalltalk Open Unification Language (SOUL)" which apparently works with Pharo [4].  "SOUL creator is Roel Wuyts. He is also creator of RoelTyper "

Also btw, I happened across "Software Evolution Ontologies" [5] that
although I only skimmed it, looked like it might be of general of interest to Moose team.

cheers -ben

[1] http://dior.ics.muni.cz/~makub/owl/
[2] http://www.w3.org/TR/owl2-overview/
[3] http://billbreitmayer.com/static/drupal/node/115.html
[4] http://soft.vub.ac.be/SOUL/download-soul/soul-on-pharo/
[5] http://www.se-on.org/



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Moose entities serialization in XML or Json

Tudor Girba-2
In reply to this post by Vincent Blondeau
No. But please do not use XML. For JSON, please use NeoJSON:
https://github.com/svenvc/docs/blob/master/neo/neo-json-paper.md

Also, it should be done at the level of Fame as an alternative to MSE.

Cheers,
Doru


On May 28, 2013, at 2:54 PM, Vincent BLONDEAU <[hidden email]> wrote:

> Hi,
>
> For exporting Moose on the web, we must serialize the Moose's entities in
> JSON or XML.
> Is a such method already implemented on a FAMIX entity ?
>
> Thanks,
>
> Vincent Blondeau
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
www.tudorgirba.com

"Not knowing how to do something is not an argument for how it cannot be done."


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Moose entities serialization in XML or Json

stephane ducasse
In reply to this post by Vincent Blondeau
For JSON not that I know.
Now, what we should do is to use the fact that a famix entity is described by fame objects to
generate automatically some JSON code.

You should look at the way mse is generated (I hope it is based on fame).

Stef

> Hi,
>
> For exporting Moose on the web, we must serialize the Moose's entities in
> JSON or XML.
> Is a such method already implemented on a FAMIX entity ?
>
> Thanks,
>
> Vincent Blondeau
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Moose entities serialization in XML or Json

stephane ducasse
In reply to this post by Ben Coman
We should not really on prolog to serialize json :)

On May 28, 2013, at 5:44 PM, Ben Coman <[hidden email]> wrote:

Vincent BLONDEAU wrote:
Hi,

For exporting Moose on the web, we must serialize the Moose's entities in
JSON or XML. 
Is a such method already implemented on a FAMIX entity ?

Thanks, 

Vincent Blondeau

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

  
How about serializing to OWL [1] [2] ?  Perhaps with SOUL [3] "A strong candidate for a Smalltalk RDF/OWL inference engine is the Smalltalk Open Unification Language (SOUL)" which apparently works with Pharo [4].  "SOUL creator is Roel Wuyts. He is also creator of RoelTyper "

Also btw, I happened across "Software Evolution Ontologies" [5] that
although I only skimmed it, looked like it might be of general of interest to Moose team.

cheers -ben

[1] http://dior.ics.muni.cz/~makub/owl/
[2] http://www.w3.org/TR/owl2-overview/
[3] http://billbreitmayer.com/static/drupal/node/115.html
[4] http://soft.vub.ac.be/SOUL/download-soul/soul-on-pharo/
[5] http://www.se-on.org/


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Moose entities serialization in XML or Json

stephane ducasse
In reply to this post by Tudor Girba-2

On May 28, 2013, at 7:00 PM, Tudor Girba <[hidden email]> wrote:

> No. But please do not use XML.

for XML we will have to check WDSL support because just sending xml is not nice.

> For JSON, please use NeoJSON:
> https://github.com/svenvc/docs/blob/master/neo/neo-json-paper.md

yes

>
> Also, it should be done at the level of Fame as an alternative to MSE.

yes :)


>
> Cheers,
> Doru
>
>
> On May 28, 2013, at 2:54 PM, Vincent BLONDEAU <[hidden email]> wrote:
>
>> Hi,
>>
>> For exporting Moose on the web, we must serialize the Moose's entities in
>> JSON or XML.
>> Is a such method already implemented on a FAMIX entity ?
>>
>> Thanks,
>>
>> Vincent Blondeau
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> www.tudorgirba.com
>
> "Not knowing how to do something is not an argument for how it cannot be done."
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev