Hello,
I'm not using any MVC framework and my application structure is rather simple...
actions/
registration.php
classes/
views/
header.php
footer.php
registration.php
index.php
actions/registration.php
<?php
$variable = htmlspecialchars($_GET['name'], ENT_QUOTES).", are you ok!?";
include("views/registration.php");
?>
views/registration.php
<?php
include("header.php");
echo $variable;
include("footer.php");
?>
index.php is entrance, so, calling index.php?action=registration
will execute actions/registration.php
As you can see, this structure is rather simple and I think that almost every php developer has used this structure at some point. Do you have any advice regarding this application structure? How would you realize modules using this structure? Do you know any open source applications using this structure to explore?
Thank you!