You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "fritz (JIRA)" <ji...@apache.org> on 2010/07/19 14:08:59 UTC

[jira] Commented: (TAP5-486) Switch Tapestry's built-in JavaScript support from Prototype to jQuery

    [ https://issues.apache.org/jira/browse/TAP5-486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889836#action_12889836 ] 

fritz commented on TAP5-486:
----------------------------

There's no rationale for having Java developers dictating what Javascript framework front end developers should be using. Surely the way forward is to decouple the two to allow developers to plug in ANY framework they want into Tapestry.

Prototype is not the best framework out there. I suspect Java developers only picked Prototype because it uses the word 'Class' which give them a warm fuzzy feeling.

> Switch Tapestry's built-in JavaScript support from Prototype to jQuery
> ----------------------------------------------------------------------
>
>                 Key: TAP5-486
>                 URL: https://issues.apache.org/jira/browse/TAP5-486
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.1.0.0
>            Reporter: Howard M. Lewis Ship
>
> Like rats deserting a sinking ship ...
> This is not a definitive requirement; I've created this issue to promote discussion.
> It's quite likely that a move like this could be accomplished quite smoothly for users who are meerly consumers of JavaScript components; authors of JavaScript components would have to make some changes.
> Possibly we should code the jQuery stack from the get-go to NOT use the $() method, but instead use j$(). That extra character to type could make all the difference is allowing a smooth upgrade, where jQuery becomes the default, but prototype/scriptaculous can still be used.
> Possibly a new annotation, @PrototypeSupport for components to ensure that the Prototype libraries are available for compatibility?

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