Open source App Connect 2.0

Would it be possible to open source the App Connect 2.0 (and its formatters) library, please?

It’s hard to integrate other JavaScript solutions with AC without understanding its mechanics.

Since there is no documentation about it, at least a non-minified source code could help, even if it’s bundled.


Something like Solid.js’ 5 minute Advanced intro would be immensely helpful in understanding the reactivity model of AC.

These are the things which keep us uneasy without docs or unminified source code:

  • We are still unclear on how dmx variable scoping works.
  • It’s confusing that the HTML elements representing “variables” are called “dmx-value”, not “dmx-var” for example.
  • There are “global variables”, which are not present in the HTML document, so it’s unclear how to provide default values for them.
  • There is no ES6 version of AC, so it’s not trivial to include it into the rest of our application.

We do have some gut-feel for the answers, of course.
You can see here, how we integrated with ES6 for example:
view-source:https://app.prod.verifiedmetrics.com/index.html

We do have some global shorthand functions too, which allows convenient interaction with our DMX from the browsers’ dev tools:
view-source:https://app.prod.verifiedmetrics.com/js/gini/dmx.mjs

so it’s not like we are completely lost, but it’s quite painful to do any JavaScript-level DMX work.

4 Likes

Yes! I really feel like this would help push Wappler into the same level as React, Vue, etc.

@JonL created a feature request as well. Although it goes further by wanting to opensource all of it. I would prefer to only have App Connect open sourced.

1 Like