In a multipurpose website (user system, lots of database operations on different tables, schedule creators, ) should all PHP request be centralized to one app?For example, my current set up is like this:User related requests go to users.phpManaging a specific MySQL table goes to ../tables/thatTableName.phpManaging a schedule goes to schedule.phpetc.Each of these files has their own way to process incoming requests ($_POST and $_GET).Another approach is to centralize is this into something like a main.php which would process all requests, create necessary classes when required (like a user), and co-ordinate all tasks. What are the benefits and drawbacks of either approach?
Should all PHP requests be centralized?
php