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

Data and Persistence API - please explain #164

Closed
Inscrutable opened this issue Apr 22, 2015 · 6 comments
Closed

Data and Persistence API - please explain #164

Inscrutable opened this issue Apr 22, 2015 · 6 comments
Milestone

Comments

@Inscrutable
Copy link
Member

The new Data API supersedes some of the older persistence API. USe of the new features needs to be explained on the docs by someone who knows how it all works. I haven't the foggiest idea.

@Inscrutable Inscrutable added this to the Finish /plugin Pages milestone Apr 22, 2015
@gabizou
Copy link
Member

gabizou commented Apr 22, 2015

It works by FLARD magic.

@ryantheleach
Copy link
Contributor

  • Explain how to get builders.
  • Clone / get data from an existing DataHolder.
  • Get default values for a DataManipulator.
  • Explain optionals, and under what circumstances a DataManipulator may not be available
  • Explain Properties, types, and how they differ from DataManipulators.
  • How to translate from one Type to another(possible?)
  • Serializing. To be specific, going from configs, to NBT, to SQL / custom type to JSON?.
  • Creating your own Properties/DataManipulators/Types attach custom data, make it serializable, how to instantiate it back from it's serialized form.
  • Create your own serializer / dataholder. Allow people to attach data to your own objects, or serialize out to a network connection or something custom. Maybe use a cross server mail plugin, or auction house as an example, or saving player inventories out to an external service.
  • How DataManipulators merge with DataHolders, and how DataPriority effects that.

@boformer
Copy link
Contributor

boformer commented May 5, 2015

This is really important. This also applies to me:

I haven't the foggiest idea.

@ghost ghost mentioned this issue May 20, 2015
10 tasks
@ghost
Copy link

ghost commented May 30, 2015

SpongePowered/SpongeAPI#705 will definitly have a great impact on his once accepted.

@ghost ghost unassigned gabizou May 30, 2015
@Inscrutable Inscrutable assigned ghost May 30, 2015
@Inscrutable
Copy link
Member Author

API#705 has now become the great literary work known as SpongePowered/SpongeAPI#685 which might be adapted for the Docs. Here is my humble interpretation:
"something something Data API,
something else the end kthxbai"

@ghost
Copy link

ghost commented Sep 23, 2015

I'll close this in favor of #335

@ghost ghost closed this as completed Sep 23, 2015
This issue was closed.
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

4 participants