Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Joomla support #337

Open
balping opened this issue Jan 9, 2018 · 3 comments
Open

Joomla support #337

balping opened this issue Jan 9, 2018 · 3 comments

Comments

@balping
Copy link

balping commented Jan 9, 2018

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

@marcj
Copy link
Member

marcj commented Jan 9, 2018

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

@balping
Copy link
Author

balping commented Jan 9, 2018

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.

@f-liva
Copy link

f-liva commented Apr 18, 2018

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
Projects
None yet
Development

No branches or pull requests

5 participants