|Go to Page...|
Bazaar is a work in progress for addon authors who want an easy frame work for allowing users to share configurations without having to deal with the hassle of changing data into a sharable format and deal with all the communications code.
All you need to do in order to setup an addon with Bazaar is register the categories of configuration to share (So you don't have to send ALL the data if they only care about a small section) as well as one function for moving all the data into a single table and another one for unpacking that table into the configuration DB.
For example to make Afflicted work with Bazaar it took me about 70 lines of extra code, you shouldn't need that much more and usually less depending on how complex the configuration is.
Polish the interface a bit more, specifically the progress panel.
General code polishing
Add in the ability to export configurations and import them so you can exchange them out of game.
Hows it work?
You can ping other players to see if they have any data for addons, you'll also automatically be given a list of guild members who have data for an addon this is displayed in the "# users" text.
Beyond that syncing is pretty straight forward.
Addons register a send handler and a receive handler as well as the different categories of configuration, once the user has decided the categories of configuration they want the send handler is called and we serialize the data using AceSerializer-3.0 then we send it off using AceComm-3.0, once we get all of the data we deserialize it and send it to the receive handler.
Technically your send handler can return whatever you want as lonng as AceSerializer-3.0 accepts it, but it's far easier to send it as a table.
You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.