The Australian team is developing a discovery app for sustainable producers and wholesale buyers. Some of the data, probably most of the initial data, will come from the Open Food Network platform. We would like to use the new DFC (Data Food Consortium) API to fetch the data for this app so that it can be re-used with different data sources and re-used in different contexts.
Today we met with Alex from StartinBlox to discuss the possibility of building on the SOLID framework for best re-usability and standard compliance.
In the simplest scenario, the app would consist of static HTML including Web Modules which use the OFN API as data source. All the data would be within OFN and all the rendering would be within the browser. The OFN DFC API is not a SOLID API but the format is very close. Some tweaks to the API could enable the DFC API to output in a SOLID compatible format. That’s then consumed by the web components which are basically just HTML and Javascript.
If we need to process the data first, maybe transform OFN DFC data to SOLID and mix it with other data like permissions or additional user-supplied profiles then we may need another server which does this for us. StartinBlox uses Django/Python apps for this at the moment.
Also not in scope of this is the authentication. A public directory app can display data that is publicly served on an API. And when you log in, you can see data that is specific to that user account. But we may have a case of enterprises granting permission to be displayed in a certain directory and maybe only with certain products. We don’t have answers to how to do this yet.