LDApp - A JavaScript Linked Data Stack

http://bergos.github.io/ldapp-www/

Thomas Bergwinkl / @bergi_bergos

About Me

  • Software engineer at bulwiengesa AG
  • Read Write Web Community Group Member
  • WebID W3C Incubator Group Invited Expert
  • Co-Founder of Zazuko GmbH

Why LDApp?

JavaScript Linked Data stack with

  • lower the entrance level
  • same APIs on the server and client
  • modular design
  • standard modules for:

    • persistence
    • events
    • authorization
    • authentication
    • HTTP interface
  • utils for easy HTML5 application integration

based on standards wherever possible

created missing standards

  • RDF-Ext
  • Universal Access Control

What LDApp contains

RDF-Ext - The glue

  • extension to RDF-Interfaces
  • store interface & implementations:

    • SPARQL
    • LDP
    • InMemory
    • Event
  • asynchron parser & serializer
    interface & implementations:

    • Turtle
    • NTriples
    • JSON-LD
    • RDF/XML
  • Promise wrappers

RDF-JSONify - The bridge to Web 2.0 frameworks

  • REST-like interface to a RDF-Ext Store
  • JSON-LD objects
  • Promise API

The Stack - Server side

The Stack - Client side

How to start using LDApp?

Install

using npm:

npm install ldapp

using git:

git clone https://github.com/bergos/ldapp.git

Start

using npm:

npm start

using node:

node ldapp.js

Import the WebID PKCS12 certificate/key

data/webid.p12

Password: test

Examples

React example

public/blog/blog.html
https://localhost:8443/blog.html

Angular example

public/blog/blog-ajs.html
https://localhost:8443/blog-ajs.html