Answer the question
In order to leave comments, you need to log in
What is the best PHP framework to use for writing a modular CMS?
Good afternoon.
I was faced with the task of developing a site, "under the wing" of which heterogeneous functionality should be available, which, moreover, will constantly expand in the sense of adding fundamentally new sections (perhaps by different people). Those. functionality expansion should be provided from the very beginning so that subsequent integrations of new parts of the application are as automatic as possible.
For brevity, I will call this heterogeneous functionality modules (although I'm not sure if this is the right word).
I want to emphasize that a module does not mean just some useful functionality, not some new library, but a set of software tools and data that allows you to display some information on the site "from and to", i.e. each module must have a controller, its own models, classes for working with the database, views, and, most importantly, the program code of the client part of the application (all this must correspond to interfaces common to the entire application).
I imagine the solution to this problem as follows (thesis):
Answer the question
In order to leave comments, you need to log in
Now lovers of their own will come running and will drag the blanket in all directions (symphony, ui2, laravel and others). The topic is hackneyed, the conclusion is to write on what you can / conveniently
Yii2 is MCV. HMVC in yii2 is implemented only with an ax and a shovel, which is highly discouraged by the developers of the framework and is considered idiotic. Modular structure - no problem. Write a CMS without problems.
I had exactly the same idea a few years ago (I used Joomla but ran into the fact that it is difficult to do customization in it and some things are not possible at all without changing the core). The idea was to make the same CMS with Joomla capabilities only for programmers and modular with installable / uninstallable parts (modules also conceived not just libraries with code, but also with their own visual interfaces) I
started writing my own framework , made several projects on it. A couple of years later I learned about yii, symfony and others. Now they have developed well since their first versions.
Of course, I would not recommend using my framework yet: there is no documentation (in the 2.0 version there is only one page) and people who are used to writing in yii and other ready-made solutions are skeptical about it.
Now I'm writing 3.0 with Composer support, and other wishes.
Any frameworks are good if you know how to use them.
ps I will be glad to welcome everyone (on the git) who asks the same questions as the author, and is ready to participate in bringing this idea to life.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question