07-19-2023, 05:01 PM
I'm currently starting to write my own CMS in php from ground up using CakePHP (or should i use something else?) for my bachelors degree. And i'm thinking about various stuff that will be needed to do.
One of the things i can not figure out is if i should use a single file (for example, index.php will handle everything, and will include everything) or i should break up my cms into a few smaller files.
so my main questions are
* is cakePHP a good choice?
* use one file for everything or use multiple files?
* do you have any good general advice on building more complex websites using php or any best-practices advice (i don't really understand why they don't teach us this in school)
One of the things i can not figure out is if i should use a single file (for example, index.php will handle everything, and will include everything) or i should break up my cms into a few smaller files.
so my main questions are
* is cakePHP a good choice?
* use one file for everything or use multiple files?
* do you have any good general advice on building more complex websites using php or any best-practices advice (i don't really understand why they don't teach us this in school)