From 73e2b428c9ea2d572feb3b98effdff448bc333fd Mon Sep 17 00:00:00 2001 From: Ruben Taelman Date: Thu, 4 Nov 2021 12:02:55 +0100 Subject: [PATCH] Link to real-world examples --- content/configs.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/content/configs.md b/content/configs.md index eee46cd..d5fcd99 100644 --- a/content/configs.md +++ b/content/configs.md @@ -128,6 +128,8 @@ which means that our component from [](#module-om) can still be instantiated in The only difference now, is that we are able to determine how exactly the parameter values are to be used for invoking the component constructor. For example, the instantiation of [](#instance-oo) corresponds to the following code in JavaScript: `new MyComponent({ name: 'Some name' })` +A real-world example of the combined usage of the OO and OM vocabularies can be found at [https://linkedsoftwaredependencies.org/bundles/npm/%40comunica%2Fcore/1.21.1/components/Actor.jsonld](https://linkedsoftwaredependencies.org/bundles/npm/%40comunica%2Fcore/1.21.1/components/Actor.jsonld). + ### Dereferenceability In [previous work](cite:citesAsAuthority van2017describing) @@ -197,3 +199,6 @@ TypeScript class that is used as input to Components-Generator.js. Components file that is generated by Components-Generator.js from the TypeScript file from [](#generator-ts). + +A real-world example of such conversion can be seen in the [Solid Community Server](cite:cites link:github:css) project. +For example, the `CorsHandler` TypeScript class ([https://github.com/solid/community-server/blob/9b6eab27bc4e5ee25d1d3c6ce5972e83db90c650/src/server/middleware/CorsHandler.ts#L31](https://github.com/solid/community-server/blob/9b6eab27bc4e5ee25d1d3c6ce5972e83db90c650/src/server/middleware/CorsHandler.ts#L31)) is converted to the components file at [https://linkedsoftwaredependencies.org/bundles/npm/%40solid%2Fcommunity-server/2.0.0/dist/server/middleware/CorsHandler.jsonld](https://linkedsoftwaredependencies.org/bundles/npm/%40solid%2Fcommunity-server/2.0.0/dist/server/middleware/CorsHandler.jsonld).