You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Christian Gorbach (JIRA)" <de...@tapestry.apache.org> on 2008/02/20 09:17:44 UTC

[jira] Created: (TAPESTRY-2179) Javascript Adapter Architecture

Javascript Adapter Architecture
-------------------------------

                 Key: TAPESTRY-2179
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2179
             Project: Tapestry
          Issue Type: Improvement
          Components: Core Components
    Affects Versions: 5.0.10
            Reporter: Christian Gorbach
            Priority: Minor
             Fix For: 5.0.11


Almost every aspect in T5 can be easily overridden or decorated - except the client side javascript code.

A lightweight javascript isolation layer would allow people to swap the javascript frameworks.
http://extjs.com/ uses this approach (can be driven by own, prototype, jquery, etc..) and it works well.

The isolation level layer should respect javascript programming patterns (module pattern, keep the DOM clean,..). This would allow T5 to smoothly integrate in existing (corporate) environments.

See Discussion on Howards blog:
http://tapestryjava.blogspot.com/2008/02/prototype-and-custom-events.html
Javascript patterns:
http://klauskomenda.com/code/javascript-programming-patterns/



-- 
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-2179) Javascript Adapter Architecture

Posted by "Francois Armand (JIRA)" <de...@tapestry.apache.org>.
    [ https://issues.apache.org/jira/browse/TAPESTRY-2179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12581834#action_12581834 ] 

Francois Armand commented on TAPESTRY-2179:
-------------------------------------------

The Tapestry irc channel #tapestry on freenode brings the topic of cometd / bayeux protocols and implementation, which are push system for AJAX (the server signal update to the client, and so the client does not have to pop the server periodically). 

Reference :
- The Bayeux protocol : http://svn.xantus.org/shortbus/trunk/bayeux/bayeux.html
- Comet daemon (cometd) : http://cometd.com/
This is java implementation as a servlet (embedded with the Jetty project): http://svn.xantus.org/shortbus/trunk/cometd-java/README.TXT


> Javascript Adapter Architecture
> -------------------------------
>
>                 Key: TAPESTRY-2179
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2179
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: Core Components
>    Affects Versions: 5.0.10
>            Reporter: Christian Gorbach
>            Priority: Minor
>             Fix For: 5.1
>
>
> Almost every aspect in T5 can be easily overridden or decorated - except the client side javascript code.
> A lightweight javascript isolation layer would allow people to swap the javascript frameworks.
> http://extjs.com/ uses this approach (can be driven by own, prototype, jquery, etc..) and it works well.
> The isolation level layer should respect javascript programming patterns (module pattern, keep the DOM clean,..). This would allow T5 to smoothly integrate in existing (corporate) environments.
> See Discussion on Howards blog:
> http://tapestryjava.blogspot.com/2008/02/prototype-and-custom-events.html
> Javascript patterns:
> http://klauskomenda.com/code/javascript-programming-patterns/

-- 
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: (TAP5-93) Javascript Adapter Architecture

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

Howard M. Lewis Ship updated TAP5-93:
-------------------------------------

    Issue Type: New Feature  (was: Bug)

> Javascript Adapter Architecture
> -------------------------------
>
>                 Key: TAP5-93
>                 URL: https://issues.apache.org/jira/browse/TAP5-93
>             Project: Tapestry 5
>          Issue Type: New Feature
>    Affects Versions: 5.0.15
>            Reporter: Christian Gorbach
>            Priority: Minor
>
> Almost every aspect in T5 can be easily overridden or decorated - except the client side javascript code.
> A lightweight javascript isolation layer would allow people to swap the javascript frameworks.
> http://extjs.com/ uses this approach (can be driven by own, prototype, jquery, etc..) and it works well.
> The isolation level layer should respect javascript programming patterns (module pattern, keep the DOM clean,..). This would allow T5 to smoothly integrate in existing (corporate) environments.
> See Discussion on Howards blog:
> http://tapestryjava.blogspot.com/2008/02/prototype-and-custom-events.html
> Javascript patterns:
> http://klauskomenda.com/code/javascript-programming-patterns/

-- 
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: (TAP5-93) Javascript Adapter Architecture

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

Howard M. Lewis Ship closed TAP5-93.
------------------------------------

    Resolution: Duplicate

> Javascript Adapter Architecture
> -------------------------------
>
>                 Key: TAP5-93
>                 URL: https://issues.apache.org/jira/browse/TAP5-93
>             Project: Tapestry 5
>          Issue Type: New Feature
>    Affects Versions: 5.0.15
>            Reporter: Christian Gorbach
>            Priority: Minor
>
> Almost every aspect in T5 can be easily overridden or decorated - except the client side javascript code.
> A lightweight javascript isolation layer would allow people to swap the javascript frameworks.
> http://extjs.com/ uses this approach (can be driven by own, prototype, jquery, etc..) and it works well.
> The isolation level layer should respect javascript programming patterns (module pattern, keep the DOM clean,..). This would allow T5 to smoothly integrate in existing (corporate) environments.
> See Discussion on Howards blog:
> http://tapestryjava.blogspot.com/2008/02/prototype-and-custom-events.html
> Javascript patterns:
> http://klauskomenda.com/code/javascript-programming-patterns/

-- 
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-2179) Javascript Adapter Architecture

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

