Book a Demo

Author Topic: What happened to the "Easy with Model Add-in Recipes" Linq.js based feature?  (Read 8709 times)

timoc

  • EA User
  • **
  • Posts: 201
  • Karma: +14/-0
    • View Profile
Hi,

I came across this summit video from 2019 Repository Updates and Administration Made - Easy with Model Add-in Recipes that claims:
Quote
"Save time and mitigate risk with this innovative and powerful library and its accompanying Easy-to-Follow and Extensible Recipe Book. Do in 4 lines what might take 50 - 60 lines of scripting with more Rigor and Precision. Take home a COMPLIMENTARY copy of the Recipe Book. "

The video demonstrates the advanced capabilities of the EA JS engine and Addin development that i would like to know more about.

Specifically:
  • Shows the JS engine running an "off the shelf" JS library with sophisticated functionality inside a JS-Addin: Linq.js.
  • Shows a mature JS-Addin development process, including a form of unit test harnesses for model transformation.

Having a well developed and tested JS-Addin development methodology would go a long way to JS becoming the default scripting language.  Especially when combined with point 1. Point 1 implies that there is a documented manual or automated transpilation method for porting "off the shelf" JS libraries to the EA JS environment or as a side-loadable web-assembly library.

I cannot find any recipe book or other documentation/manuals/whitepapers describing how to do any of these things. Does anyone know what ever happened to this?

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Is there a source for that that doesn't come from a 49 minute video? I haven't watched that video in the past and I don't have the available time to watch the whole thing in hopes of finding out what you're referring to.

Here's our documentation for model add-ins.
https://www.sparxsystems.com/enterprise_architect_user_guide/16.0/add-ins___scripting/modeladdins.html

It's also worth saying the presenting in that video is a partner, so I don't have access to anything used to present that video.

timoc

  • EA User
  • **
  • Posts: 201
  • Karma: +14/-0
    • View Profile
Is there a source for that that doesn't come from a 49 minute video?
That is literally the same question i just asked!
I haven't watched that video in the past and I don't have the available time to watch the whole thing in hopes of finding out what you're referring to.

Here's our documentation for model add-ins.
https://www.sparxsystems.com/enterprise_architect_user_guide/16.0/add-ins___scripting/modeladdins.html
To be honest i also do not have the time (even when playing at 2x speed). I have had to occasionally look at videos from the summits for clues and inspiration because the documentation linked above barely explains how to create a JavaScript add in, and the white-papers/documents i have found (including EA16 model wizard examples) seem to be broken with EA16.
For example, this one slide has more information in it about the javascript console and its methods, than is available in any of the published Sparx documentation i have access to..

It's also worth saying the presenting in that video is a partner, so I don't have access to anything used to present that video.
I kind of assumed that as this was presented at a summit, more information would be available somewhere inside Sparx. Or if not from Sparx then from community members who participated in that summit and did watch that video.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
The slide seems to be very popular (opened 194 times in 10 months)...

q.