Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-587 concept for future magnolia (possibly 3.5)
  3. MAGNOLIA-635

Using rhino (javascript) for configuration, scripting, shell

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Outdated
    • Major
    • None
    • None
    • None
    • None

    Description

      Since some days I'm thinking about using rhino (javascript) to make magnolia customizable.

      Now I like to get some feedback form the audience before I think farther.

      Primar thoughts:

      • our main developers are weboriented and know javascript
      • If something is configured in a scripting language it is very felxible
      • It reduces the abstract step to a configuration file like xml
      • You can adapt functions (like the activation) without downloading the sources

      Configuration
      -------------
      The startup script is written in javascript and if you need to instantiate an other cache-handler for example you just do
      it by changing this startup file.

      Let's call this IoC by scripting

      Changing Execution
      ------------------
      Methods like activation could be extracted to a script like activate.js which one could adapt without subclassing.

      Shell


      We could include Rhinos shell this would it make easy to analyze data:

      • dump data
      • change data
      • queries

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pbaerfuss Philipp Bärfuss
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: