I have a site now that is doing very well and I need to expand it and grow and addon. The site was built in php/mysql/ajax and is a full blown social networking niche site. It was built around 3 years ago using smarty template but the new US based coder said that its a mess, spaghetti code and barely held together and terribly coded. I got a 2nd opinion and my other coding friend said it was very junior coders that did this and it does need to be rebuilt. I am OK with a full rebuild by a new team but before i search for them I just wanted some assistance from a coders point of view since i am not. This time around I do know i want a framework and I just want good clean php coding. Are there protocols or things i should ask for when finding this team so that i can relay to them I am in the know?
I guess my question is how or what can I do as a non coder to make sure they code this time around clean, commented, solid coding so that if and when we need future work anyone can work on this easily and it not be a mess and its just coded right.
I imagine most coding is logical and depends on the coding team but what can i do to find a coding team to let them know this needs to be done right.
I do pride myself on the ability to create a scope, flow and system so they easily know what i want and this time around they will have the old site to clone off of as well.
I was initially open to a CMS or 3rd party like drupal or joomla but feel i need a custom php solution due to the niche and flexibility of custom features I need. I do also want to stay with PHP and MYSQL as i want to merge the preexisting users with the new build.
ANy help would be great, thanks!