Silverstripe Version:
SS4.1
Question:
What is the best Folder structure for Page and Page Controller (and the classes that extend them - e.g. HomePage)
I have seen a few different options here:
should it be:
/src/PageTypes/Page.php and
/src/PageTypes/PageController.php
OR
/src/Control/PageController.php and
/src/Model/Page.php
OR
/src/Page.php and
/src/PageController.php
OR
/src/Pages/Page.php and
/src/Control/PageController.php
this is what we use at the moment
OR
…
It would be good to establish best practice so that we can follow it
Thank you!