M
M
Mors Clamor2021-04-20 01:32:27
Yii
Mors Clamor, 2021-04-20 01:32:27

Yii2 modification?

Hello! I am writing a site on Yii2, along the way the question arose - how can I modify its work? I understand that the modification can be different, therefore:

1. For example, I want to implement new functionality, because I plan to start writing CMS based on Yii2
2. Somehow modify the work of the framework itself, for example, so that the settings are stored in YAML, or modify / change the work caching, whatever
3. Change the existing folder structure, for example, shove all the system code into the "core" folder, and leave only user files in the root, like templates, classes (for the same CMS)?

I thought about the option "There is a class/library/helper for each target". But will it be possible to change the operation of the kernel? Or are there some hooks in the kernel for this? Thanks in advance! Sorry if the question is wrong somewhere.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya, 2021-04-20
@66demon666

Why do you want to modify something? Write your modules ABOVE frameworks and implement any functionality.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question