Visitar URL original
Joomla support · Issue #337 · php-pm/php-pm · GitHub
Skip to content

Joomla support #337

Open
Open

Description

@balping

Is it theoretically possible to integrate php-pm with joomla?

Activity

  1. marcj commented on Jan 9, 2018

    @marcj
    Member

    If they have proper abstraction. What kind of framework are they using and how are requests handled? No globals are allowed ($_GET, $_POST etc).

  2. balping commented on Jan 9, 2018

    @balping
    Author

    I'm not very familiar with their codebase, but they seem to have some abstractions, like routers, dispatchers and a JInput class, that is used to retrieve request parameters if I'm not mistaken:

    https://docs.joomla.org/Retrieving_request_data_using_JInput
    https://github.com/joomla/joomla-cms/blob/3.9-dev/libraries/vendor/joomla/input/src/Input.php

    There's also this page that describes the life-cycle of a request (seems outdated though!).

    But even if requests are handled in an abstract way in the core, nothing stops plugins from accessing global variables, but I think this latter is a marginal issue.

  3. f-liva commented on Apr 18, 2018

    @f-liva

    I'm also interested, can I help in any way?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions