ActivityPub: Programming for the Social Web (4th Early Release)

Автор: literator от 20-05-2024, 15:29, Коментариев: 0

Категория: КНИГИ » ПРОГРАММИРОВАНИЕ

Название: ActivityPub: Programming for the Social Web (4th Early Release)
Автор: Evan Prodromou
Издательство: O’Reilly Media, Inc.
Год: 2024-05-02
Страниц: 327
Язык: английский
Формат: pdf, azw3, epub, mobi
Размер: 10.1 MB

ActivityPub is the new standard for connecting social networks together on the social web. This open, decentralized social networking protocol defines an API for sharing activities to a social network and a procedure that servers use to distribute those activities to a subscriber's feed. With this book, you'll learn how to assemble ActivityPub-enabled clients for making new kinds of social apps on top of existing networks and build ActivityPub servers that create new human or automated accounts on the social web.

With those skills under your belt, you can explore other applications of this publish-subscribe technology: content management systems, internet of things, and enterprise automation. With hands-on examples and in-depth knowledge from Evan Prodromou, one of the authors of the protocol, this is the ActivityPub handbook that every social software hacker needs.

There are hundreds of millions of Web servers on the Internet today – each with its own menagerie of server software, programming languages, databases, file formats, network structures, APIs, and data feeds. But every one of those servers supports a simple (well... kinda simple) set of standards – like HTML5, CSS, and jаvascript – to give users a rich, fascinating experience in the browser. And with links, browser users can move effortlessly between Web servers without anyone locking them in.

The social web applies the idea of internetworking to the realm of social software. It is a collection of social networks that allows users to make connections across network boundaries. A user on one network can follow a user on a different network and get the same updates in their home feed, as if they were on the same network. On the social web, people can post images, videos, and short and long text; they can comment, like, and share; they can make jokes, have difficult discussions, and remember what matters most in life. As of this writing, there are tens of millions of users on the social web. And because anyone can join, there are tens of thousands of social network servers – some with hundreds of thousands of users, others with only a single person. Some are commercial ventures; others are run by volunteers; still others are cooperatives or nonprofits. Many of these networks run open source software like Mastodon, WordPress, Pleroma, or Firefish and connect together with open standards.

The goal of this book is to teach you how to use the standards of the social web to make cool software and help human beings connect in fascinating ways. You can use social web technologies to connect an existing project to the social web, or you can start something new from scratch. You can make a tool that only a few people will use or something that changes how people live their lives, online and off. Let’s take a quick look at the main relevant standards for social web software: Activity Streams 2.0 for data, the ActivityPub federation protocol for server interconnection, and the ActivityPub API for client-to-server programming.

Activity Streams 2.0 is based on jаvascript Object Notation (JSON), pronounced like JAY-son or jay-SAWN, depending on who’s saying it and whether someone named Jason is in the room with them. JSON is the most popular data-interchange format on the Internet as of this writing in late 2023. Douglas Crockford defined it in 2002 as a subset of the programming language jаvascript, specifically selected to represent tree-like structured objects.

Learn what the social web is and what ActivityPub does
Represent social network data in the Activity Streams 2.0 format
Write a simple ActivityPub client and server
Extend ActivityPub's functionality with new types
Find in-depth details about the more obscure ActivityPub data structures

Evan Prodromou is a coauthor of the ActivityPub protocol and the Activity Streams 2.0 data format.

Скачать ActivityPub (4th Early Release)




ОТСУТСТВУЕТ ССЫЛКА/ НЕ РАБОЧАЯ ССЫЛКА ЕСТЬ РЕШЕНИЕ, ПИШИМ СЮДА!


Нашел ошибку? Есть жалоба? Жми!
Пожаловаться администрации
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.