Return-Path: X-Original-To: apmail-tapestry-commits-archive@minotaur.apache.org Delivered-To: apmail-tapestry-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EDB353167 for ; Fri, 6 May 2011 07:34:48 +0000 (UTC) Received: (qmail 11514 invoked by uid 500); 6 May 2011 07:34:48 -0000 Delivered-To: apmail-tapestry-commits-archive@tapestry.apache.org Received: (qmail 11332 invoked by uid 500); 6 May 2011 07:34:44 -0000 Mailing-List: contact commits-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tapestry.apache.org Delivered-To: mailing list commits@tapestry.apache.org Received: (qmail 11210 invoked by uid 99); 6 May 2011 07:34:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 May 2011 07:34:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 May 2011 07:34:41 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 459FBC3C54 for ; Fri, 6 May 2011 07:34:03 +0000 (UTC) Date: Fri, 6 May 2011 07:34:03 +0000 (UTC) From: "Massimo Lusetti (JIRA)" To: commits@tapestry.apache.org Message-ID: <447534453.27507.1304667243282.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (TAP5-999) Implement an agnostic tapestry.js layer + adapters to allow developers to switch from prototype to jquery MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/TAP5-999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13029807#comment-13029807 ] Massimo Lusetti commented on TAP5-999: -------------------------------------- How this will deal with project like https://github.com/got5/tapestry5-jquery that already provide a sort of js library switching? Will make them all obsolete? > Implement an agnostic tapestry.js layer + adapters to allow developers to switch from prototype to jquery > --------------------------------------------------------------------------------------------------------- > > Key: TAP5-999 > URL: https://issues.apache.org/jira/browse/TAP5-999 > Project: Tapestry 5 > Issue Type: Wish > Components: tapestry-core > Affects Versions: 5.1.0.7, 5.0.19 > Reporter: Christophe Cordenier > Assignee: Howard M. Lewis Ship > > As per the discussion on the mailing about Tapestry 5 and jQuery, i create this JIRA to compile the toughts of everyone for this feature. > As Howard said on the mailing list, goals are : > Goal #1: Backwards compatibility > Goal #2: Documented > Goal #3: Plugability / Extensibility / Overridablilty > First design thoughts suggested by howard are (extracted from Howard's answer) : > 1. tapestry.js defines a Tapestry namespace with key function properties for the standard stuff > 2. split current tapestry.js into more smaller files > 3. In addition to tapestry.js, ... include either tapestry-prototype-adapter.js (plus prototype.js and scriptaculous.js) OR tapestry-jquery-adapter.js (plus jquery.js). > 4. tapestry.js [should] be smaller handlers that often just fire additional events; a cascade of events that eventually results in server-side requests > Objectives : > 1. make certain parts more pluggable i.e. Popup Bubbles > 2. write javascript with functional closures > 3. ... element could have at most one active animation; the animation would have to complete before the next one (cf. jQuery animation and queuing mechanism) > Challenges : > 1. Remove prototype code from tapestry.js > 2. Keep backward compatibility with existing Tapestry object -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira