Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-2357

Introduce basic page controllers (mvc)

    XMLWordPrintable

Details

    • Change Request
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.5.0
    • Frontend (F)
    • Team A
    • Sprint 1

    Description

      There are number of goals for the initial step of MVC code refactoring:

      • improve structure/readability/maintainability of PHP code directly related to handling of forms, lists, etc
      • introduce page controllers, so it should be absolutely clear what code is used when we execute a particular action (for example, host creation)
      • forms should always specify an action by setting variable 'action' using POST or GET (preferably); for example, proxies.php?action=create
      • improve validation; for example, introduce support of array validation
      • get rid of use of the global variables such as _POST, _GET, _REQUEST, etc

      Next step might be refactoring of page_header,php and page_footer.php as well as creation of a single front-controller.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              alexei Alexei Vladishev
              Votes:
              3 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: