Giter Site home page Giter Site logo

goforjj's People

Contributors

clarsonneur avatar xx-parks-xx avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

goforjj's Issues

genapp: Difficult to change and set proper socket filename.

forjj through goforjj use <plugin>.yaml: /plugin: <value> to connect to the proper socket.

If we created a new plugin with a wrong name, the cli.go is generated and will never be updated if we do not remove it, before a go generate

So, even if we change <plugin>.yaml, forjj will take care of it, but not the plugin until we change manually the cli.go in load_plugin_def function

We need forjj and plugins to be more coherent.
The rule should be:

  • if <plugin>.yaml: /runtime/serviice/socket:<value> is set, use it in both forjj and the plugin.
  • if not set, use <plugin>.yaml: /plugin: <value> in both forjj and the plugin.

Deliver filter functions on data to transmit

When forjj get plugin definition, it provides the value (from Forjfile or cli), or a default value defined by the plugin.

Sometimes, those fields requires to be filtered so update the value to something acceptable by the plugin.

This is not a syntax verification which is normally already implemented through RegExp.

Filter example:

  • ToLower: this function will downcase of the value to transmit to the plugin by Forjj.

This way, the filter is applied by forjj as defined by the plugin and do not require to update the plugin and simplify it.

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.