https://rhiaro.co.uk/2016/05/57276097bbf34
type: Add
object: openid-connect
published: 2016-05-02T15:13:43+01:00
summary: Amy added http://connect2id.com/learn/openid-connect to https://rhiaro.co.uk/bookmarks/
tag: auth
tag: authentication
tag: authorisation
tag: connect
tag: data
tag: hacking
tag: openid
tag: personal
tag: pod
tag: solid
tag: store
tag: tutorial
target: bookmarks

diy-ldn
type: Article
content: Linked Data Notifications is a protocol to facilitate sharing and reuse of notifications between different Web applications. It's a W3C Recommendation from the Social Web Working Group, and part of a push to help people own their data and re-decentralise the Web, particularly the Social Web. You can read more about why you might want to care about this here. For this post, I'm going to jump straight into implementation. I've chosen PHP, without any frameworks, because if you already have a (local or remote) server it should be quick for you to get going with, without needing to set up or configure anything. The "Linked Data" in the name implies involvement of RDF; in fact LDN uses JSON-LD, but I don't presume any existing understanding of these things for this post, I'll just try to introduce the minimum that you need as we go along. (For a nice intro to JSON-LD see Manu's YouTube video JSON-LD Basics.) I am assuming though you have a basic understanding of JSON, and what HTTP Headers are. LDN is a three part protocol. We expect front-end applications as well as servers to play the roles of senders and consumers of notifications. The third part is receiving. As the human in the mix, you need to tell the applications you use where to send notifications that are meant for you (or your software to pick up), as well as where applications can read them from (in order to display them back to you, or to process them and trigger other tasks to run). This 'where' is your Inbox. Applications might, for example, discover it from your homepage or a social media profile. You should host your Inobx somewhere you trust. Just like with email, some people might want to rent space from a provider, or maybe your workplace or school supplies one to you. At the moment the market for this is.. pretty small. This Web-data-owernship thing is in its early days. So for the pioneering developers among us, we can write our own, using around 50 lines of quick and dirty PHP. Part 1: accepting an…
name: DIY LDN Inbox
published: 2017-08-13T17:03:00+02:00
tag: hacking
tag: php
tag: tutorial
tag: linked+data+notifications
tag: ldn
tag: standards

tutorial
type: Collection
total items: 2

https://rhiaro.co.uk/tags/tutorial
type: CollectionPage
items: diy-ldn
items: https://rhiaro.co.uk/2016/05/57276097bbf34
name: tutorial
part of: tutorial