Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • There is one root directory where the running system looks for these filesystem based modules. The filepath is configurable.
  • Each subdirectory is considered as a module. Each subdirectory contains an module.xml file which acts like a pom file, declaring dependencies and version. It or another file also act as module descriptor.
  • ....

 

Javafree Template

What would the file structure be for a component template stored in a directory. 
templateName.xml could be the template definition that ties everything together.

But if everything follows conventions, is this file actually necessary? If the directory holds a template script, a dialog configuration, a model, resources - then we dont need an xml file to redundantly point to all of these things again. Less boilerplate. Less chance to write something wrong.

  • Dir: myYoutubePlayer
    • myYoutubePlayer.ftl
    • myYoutubePlayerDialog.xml
    • myYoutubePlayerModel.js
    • resources
      • whatever.css
      • whatever.png
      • whatever.svg
      • whatever.js
      • whatever_en.properties
      • libs
        • superyoutube
        • parquetteLayout