You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2008/03/03 17:26:50 UTC

[jira] Created: (SLING-302) Create a bundle providing Dojo as resources

Create a bundle providing Dojo as resources
-------------------------------------------

                 Key: SLING-302
                 URL: https://issues.apache.org/jira/browse/SLING-302
             Project: Sling
          Issue Type: New Feature
            Reporter: Felix Meschberger


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/

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SLING-302) Create a bundle providing Dojo as resources

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578687#action_12578687 ] 

Felix Meschberger commented on SLING-302:
-----------------------------------------

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.

> Create a bundle providing Dojo as resources
> -------------------------------------------
>
>                 Key: SLING-302
>                 URL: https://issues.apache.org/jira/browse/SLING-302
>             Project: Sling
>          Issue Type: New Feature
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>         Attachments: dojo-release-1.0.2.zip
>
>
> 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/

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SLING-302) Create a bundle providing Dojo as resources

Posted by "Lars Trieloff (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12576925#action_12576925 ] 

Lars Trieloff commented on SLING-302:
-------------------------------------

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.

> Create a bundle providing Dojo as resources
> -------------------------------------------
>
>                 Key: SLING-302
>                 URL: https://issues.apache.org/jira/browse/SLING-302
>             Project: Sling
>          Issue Type: New Feature
>            Reporter: Felix Meschberger
>
> 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/

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SLING-302) Create a bundle providing Dojo as resources

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578743#action_12578743 ] 

Felix Meschberger commented on SLING-302:
-----------------------------------------

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

> Create a bundle providing Dojo as resources
> -------------------------------------------
>
>                 Key: SLING-302
>                 URL: https://issues.apache.org/jira/browse/SLING-302
>             Project: Sling
>          Issue Type: New Feature
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>         Attachments: dojo-release-1.0.2.zip
>
>
> 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/

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Commented: (SLING-302) Create a bundle providing Dojo as resources

Posted by Lars Trieloff <la...@day.com>.
In theory it is possible to run Dojo on the server as well. (And I  
would love to test this in practice)

Lars

On Mar 14, 2008, at 14:54 , Alexander Klimetschek wrote:
> I think it makes sense to separate client-side and server-side  
> scripts. What about a client folder below libs for any client-side  
> javascript:
>
> /libs/client/dojo
>
> Just my 2 cents...
> Alex
>
> Am 14.03.2008 um 14:43 schrieb Philipp Koch:
>
>> i would opt for Option 1: /libs/dojo
>>
>> regards,
>> philipp
>>
>> On Fri, Mar 14, 2008 at 2:34 PM, Felix Meschberger <fmeschbe@gmail.com 
>> > wrote:
>>> Hi all,
>>>
>>> As of SLING-302 I created an extensions/dojo bundle which provides  
>>> the
>>> Dojo Toolkit. Currently the dojo, dojox and dijit hierarchies are  
>>> at the
>>> root, i.e. /dojo, /dojox, /dijit. So the content space is a bit  
>>> loaded.
>>>
>>> Lars thinks, that is probably save to move the three folders to a
>>> different location as long as they share a common parent.
>>>
>>> So, I would like to throw this dicusssion up:
>>>
>>> * Should we relocate the dojo folders ?
>>> * If yes, where should we move them ?
>>>    Option 1: /libs/dojo
>>>    Option 2: /system/sling/dojo
>>>    Option x: ... enter a proposal ...
>>>
>>> Thanks for any feedback.
>>>
>>> Regards
>>> Felix
>>>
>>>
>
> --
> Alexander Klimetschek
> alexander.klimetschek@day.com
>
>
>
>


Re: [jira] Commented: (SLING-302) Create a bundle providing Dojo as resources

Posted by Alexander Klimetschek <ak...@day.com>.
I think it makes sense to separate client-side and server-side  
scripts. What about a client folder below libs for any client-side  
javascript:

/libs/client/dojo

Just my 2 cents...
Alex

Am 14.03.2008 um 14:43 schrieb Philipp Koch:

