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 (Reopened) (JIRA)" <de...@myfaces.apache.org> on 2011/10/21 20:54:32 UTC

[jira] [Reopened] (MYFACES-3361) jsf.js: code restructuration for size and speed improvlements

     [ https://issues.apache.org/jira/browse/MYFACES-3361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Werner Punz reopened MYFACES-3361:
----------------------------------

      Assignee: Werner Punz  (was: Leonardo Uribe)

I also want to split the RT into a Core RT and a quirks RT so that we can isolate legacy browser specific code from the RT and remove it for our minimal-modern build.

                
> jsf.js: code restructuration for size and speed improvlements
> -------------------------------------------------------------
>
>                 Key: MYFACES-3361
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3361
>             Project: MyFaces Core
>          Issue Type: Improvement
>    Affects Versions: 2.0.10-SNAPSHOT, 2.1.4-SNAPSHOT
>            Reporter: Werner Punz
>            Assignee: Werner Punz
>             Fix For: 2.0.10, 2.1.4
>
>         Attachments: Adding_modular_jsf_js_support_.patch
>
>
> h2. Currently we have one big jsf.js file with all code in
> * *core* which implements all of the spec
> * *i18n* which implements the language messages for currently 7 languages
> * *experimental* which implements features targetted for jsf 2.2 onwards
> * *quirksmode* code which supports non standard compliant browsers
> The idea is to still keep one big file, but also provide several files which partially can be mixed to achieve the functionality needed
> h2. We are going to allow 
> * one big file which resembles our current jsf.js
> * a base file which resembles the core + quirksmode
> * a modern browser file which resembles the core only without quirksmode code
> * a separate i18n file for the i18n messages
> * a legacy file for quirksmode browsers
> * an experimental file with all non standard features combined
>  In the end the plan is to allow the users to mix those feature sets to reduce the import size while still retaining all the existing
> functionality.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira