#1 Implement URL Handler and framework for actions

1.0
closed
None
2018-04-11
2018-03-16
Ingo
No

The idea is, that we first create a framework in C#, with the following features:

  • Implements an URL handler
  • Parses the command line, as well as URLs, and prepares it for the "actions"
  • call "commands", based on the command that was passed to the URL, or "cforge" on the command line

This way, the command can be implemented easyly and transparent in python scripts.
We can then sub-group further to different actions, which need to be performed in several commands.

We are using the scripting assemblies from CODESYS installation.
cforge will be installed in form of a CODESYS package into CFORGE subfolder in <ap_root folder=""> (next to "Common" etc.).
In main folder will be the cforge.exe and a Batch file to trigger the URL handler registration.
In a subfolder "Scripts" are all the IPY scripts (like 2nd level commands for the cforge "tool world").</ap_root>

Discussion

  • Ingo

    Ingo - 2018-03-16
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -2,6 +2,7 @@
    
     * Implements an URL handler
     * Parses the command line, as well as URLs, and prepares it for the "actions"
    -* call "actions", based on the command that was passed to the URL, or "cforge" on the command line
    +* call "commands", based on the command that was passed to the URL, or "cforge" on the command line
    
    -This way, the actions can be implemented easyly and transparent in python scripts.
    +This way, the command can be implemented easyly and transparent in python scripts.
    +We can then sub-group further to different actions, which need to be performed in several commands.
    
    • assigned_to: erichspitzweg@gmx.de
     
  • erichspitzweg - 2018-03-17
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -6,3 +6,9 @@
    
     This way, the command can be implemented easyly and transparent in python scripts.
     We can then sub-group further to different actions, which need to be performed in several commands.
    +
    +We are using the scripting assemblies from CODESYS installation.
    +cforge will be installed in form of a CODESYS package into CFORGE subfolder in <AP_ROOT folder> (next to "Common" etc.).
    +In main folder will be the cforge.exe and a Batch file to trigger the URL handler registration.
    +In a subfolder "Scripts" are all the IPY scripts (like 2nd level commands for the cforge "tool world").
    +
    
     
  • erichspitzweg - 2018-03-20
    • status: open --> accepted
     
  • erichspitzweg - 2018-04-11
    • status: accepted --> closed
     

Log in to post a comment.