> i would opt for Option 1: /libs/dojo
>
> regards,
> philipp
>
> On Fri, Mar 14, 2008 at 2:34 PM, Felix Meschberger  
> <fm...@gmail.com> wrote:
>> Hi all,
>>
>> As of SLING-302 I created an extensions/dojo bundle which provides  
>> the
>> Dojo Toolkit. Currently the dojo, dojox and dijit hierarchies are  
>> at the
>> root, i.e. /dojo, /dojox, /dijit. So the content space is a bit  
>> loaded.
>>
>> Lars thinks, that is probably save to move the three folders to a
>> different location as long as they share a common parent.
>>
>> So, I would like to throw this dicusssion up:
>>
>> * Should we relocate the dojo folders ?
>> * If yes, where should we move them ?
>>     Option 1: /libs/dojo
>>     Option 2: /system/sling/dojo
>>     Option x: ... enter a proposal ...
>>
>> Thanks for any feedback.
>>
>> Regards
>> Felix
>>
>>

--
Alexander Klimetschek
alexander.klimetschek@day.com





Re: [jira] Commented: (SLING-302) Create a bundle providing Dojo as resources

Posted by Philipp Koch <ph...@day.com>.
i would opt for Option 1: /libs/dojo

regards,
philipp

On Fri, Mar 14, 2008 at 2:34 PM, Felix Meschberger <fm...@gmail.com> wrote:
> Hi all,
>
>  As of SLING-302 I created an extensions/dojo bundle which provides the
>  Dojo Toolkit. Currently the dojo, dojox and dijit hierarchies are at the
>  root, i.e. /dojo, /dojox, /dijit. So the content space is a bit loaded.
>
>  Lars thinks, that is probably save to move the three folders to a
>  different location as long as they share a common parent.
>
>  So, I would like to throw this dicusssion up:
>
>  * Should we relocate the dojo folders ?
>  * If yes, where should we move them ?
>      Option 1: /libs/dojo
>      Option 2: /system/sling/dojo
>      Option x: ... enter a proposal ...
>
>  Thanks for any feedback.
>
>  Regards
>  Felix
>
>

Re: [jira] Commented: (SLING-302) Create a bundle providing Dojo as resources

Posted by Felix Meschberger <fm...@gmail.com>.
Hi all,

As of SLING-302 I created an extensions/dojo bundle which provides the
Dojo Toolkit. Currently the dojo, dojox and dijit hierarchies are at the
root, i.e. /dojo, /dojox, /dijit. So the content space is a bit loaded.

Lars thinks, that is probably save to move the three folders to a
different location as long as they share a common parent.

So, I would like to throw this dicusssion up:

* Should we relocate the dojo folders ?
* If yes, where should we move them ?
     Option 1: /libs/dojo
     Option 2: /system/sling/dojo
     Option x: ... enter a proposal ...

Thanks for any feedback.

Regards
Felix


[jira] Commented: (SLING-302) Create a bundle providing Dojo as resources

Posted by "Lars Trieloff (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578706#action_12578706 ] 

Lars Trieloff commented on SLING-302:
-------------------------------------

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.

> Create a bundle providing Dojo as resources
> -------------------------------------------
>
>                 Key: SLING-302
>                 URL: https://issues.apache.org/jira/browse/SLING-302
>             Project: Sling
>          Issue Type: New Feature
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>         Attachments: dojo-release-1.0.2.zip
>
>
> 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/

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-302) Create a bundle providing Dojo as resources

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler updated SLING-302:
-----------------------------------

    Component/s: Extensions

> Create a bundle providing Dojo as resources
> -------------------------------------------
>
>                 Key: SLING-302
>                 URL: https://issues.apache.org/jira/browse/SLING-302
>             Project: Sling
>          Issue Type: New Feature
>          Components: Extensions
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>         Attachments: dojo-release-1.0.2.zip
>
>
> 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/

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (SLING-302) Create a bundle providing Dojo as resources

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger reassigned SLING-302:
---------------------------------------

    Assignee: Felix Meschberger

> Create a bundle providing Dojo as resources
> -------------------------------------------
>
>                 Key: SLING-302
>                 URL: https://issues.apache.org/jira/browse/SLING-302
>             Project: Sling
>          Issue Type: New Feature
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>         Attachments: dojo-release-1.0.2.zip
>
>
> 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/

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-302) Create a bundle providing Dojo as resources

Posted by "Lars Trieloff (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Trieloff updated SLING-302:
--------------------------------

    Attachment: dojo-release-1.0.2.zip

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.

> Create a bundle providing Dojo as resources
> -------------------------------------------
>
>                 Key: SLING-302
>                 URL: https://issues.apache.org/jira/browse/SLING-302
>             Project: Sling
>          Issue Type: New Feature
>            Reporter: Felix Meschberger
>         Attachments: dojo-release-1.0.2.zip
>
>
> 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/

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.