H
H
Hello America2018-12-27 12:26:12
Joomla
Hello America, 2018-12-27 12:26:12

How to organize cross-platform module development for Joomla and WordPress?

I recently wrote a client module for Joomla. I liked the idea myself, so I decided to develop it and place it in the Joomla market and transfer the code to WP as well. So the question arose of how to organize cross-platform development of the module, highlighting the native part that interacts with the engine and the general part of the module itself, which does not depend on the CMS environment. Perhaps this does not concern the topic of developing for something, I just need to understand the essence of how cross-platform solutions are developed, dividing the part of the program execution environment and the general part of the working program. I worked with GitHub, but so far I have a vague idea of ​​how to organize a workflow for this task so that you can work like in a sandbox and compile with one click for different environments, although I understand that this can be organized this way and that, but I need the best option, which has already been rolled up by someone or perhaps there are already such control systems that you do not need to bother? Is it possible that Composer for PHP is needed here or something else?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Rekun, 2018-12-28
@b2z

You need something like this https://github.com/JBZoo/CrossCMS
But I would not try, it's easier to develop separately.

A
Antonio Solo, 2018-12-27
@solotony

it is necessary to develop 3 projects (independently)
1) the actual module in pure PHP providing a certain interface
2) the module for integration with WP using the interface
3) the module for integration with Joomla using the interface

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question