Brad Fitzpatrick (brad) wrote,
Brad Fitzpatrick
brad

DJabberd Status: Rosters

Artur and I worked on rosters tonight. Nice, clean hooks and abstractions now....

Data structures:

DJabberd::Roster
DJabberd::RosterItem

Plugins:

DJabberd::RosterStorage -- abstract base class
DJabberd::RosterStorage::SQLite -- functional
DJabberd::RosterStorage::Dummy -- example
DJabberd::RosterStorage::LiveJournal -- LJ integration

All in cvs. Check it out.

Lot more to do yet:
-- finish Roster API (adding/removing items)
-- do roster pushes to all connected clients (easily locally, more fun with a cluster)
-- presence (big one, but roster pushes will get it a lot of the way there)
-- easy way for plugin authors to note certain functions as blocking and run them in child thread that won't stall the event loop (Jonathan Steinert's working on some Gearman modifications to make this transparent and easy, whether it's in a local process or anywhere else on the network...)
-- finish LJ integration
Tags: djabberd, perl, tech
Subscribe
  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 8 comments