Scripting Framework Introduction

One of the reasons I became a fan of Enterprise Architect was that it was extensible via its scripting functionality. I went through a period where I did a lot of scripting in Javascript for EA, however eventually I became disillusioned as I started hitting the limits of the functionality. The two primary issues were
  1. The Javascript engine used within EA was quite old (pre version 15) and hence the latest language features in Javascript were not available within EA.
  2. The more interesting extension points within EA were only available through the Addin protocols/interface, and these were not available in the scripting environment.
I have at various times, and in different contexts, have developed scripting frameworks for EA, a published example is available from Github (here).  However, because of the two issues given above I had pretty much given up on Javascript as an extension option for EA and instead had been spending time using C# to muck around with an AWS addin that I had started (see here).

With version 15, the updated Javascript engine and the new Model Addin features.  The two above issues are no longer relevant.  I have started playing around with the new updated Javascript capabilities in EA,  initially just seeing what was possible, but it is slowly taking the form of a framework.

It doesn't have a name at the moment (actually I have been using Peso as a handle) and I'm not sure where it is going, as I'm just continuing to explore things.  However, the next few blog posts on this blog will be related to this work, and are likely to be somewhat technical in nature.  Anything that's halfway useful, I will release through Github.

Related Posts


[Originally version posted here.]

Comments

Popular posts from this blog

Creating Items in Sparx EA via Java

Module Management - Part 1 - getModule() Pattern

Traversing a EA Model via Java