Giter Club home page Giter Club logo

Comments (1)

npetzall avatar npetzall commented on September 21, 2024

The organisation isn't 100% percent regarding the command line arguments. So let's create a guideline.

CommandLineArguments should only contain "arguments" that are handle during an early exit.
Examples would be -help, -dbhelp, -license.

SchemaSpy has org.schemaspy.output.dot DotConfigexists in that package/module and is used by the package/module.

As for passing configuration to Graphviz or Vizjs, they live in another package/module and Graphviz has it's own GraphvizConfig.

So there should be a config per package/module I would say.

As for the stretching, I'm having somewhat of a problem debating it. We have our own Connection interface for abstracting connection to a database which is more or less what the java.sql.Connection abstraction is for, so there would be sort of the same confusion. Dot executable from graphviz or Dot language, we could go even further as dot layout engine or dot render engine.

To make all this work we must set the context as SchemaSpy, so Dot in SchemaSpy is the language/syntax/module/package and not the renderer/layout/executable. The same way a Connection is our Connection and not java.sql.Connection.

Increasingly important is that "dot" the executable is not the only way to render a diagram from dot language/syntax. Hence we should talk about Graphviz and GraphvizConfig and Vizjs and VizjsConfig.

As for passing this type of grouped configuration all the way down to the leafs of the object graph that is bad and should be avoided, they should be deconstructed early in a module aggregate.

from schemaspy.

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.