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

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development