Francois Armand updated TAPESTRY-2179:
--------------------------------------

    Comment: was deleted

> Javascript Adapter Architecture
> -------------------------------
>
>                 Key: TAPESTRY-2179
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2179
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: Core Components
>    Affects Versions: 5.0.10
>            Reporter: Christian Gorbach
>            Priority: Minor
>             Fix For: 5.1
>
>
> Almost every aspect in T5 can be easily overridden or decorated - except the client side javascript code.
> A lightweight javascript isolation layer would allow people to swap the javascript frameworks.
> http://extjs.com/ uses this approach (can be driven by own, prototype, jquery, etc..) and it works well.
> The isolation level layer should respect javascript programming patterns (module pattern, keep the DOM clean,..). This would allow T5 to smoothly integrate in existing (corporate) environments.
> See Discussion on Howards blog:
> http://tapestryjava.blogspot.com/2008/02/prototype-and-custom-events.html
> Javascript patterns:
> http://klauskomenda.com/code/javascript-programming-patterns/

-- 
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-2179) Javascript Adapter Architecture

Posted by "Francois Armand (JIRA)" <de...@tapestry.apache.org>.
    [ https://issues.apache.org/jira/browse/TAPESTRY-2179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570622#action_12570622 ] 

Francois Armand commented on TAPESTRY-2179:
-------------------------------------------

There was several threads on the mailing about this topic, one of them being : http://www.nabble.com/Prototype-vs.-JQuery-vs.-Dojo-0.9-vs.-----tt13011440.html#a13011440

The isolation layer / adapter approach is a recurrent pattern in most of them.

There is also an open about "Tracking issue for Ajax support" that may be linked to this issue : https://issues.apache.org/jira/browse/TAPESTRY-1650

> Javascript Adapter Architecture
> -------------------------------
>
>                 Key: TAPESTRY-2179
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2179
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: Core Components
>    Affects Versions: 5.0.10
>            Reporter: Christian Gorbach
>            Priority: Minor
>             Fix For: 5.0.11
>
>
> Almost every aspect in T5 can be easily overridden or decorated - except the client side javascript code.
> A lightweight javascript isolation layer would allow people to swap the javascript frameworks.
> http://extjs.com/ uses this approach (can be driven by own, prototype, jquery, etc..) and it works well.
> The isolation level layer should respect javascript programming patterns (module pattern, keep the DOM clean,..). This would allow T5 to smoothly integrate in existing (corporate) environments.
> See Discussion on Howards blog:
> http://tapestryjava.blogspot.com/2008/02/prototype-and-custom-events.html
> Javascript patterns:
> http://klauskomenda.com/code/javascript-programming-patterns/

-- 
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-2179) Javascript Adapter Architecture

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

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

    Fix Version/s:     (was: 5.0.11)
                   5.1

Not going to make it into 5.0.

> Javascript Adapter Architecture
> -------------------------------
>
>                 Key: TAPESTRY-2179
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2179
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: Core Components
>    Affects Versions: 5.0.10
>            Reporter: Christian Gorbach
>            Priority: Minor
>             Fix For: 5.1
>
>
> Almost every aspect in T5 can be easily overridden or decorated - except the client side javascript code.
> A lightweight javascript isolation layer would allow people to swap the javascript frameworks.
> http://extjs.com/ uses this approach (can be driven by own, prototype, jquery, etc..) and it works well.
> The isolation level layer should respect javascript programming patterns (module pattern, keep the DOM clean,..). This would allow T5 to smoothly integrate in existing (corporate) environments.
> See Discussion on Howards blog:
> http://tapestryjava.blogspot.com/2008/02/prototype-and-custom-events.html
> Javascript patterns:
> http://klauskomenda.com/code/javascript-programming-patterns/

-- 
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