GureWork > espacios de Coworking topalekuak :)
GureWork > espacios de Coworking topalekuak :) > MindTouch dekiwiki > CoDoer framework > Doing Steps > Step #1 : Runner engine: Organize by Sections

Step #1 : Runner engine: Organize by Sections

Redirected from MindTouch/DekiMVC/Step1 Organize by Sections

      Using CoDoer controller

    We can run any source template using CoDoer controller, we need to do two operations:

    • Apply sectioning organization to the source template (required) and other optional adaptations (separation & visualization, Logging)
    • Change source template call by CoDoer controller call passing the following parameters:
      • page (required) : source page
      • template (required) : source template
      • logging {par, tpl, ctr} (optional)
      • language (optional)

      Running our Example

    The engine: CoDoer Engine template

    The source template: Interactivecomments()

    Call directly to the source template:

    Wiki.Template("InteractiveComments");

    Call using CoDoer to the source template:

    Wiki.Template(":MindTouch/CoDoer/Template/Engine/CoDoer-1a",{
      page: page,
      template: ":MindTouch/CoDoer/Template/ToRun/InteractiveComments-CoDoer-1a",
      logging: {par:0,tpl:1,ctr:1}
    });
    

    You can review and test them here:

    Note: there are issues with "Show More" and "Show All" ajax actions, pending to solve.

     

    :) Interactive discussion

     Use @user to publish it on his/her wall immediately (on GureWork) 

    Resources

    Releases

    Engine : Runner
    { 
        "#1": "CoDoer-Runner-1", 
        "#2": "CoDoer-Runner-2", 
        "#3": "CoDoer-Runner-3", 
        "#3b": "CoDoer-Runner-3b", 
        "#4": "CoDoer-Runner-4:437"
    }
    Engine : Tester
    { 
        "#1": "CoDoer-Tester-1", 
        "#2": "CoDoer-Tester-1", 
        "#3": "CoDoer-Tester-1", 
        "#3b": "CoDoer-Tester-1", 
        "#4": "CoDoer-Tester-1"
    }
    Widgets
    { 
        "Calculator-CoDoer-4": ":20", 
        "GigyaSocialize-CoDoer-4": ":98", 
        "InteractiveComments-CoDoer-4": ":0", 
        "LinkedHitz-Local-Pref-4": ":32", 
        "LinkedHitz-Local-Prop-4": ":196", 
        "SceneFlow-CoDoer-4": ":92", 
        "TodoList-CoDoer-4": ":13"
    }

    Resources

    Releases

    Engine : Runner
    { 
        "#1": "CoDoer-Runner-1", 
        "#2": "CoDoer-Runner-2", 
        "#3": "CoDoer-Runner-3", 
        "#3b": "CoDoer-Runner-3b", 
        "#4": "CoDoer-Runner-4:437"
    }
    Engine : Tester
    { 
        "#1": "CoDoer-Tester-1", 
        "#2": "CoDoer-Tester-1", 
        "#3": "CoDoer-Tester-1", 
        "#3b": "CoDoer-Tester-1", 
        "#4": "CoDoer-Tester-1"
    }
    Widgets
    { 
        "Calculator-CoDoer-4": ":20", 
        "GigyaSocialize-CoDoer-4": ":98", 
        "InteractiveComments-CoDoer-4": ":0", 
        "LinkedHitz-Local-Pref-4": ":32", 
        "LinkedHitz-Local-Prop-4": ":196", 
        "SceneFlow-CoDoer-4": ":92", 
        "TodoList-CoDoer-4": ":13"
    }

    Powered by MindTouch Core (Expired)