Home Applications ClassExplorer

ClassExplorer

This application is not supported by InterSystems Corporation. Please be notified that you use it at your own risk.
5
3 reviews
0
Awards
750
Views
1.2k
IPM installs
0
8
Details
Releases  (4)
Reviews  (3)
Issues
Videos  (1)
Articles  (1)
UML Class Diagram Builder for InterSystems Data Platforms (2014.1+)

What's new in this version

ObjectScript Class Explorer

Quality Gate Status

An UML class explorer for InterSystems products: IRIS, Ensemble, HealthShare, Caché. Read more about class explorer on InterSystems Developer Community.

Key features
  • Build class diagrams for arbitrary list of classes;
  • Build diagrams for whole package or subpackage;
  • Edit diagrams after build;
  • Switch between strict UML notation and designed view;
  • Export diagrams as an image;
  • See Class methods, properties, parameters, SQL queries, xDatas and more;
  • See any keywords and related information by hovering over everything with pointer;
  • Check which fields are connected by hovering over link;
  • View methods code, sql queries and xDatas with syntax highlighting;
  • Zoom in and out;
  • Search on diagram or in class tree;
  • Explore!

Screenshots

Demo

Docker Quick Demo

  1. Clone the repository and run docker-compose up -d --build to bring up ClassExplorer to a docker container.
  2. Check localhost:52773/ClassExplorer/ in a little while - it should have the app already.

Full Installation from XML File

To install latest Caché Class Explorer, you just need to import ClassExplorer package. Download the
archive from latest releases, and then import
Cache/CacheClassExplorer-vX.X.X.xml file.

Web application

Note that importing ClassExplorer.WebAppInstaller class will also create a /ClassExplorer application.
If you want to create WEB application manually, please, do not import this class. Anyway,
importing this class requires %SYS permission.

Usage

Visit [server domain and port]/ClassExplorer/ (slash at end required) to enter
application.

Development

To build project, you need NodeJS platform to be installed. Then, clone source
code and run npm install from the root of the project. This will install all necessary
modules from NPM for the project.

After that and each next time just run npm run gulp command from the project root.
This will generate build directory, where you will find XML file ready to import.

One can import/export the built source to the local Cache/URIS instance (see import.bat):

./import.bat

This will bring ClassExplorer-v*.*.*.xml to the build directory, which you can then package with npm run zip.

ZPM

ZPM is the package manager for InterSystems products. Currently,
the release pipeline for it is manual. The ZPM release should happen once the package is uploaded
to InterSystems OpenExchange with the “ZPM” option checked in. This
should grab manually moved files from build-for-zpm/ClassExplorer directory for the release.

Locally, one can run and test the application using Docker:

  1. Before each release, manually patch the version in the module.xml file.
  2. Run docker-compose up -d --build in the repository root to bring up ClassExplorer to a docker container.
  3. Check localhost:52773/ClassExplorer/ in a little while - it should have the app already.
  4. Run docker-compose exec iris iris session iris and then type zn "IRISAPP" zpm to start ZPM session in the “IRISAPP” namespace.
  5. Type load /irisdev/app to test whether ZPM can parse the repository root.
  6. Type classexplorer package to try to compile the package. It should say something like Module package generated: /tmp/dirymgtBA/classexplorer-1.20.0.tgz.
  7. Configure the test registry to publish the package repo -n registry -r -url https://test.pm.https://github.com/intersystems-community/ClassExplorer/blob/master/community.intersystems.com/registry/ -user test -pass test (type search to see the registries list).
  8. Finally publish the package classexplorer publish.
  9. Further steps to test it: https://https://github.com/intersystems-community/ClassExplorer/blob/master/community.intersystems.com/post/testing-packages-zpm

Related Discussion

See the detailed description and discussion in this article.
Have a look at InterSystems Developer Community to learn about InterSystems technology, sharing solutions and staying up-to-date on the latest developments.

License

MIT © Nikita Savchenko

Made with
Install
zpm install classexplorer download archive
Version
1.21.422 Oct, 2020
Category
Developer Environment
Works with
CachéEnsembleHealthShareInterSystems IRIS
First published
27 Sep, 2018
Last checked by moderator
26 Nov, 2024Works