Giter Site home page Giter Site logo

[IDEA] A DB schema viewer in MCA about connect HOT 6 OPEN

rogin avatar rogin commented on June 10, 2024
[IDEA] A DB schema viewer in MCA

from connect.

Comments (6)

ChristopherSchultz avatar ChristopherSchultz commented on June 10, 2024 1

The important part of all of this is being able to understand what all the tables mean. It's great to see visually that d_mm1 and d_mc1 and d_ma1 are all related to one another but if you don't know what's supposed to be in d_mm1 in the first place, it's not useful.

The tables need to be labelled like d_mm1 - Message Metadata for Channel 1 / My Great Channel Name to use useful in any way.

from connect.

ChristopherSchultz avatar ChristopherSchultz commented on June 10, 2024 1

It would be great to have some additional material nearby / referenced where you can find out the answer to the question "what exactly is message metadata?" versus "what exactly is message attachments?" and "what exactly is message content?" and maybe "why bother having message metadata in a table separate from message contents?".

It would be helpful to know for example that a "single message" may appear in more than one record in a table because it represents the message in different stages of the pipeline. That's something I had to discover for myself looking at the table data because, of course, I couldn't be bothered to RTFM.

from connect.

jonbartels avatar jonbartels commented on June 10, 2024

There is also a nice HTML rendering at https://github.com/pacmano1/Mirth-Snippets/blob/main/mirth.html

from connect.

jonbartels avatar jonbartels commented on June 10, 2024

I was thinking about how to do this. I found out that one can introspect the schema using JDBC like this http://www.java2s.com/Code/Java/Database-SQL-JDBC/Getalltableschemas.htm

Once you can iterate over the tables, columns, constraints, indexes, etc. from JDBC then that data can be put into a JSON blob and mapped to HTML.

This should be doable in a channel as a prototype then a server-side plugin to expose the API then a client-side plugin to add the "show me" button.

from connect.

pacmano1 avatar pacmano1 commented on June 10, 2024

There is also a nice HTML rendering at https://github.com/pacmano1/Mirth-Snippets/blob/main/mirth.html

https://htmlpreview.github.io/?https://github.com/pacmano1/Mirth-Snippets/blob/main/mirth.html. But if it is truly hosted all the links work on the page.

from connect.

pacmano1 avatar pacmano1 commented on June 10, 2024

https://mirthschema.diridium.com/

from connect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.