Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Julian Cantillo
Julian Cantillo

Posted on • Originally published atcantillo.dev on

     

W3c Activitypub Protocol

ActivityPub protocol

The protocol describes a decentralized "social network"; it relies heavily on JSON+LD schemes to describeactivities performed byactors. The protocol comprises a set of interfaces forserver-to-server andclient-to-server connections. You can find more information in theW3C ActivityPub page

How does it works?

In the following diagram, you can see Alice and Bob interacting with the AcitityPub protocol. Alice wants to post something that could be a Tweet-like message, a video, or a note; Bob should be able to read it.

ActivityPub sequence diagram

A service discovery protocol is the base of ActivityPub. The representation of all actors, Alice and Bob, and the messages have URLs in the attributes pointing to the counterpart server. The service discovery definition uses JSON+LD as the default format.

Those URLs tell where a server or a client must fulfill an activity such as Publish or Like. In the previous example, Alice wants to publish a post. She already knows the Outbox URL to create a Post; in this case, the action is "Create."

My take on this proposal

I used to be a PropTech entrepreneur. I implemented the Real Estate Transaction Standards (RETS) for the web application. The Multiple Listing Services (MLS) uses RETS to describe properties and actions performed over it. Those standards or, better, a new version may benefit from this kind of protocol.

Top comments(0)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

Software Developer from Bogotá. I love to work with UI and UX but backend is what I do. Gopher, Rubyist and Pythoner also some React and Vue. Currently working at Twilio.
  • Location
    Bogotá, Colombia
  • Work
    Software Engineer at Twilio
  • Joined

More fromJulian Cantillo

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp