• Icon: Sub-task Sub-task
    • Resolution: Duplicate
    • Icon: Major Major
    • 3.0 Beta 1
    • None
    • admininterface, core
    • None

      We have done the major step for modularizing magnolia. I would like go a step further before we release 3.0.

      Goal


      • tie everything together (one jar per module)
      • slim webapp (only stuff which an enduser concerns about: templates, css)
      • easier development process

      Changes
      -------
      A) Additional Bootstrap

      • A module has a bootstrap dir in the resources (during installation the content get's imported)

      B) Templates , .. per module

      • Each module configuration has a dialog, paragraph, templates config (instead of registering them in the templating module)
      • The current templating module is renamed to samples

      C) remove admindocroot and admintemplates

      • only the template and paragraph jsps and resources are extracted from the jar and written to the filesystem
      • the resources used in the admin interface are served by the resource servlet
      • NO jsps for the admin-interface (see below)

      D) New module definition no longer in the manifest file

      • the definition is in an xml file META-INF/magnolia/xxx.xml
        --> during development one has not always a proper jar (with manifest)

      E) subdir per module

      • docroot/module
      • templates/module
      • if a new version is installed the dirs get rewritten completely

      NO JSP in the admin interfaces
      ______________________________
      In future we will use JSF and FreeMarker. As a mid-step I would like to change the dialogpages (not the dialogs). We call them newly pages. The default page uses a template named like the classname. With this we can avoid the jsps in admintemplates. The module register it's pages (like we do currently for trees, ...) and a main servlet processes this pages.

            pbaerfuss Philipp Bärfuss
            pbaerfuss Philipp Bärfuss
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: