Ok so as some of you may know i've been trying to get my head round OOPHP and have only just found some free time to come back to it.
In most tutorials ive been reading about OOPHP they have been saying about keeping the class lib (logic) apart from the "Veiws"(web pages). Ok, so i understand that and why to do that to keep it all neat etc but what is i just have small IF in the webpage? As in a 2 line if or just a very small amount of PHP code should this bit of "logic" be kept out of the "views" ??
I'm trying to build a clean small website that uses OPHP just to practise with. Where norm id just throw in PHP where ever i need it i understand that the consept of OOPHP is to minimse code for reuse. I'm finding it hard to know here everything is ment to go lol.
I want to be strict with myself so i don't fall into any bad habits too early on.
thanks for reading.
:quiet: