I would like to argue why Kevin in his book has put the PHP code in different files (Template and controller)? Is that considered a good practice? what is the main reason behind it? Is related to MVC pattern?
And finally: will it affect the performance of the site?