Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using intergrated models #51

Open
lmichel opened this issue May 5, 2021 · 2 comments
Open

Using intergrated models #51

lmichel opened this issue May 5, 2021 · 2 comments

Comments

@lmichel
Copy link
Collaborator

lmichel commented May 5, 2021

I open this thread because several times in the discussion I mentioned SAMP as an interesting use-case for using integrated models and I never took room enough to tell more on this.

Let's imagine the Samp emitter showing up a VOTable where the user spots one interesting source (table row).
So far and within the limits of my SAMP skill, if that user want's to share this source (not only the position but all parameters) with other applications, he/she has to generate a single-row VOTable and operate a table.load with the hope that the recipient will be able to parse it (*)

If that Votable is mapped on MANGO, the client will be able to easily build a MANGO (source) instance serialized in a convenient way (e.g. JSON - I like it - MType=mango.load.json) that can be interpreted very easily by e.g. a web application.
This will work whatever the complexity of the source data (grouped columns, associated detection ...) thanks to the use of an integrated model. This example can be extended to other models.

This is one of the cases for which I promote the use of integrated models. This is little aside of the main topic (VOtable annotation) but anticipating new realistic usages must be part of the design.

(*) All VO client are able to parse VOTables, but Samp can be used in other contexts, (WEB applications in mind).

@msdemlei
Copy link
Contributor

msdemlei commented May 7, 2021 via email

@lmichel
Copy link
Collaborator Author

lmichel commented May 7, 2021

JSON is major transport format and checking that my model instances can be serialized in JSON is just common sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants