Sample PHP code for custom MVC