I have already done a PHP project, and I did a number of things pretty wrong :)I just had all pages as scripts with php mixed in with html. I also wasn't using a framework like cakephp. And I didn't really use objects, nor had any sort of test suite. :)This time around I want to get it right.  What should I do in terms of good practice approaches?  And what am I ok not using? Any suggestions? Tips?
New PHP project, how to best architect it
php;frameworks;mvc;system architecture
From what you've provided, it's difficult to offer anything other than general guidelines.SOLID principles of OO design and best practices such as those found in Kent Beck's Smalltalk Best Practice Patternsan architecture that is appropriate for your domain and well understood by you and/or your team (MVC, for example)mature frameworks or libraries with an eye to familiarity, community engagement, documentation, stability, etca coding style that favors consistency, readability and maintainabilitya commitment to automated testing and/or TDDa modern version control system (git, mercurial)a willingness to treat PHP like a real language and not just a collection of cobbled-together HTML templatesmost importantly, a process that is iteratively self-evaluating and self-improvingEdit: Finally, don't try to do too much at once. Make a change, give it time to set in, and evaluate that change. Keep what works.