Answer the question
In order to leave comments, you need to log in
Writing a CMS based on a framework?
Actually, I have been writing my own CMS for a long time (for specific needs) - recently I decided to implement a more or less universal CMS based on a framework ( YII ) . When I wrote the foundation, it turned out that resource consumption is unreasonably high, and it’s not possible to beautifully implement it without changing the key methods of the framework (for example, the init() method of the YiiBase class ). At this stage, development is going on, so to speak, just for fun.
So far there are only three options:
Answer the question
In order to leave comments, you need to log in
CMS on Yii has the right to exist only if the upgrade of the framework to a new version does not stop its work and all the functions of the framework will work as intended. Otherwise, it will already be a CMS based on something similar to Yii and the meaning is lost.
So options 2 and 3 are out of the question.
But to option 1, it makes sense to add “removing bottlenecks” that eat resources, either with a change in the framework and a mandatory commit to Yii itself ... (if they are accepted) or through pluginization that does not change the main Yii code (let's say an additional caching layer).
It's good that you realize that this is a bicycle.
If you want to write some kind of narrow CMS, then there is absolutely no need for you to use the YII framework in the form in which it is, if you think that it limits you.
In this case, options 2 and 3 remain. We need to go in the direction of minimizing costs with the same efficiency. If you can change YII to suit your needs, then the third option won't work.
But personally, for just for fun, I would prefer to do everything myself, it gives a wonderful experience.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question