I’m beginning to re-think my approach of application logic and presentation. Currently my HTML is rather full of PHP - and even though I’ve tried to abstract as much of the logic as possible it’s still a large amount. I’m wandering how you guys do it - and what you think is best practice. I’ve read a lot about MVC - and whilst I think I understand it properly it seems I’m either
- Writing code more than once to accomplish something simple
- Or using large frameworks on a simple site
Are there any simple things I can do, best practises in this area, articles to read to help?
Thanks.