Sling
  1. Sling
  2. SLING-302

Create a bundle providing Dojo as resources

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Extensions
    • Labels:
      None

      Description

      We have two contributions which provide client-side application (parts) both based on the dojo toolkit [1]. To make it easier to integrate these two contributions and to enable future works in this area, I suggest we create a bundle, which exposes dojo as bundle resources for use by different client side apps.

      [1] http://dojotoolkit.org/

        Issue Links

          Activity

          Gavin made changes -
          Workflow re-open possible,doc-test-required [ 12788095 ] no-reopen-closed,doc-test-required [ 12790747 ]
          Gavin made changes -
          Workflow no-reopen-closed,doc-test-required [ 12766729 ] re-open possible,doc-test-required [ 12788095 ]
          Gavin made changes -
          Link This issue is depended upon by SLING-301 [ SLING-301 ]
          Gavin made changes -
          Link This issue blocks SLING-301 [ SLING-301 ]
          Gavin made changes -
          Workflow Copy of no-reopen-closed,doc-test-required [ 12763032 ] no-reopen-closed,doc-test-required [ 12766729 ]
          Gavin made changes -
          Workflow no-reopen-closed,doc-test-required [ 12475544 ] Copy of no-reopen-closed,doc-test-required [ 12763032 ]
          Felix Meschberger made changes -
          Workflow jira [ 12424952 ] no-reopen-closed,doc-test-required [ 12475544 ]
          Carsten Ziegeler made changes -
          Component/s Extensions [ 12312240 ]
          Hide
          Felix Meschberger added a comment -

          I quickly tested it moving everything to /libs/dojo as the root and it infact seems to work - at least the demo pages of SLING-301

          Show
          Felix Meschberger added a comment - I quickly tested it moving everything to /libs/dojo as the root and it infact seems to work - at least the demo pages of SLING-301
          Hide
          Lars Trieloff added a comment -

          Thank you very much.

          I think as long as $DOJO_ROO/dojo $DOJO_ROO/dijit and $DOJO_ROO/dojox have a common root folder, the position is irrelevant. You would simply point the script to the right dojo root. The three folders for extending dojo are a good solution.

          Show
          Lars Trieloff added a comment - Thank you very much. I think as long as $DOJO_ROO/dojo $DOJO_ROO/dijit and $DOJO_ROO/dojox have a common root folder, the position is irrelevant. You would simply point the script to the right dojo root. The three folders for extending dojo are a good solution.
          Felix Meschberger made changes -
          Status In Progress [ 3 ] Open [ 1 ]
          Hide
          Felix Meschberger added a comment -

          Thanks for the attachement. I'm I correct, that the dojo library path is pretty fixed, that is /dojo, /dijit and /dojox may not be moved elsewhere, e.g. below a commont intermediate folder ?

          I committed the dojo source in the extensions/dojo module in Rev. 637050.

          As the dojo classes are part of the infrastructure, the scripts are provided as BundleResources and not copied into the repository. Updating is just a matter of updating the bundle.

          Nevertheless three folders are created when the bundle is installed: /dojo, /dojox and /dijit. These represent the top level folders of dojo and may be used to deploy additional scripts.

          Show
          Felix Meschberger added a comment - Thanks for the attachement. I'm I correct, that the dojo library path is pretty fixed, that is /dojo, /dijit and /dojox may not be moved elsewhere, e.g. below a commont intermediate folder ? I committed the dojo source in the extensions/dojo module in Rev. 637050. As the dojo classes are part of the infrastructure, the scripts are provided as BundleResources and not copied into the repository. Updating is just a matter of updating the bundle. Nevertheless three folders are created when the bundle is installed: /dojo, /dojox and /dijit. These represent the top level folders of dojo and may be used to deploy additional scripts.
          Felix Meschberger made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Felix Meschberger made changes -
          Assignee Felix Meschberger [ fmeschbe ]
          Lars Trieloff made changes -
          Attachment dojo-release-1.0.2.zip [ 12377810 ]
          Hide
          Lars Trieloff added a comment -

          This is dojo without any tests and demos, which reduces the size of the zip file by 50%. Perhaps this is better suited for creating a bundle.

          Show
          Lars Trieloff added a comment - This is dojo without any tests and demos, which reduces the size of the zip file by 50%. Perhaps this is better suited for creating a bundle.
          Hide
          Lars Trieloff added a comment -

          I think this is a good idea. Additionally we could create bundles for the µjax store implementation that would depend on the dojo bundle and use the same resource space.

          Show
          Lars Trieloff added a comment - I think this is a good idea. Additionally we could create bundles for the µjax store implementation that would depend on the dojo bundle and use the same resource space.
          Felix Meschberger made changes -
          Field Original Value New Value
          Link This issue blocks SLING-301 [ SLING-301 ]
          Felix Meschberger created issue -

            People

            • Assignee:
              Felix Meschberger
              Reporter:
              Felix Meschberger
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Development