MyFaces Core
  1. MyFaces Core
  2. MYFACES-3361

jsf.js: code restructuration for size and speed improvlements

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.10-SNAPSHOT, 2.1.4-SNAPSHOT
    • Fix Version/s: 2.0.10, 2.1.4
    • Component/s: None
    • Labels:
      None

      Description

      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

      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.

        Activity

        Werner Punz created issue -
        Werner Punz made changes -
        Field Original Value New Value
        Description 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

        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

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

        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.

        Werner Punz made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Werner Punz made changes -
        Attachment Adding_modular_jsf_js_support_.patch [ 12499859 ]
        Leonardo Uribe made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Assignee Leonardo Uribe [ lu4242 ]
        Fix Version/s 2.0.10 [ 12317870 ]
        Fix Version/s 2.1.4 [ 12317868 ]
        Resolution Fixed [ 1 ]
        Werner Punz made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Assignee Leonardo Uribe [ lu4242 ] Werner Punz [ werpu ]
        Werner Punz made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Werner Punz made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Werner Punz made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Werner Punz made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Werner Punz made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Leonardo Uribe made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Werner Punz
            Reporter:
            Werner Punz
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development