(32 Kb)
Updated: 10-30-08 05:13 PM
File Info
Updated:10-30-08 05:13 PM


Version: r995
by: Shadowed [More]

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.

To do
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?
For users,
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.

For authors,
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.


Optional Files (0)

Post A Reply Comment Options
Unread 01-31-09, 09:58 AM  
A Deviate Faerie Dragon
Prismatech's Avatar

Forum posts: 10
File comments: 43
Uploads: 0
what is with this projekt itīs dead or a live.
Report comment to moderator  
Reply With Quote
Unread 10-09-08, 05:11 PM  
A Fallenroot Satyr
_Max_Cavalera_'s Avatar

Forum posts: 28
File comments: 28
Uploads: 0
by the description, it seems very cool... have to try it out one of these days
Report comment to moderator  
Reply With Quote
Post A Reply

Category Jump:

Support AddOn Development!

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.