You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Werner Punz (JIRA)" <de...@myfaces.apache.org> on 2011/09/14 14:37:08 UTC

[jira] [Created] (MYFACES-3305) jsf.js: major code cleanup and refactoring

jsf.js: major code cleanup and refactoring
------------------------------------------

                 Key: MYFACES-3305
                 URL: https://issues.apache.org/jira/browse/MYFACES-3305
             Project: MyFaces Core
          Issue Type: Improvement
    Affects Versions: 2.0.10-SNAPSHOT, 2.1.4-SNAPSHOT
            Reporter: Werner Punz
            Assignee: Werner Punz
            Priority: Minor


The current xhr core of our jsf.js implementation is somewhat messy. I have started to clean up the core and generally 
some myfaces jsf.js parts. The idea is to implement a xhr level2 interface on top of xhr level1 and iframe so that our ajax request class can utilize the cleaner xhr level2 interface or the native xhr level2 objects whenever present.
The idea is to split the current ajax request classes into an engine part and a jsf part the jsf part should keep the logic as is
and the engine part should be a plain xhr implementation which follows closely the xhr level2 interface.

Additionally to that I want to move the ajax response and ajax utils classes into singletons for performance reasons and clean up the code generally a little bit.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (MYFACES-3305) jsf.js: major code cleanup and refactoring

Posted by "Werner Punz (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/MYFACES-3305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Werner Punz resolved MYFACES-3305.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.4-SNAPSHOT
                   2.0.10-SNAPSHOT

changes are now committed


> jsf.js: major code cleanup and refactoring
> ------------------------------------------
>
>                 Key: MYFACES-3305
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3305
>             Project: MyFaces Core
>          Issue Type: Improvement
>    Affects Versions: 2.0.10-SNAPSHOT, 2.1.4-SNAPSHOT
>            Reporter: Werner Punz
>            Assignee: Werner Punz
>            Priority: Minor
>             Fix For: 2.0.10-SNAPSHOT, 2.1.4-SNAPSHOT
>
>
> The current xhr core of our jsf.js implementation is somewhat messy. I have started to clean up the core and generally 
> some myfaces jsf.js parts. The idea is to implement a xhr level2 interface on top of xhr level1 and iframe so that our ajax request class can utilize the cleaner xhr level2 interface or the native xhr level2 objects whenever present.
> The idea is to split the current ajax request classes into an engine part and a jsf part the jsf part should keep the logic as is
> and the engine part should be a plain xhr implementation which follows closely the xhr level2 interface.
> Additionally to that I want to move the ajax response and ajax utils classes into singletons for performance reasons and clean up the code generally a little bit.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira