You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Alexey Pomogaev (JIRA)" <de...@tapestry.apache.org> on 2008/01/29 08:14:35 UTC

[jira] Created: (TAPESTRY-2098) Pack javascript (prototype, scriptaculo etc.)

Pack javascript (prototype, scriptaculo etc.)
---------------------------------------------

                 Key: TAPESTRY-2098
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2098
             Project: Tapestry
          Issue Type: Wish
          Components: tapestry-core
    Affects Versions: 5.0.10
            Reporter: Alexey Pomogaev
             Fix For: 5.0.10


Current JavaScript: prototype.js, sriptaculo.js etc. in tapestry resources not packed. Please pack this.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Updated: (TAPESTRY-2098) Pack javascript (prototype, scriptaculo etc.)

Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-2098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship updated TAPESTRY-2098:
-------------------------------------------

    Fix Version/s:     (was: 5.0.10)
                   5.0.11

> Pack javascript (prototype, scriptaculo etc.)
> ---------------------------------------------
>
>                 Key: TAPESTRY-2098
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2098
>             Project: Tapestry
>          Issue Type: Wish
>          Components: tapestry-core
>    Affects Versions: 5.0.10
>            Reporter: Alexey Pomogaev
>             Fix For: 5.0.11
>
>
> Current JavaScript: prototype.js, sriptaculo.js etc. in tapestry resources not packed. Please pack this.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Closed: (TAPESTRY-2098) Pack javascript (prototype, scriptaculo etc.)

Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-2098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAPESTRY-2098.
------------------------------------------

       Resolution: Duplicate
    Fix Version/s:     (was: 5.1)
         Assignee: Howard M. Lewis Ship

TAPESTRY-1792

> Pack javascript (prototype, scriptaculo etc.)
> ---------------------------------------------
>
>                 Key: TAPESTRY-2098
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2098
>             Project: Tapestry
>          Issue Type: Wish
>          Components: tapestry-core
>    Affects Versions: 5.0.10
>            Reporter: Alexey Pomogaev
>            Assignee: Howard M. Lewis Ship
>
> Current JavaScript: prototype.js, sriptaculo.js etc. in tapestry resources not packed. Please pack this.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Commented: (TAPESTRY-2098) Pack javascript (prototype, scriptaculo etc.)

Posted by "Adam Ayres (JIRA)" <de...@tapestry.apache.org>.
    [ https://issues.apache.org/jira/browse/TAPESTRY-2098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12563418#action_12563418 ] 

Adam Ayres commented on TAPESTRY-2098:
--------------------------------------

Please consider the following when evaluating this issue:

* [JS Libraries load slower when packed + gzip then just gzip alone|http://jst.pbwiki.com/summary.php]
* [Packing JavaScript might be a security thread|http://www.secureworks.com/research/threats/thepacker/]

My preference would be to see something native to Tapestry that had the ability to combine and minify the JS assets (I believe this has been discussed in the past).  Combining can be tricky since there are JS assets that might be considered "core" and included on every page (such as the third party libs or common internal libs).  Then there are page specific JS assets which would be nice if they were combined separately from the "core" libs (for client caching purposes).  Having control over where the combined JS file is included is also important (in the head vs right before the script block and closing body tag).   Just my two cents, keep up the great work Howard!




> Pack javascript (prototype, scriptaculo etc.)
> ---------------------------------------------
>
>                 Key: TAPESTRY-2098
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2098
>             Project: Tapestry
>          Issue Type: Wish
>          Components: tapestry-core
>    Affects Versions: 5.0.10
>            Reporter: Alexey Pomogaev
>             Fix For: 5.0.10
>
>
> Current JavaScript: prototype.js, sriptaculo.js etc. in tapestry resources not packed. Please pack this.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Updated: (TAPESTRY-2098) Pack javascript (prototype, scriptaculo etc.)

Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-2098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship updated TAPESTRY-2098:
-------------------------------------------

    Fix Version/s:     (was: 5.0.11)
                   5.1

> Pack javascript (prototype, scriptaculo etc.)
> ---------------------------------------------
>
>                 Key: TAPESTRY-2098
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2098
>             Project: Tapestry
>          Issue Type: Wish
>          Components: tapestry-core
>    Affects Versions: 5.0.10
>            Reporter: Alexey Pomogaev
>             Fix For: 5.1
>
>
> Current JavaScript: prototype.js, sriptaculo.js etc. in tapestry resources not packed. Please pack this.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Commented: (TAPESTRY-2098) Pack javascript (prototype, scriptaculo etc.)

Posted by "Ernest Monklitch (JIRA)" <de...@tapestry.apache.org>.
    [ https://issues.apache.org/jira/browse/TAPESTRY-2098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12564351#action_12564351 ] 

Ernest Monklitch commented on TAPESTRY-2098:
--------------------------------------------

Also all JS should be in a separate jar that developer could choose to use or not. This way if Tapestry sees that there is no JS available it won't use it at all. The functionality is there in the components. (Because all components fallback to ordinary whole-page-post cycle if user doesn't have js turned on.)

This would be very nice because some clients still don't accept _any_ javascript to be referenced in the html and / or sent to browser. (Or their inhouse developed browser-client.)

Anyways, that would be the perfect world. I haven't looked at the source but this can't be impossible, right? I'm volunteering to do the job also, but this really need to be thought through twice before implementing.. 

Also could it be possible to give developers the possibility to replace scriptaculous/prototype with their own choice. (Going a bit too far there?) I mean that core Tapestry would provide a set of interfaces that the JS jar must provide to work. (The interfaces would return JS that would achieve whatever Tapestry needs in the browser side.) After this change the Tapestry ajax support would be only reference implementation using scriptaculous/prototype.

But, back to the point: there should be developer configurable on/off toggle that would hide the JS entirely from the client. 

> Pack javascript (prototype, scriptaculo etc.)
> ---------------------------------------------
>
>                 Key: TAPESTRY-2098
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2098
>             Project: Tapestry
>          Issue Type: Wish
>          Components: tapestry-core
>    Affects Versions: 5.0.10
>            Reporter: Alexey Pomogaev
>             Fix For: 5.0.10
>
>
> Current JavaScript: prototype.js, sriptaculo.js etc. in tapestry resources not packed. Please pack this.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org