Answer the question
In order to leave comments, you need to log in
Modular system in PHP, how to protect?
There was a need to write a project in PHP5, the so-called core for subsequent writing and connecting modules to it. The project is designed to ensure that modules for it are written not only by my hands, but also by other users. More specifically, a module will most likely be represented as a file containing the module's class. Right now I'm interested in the following:
Answer the question
In order to leave comments, you need to log in
the module will most likely be represented as a file containing the module class
Maybe I didn’t quite understand - but you write your own bicycle framework ...
What did you not like, for example, Zend or Symfony?
Yes - still - use the principle: - one class - one file - single responsibility.
And then, as I understand it, your module class will connect other modules and work with the database and perform some other functions ... This is the road to hell ...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question