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
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.
- 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.
- The more interesting extension points within EA were only available through the Addin protocols/interface, and these were not available in the scripting environment.
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
- GlobalThis
- Module Management
- Code Patterns
[Originally version posted here.]
Comments
Post a Comment