View Single Post
Old 10-02-2012, 09:05 PM   PM User | #5
tangoforce
Senior Coder

 
tangoforce's Avatar
 
Join Date: Feb 2011
Location: Your Monitor
Posts: 3,665
Thanks: 45
Thanked 456 Times in 444 Posts
tangoforce will become famous soon enoughtangoforce will become famous soon enough
Quote:
Originally Posted by BDETCINC View Post
Thanks for your insight. This programmer has created a quite intricate site with PHP so it is apparent that it has extensive capabilities. Most of the site work most of the time, but occasionally a major function will stop working, which would be detrimental if it were being publicly used.

This was quite a bit more complicated than anticipated and I am amazed he'd hung in there, but he can't seem to get the whole thing to work smoothly. What would you recommend I do based on the fact that this complex site has been mostly built but has constant bugs and malfunctions?
Realistically there isn't much you can do to 'manage' this. It's one of two things once you hire another coder:

1) Have someone go through it, debug it and fix it (time consuming, may do a lot more damage than it fixes)
2) Have it re-written from the ground up.

Option 1 IMO would be a nightmare scenario BUT having said that, there are some bl**dy good coders who can see straight through code, clean it up, re-write it etc and do it quickly. It really depends on how much code there is and what the database is like - that may need restructuring too.

Option 2 is quite possibly the better option but again its more development time from the ground up. That coder will also need time to debug and fix their own code (no-one writes perfect code instantly) and test its logic etc.

Which ever one you choose, you have risk I'm afraid. When I say risk, I mean in terms of time and money. What you want done is doable its just a matter of damage limitation and unfortunately both could be very expensive.

How many different php files are there for this project? Is it a large, medium or small project? - These will also affect it. If its a huge project you may well be better off going with option 1 and applying fixes as you find them. Not ideal I know but it may get you up and running faster than starting from scratch.
__________________
Please don't be rude: Put your php code in [php][/php] tags. It is a sticky topic at the top of the forum and it HELPS us to HELP YOU!
TIP: Coding styles and $end errors :::::::::: TIP: Warning: Cannot modify header information - headers already sent :::::::::: TIP: Quotes / Parse error: syntax error, unexpected T_..
PHP Code:
//Please don't use this for your form processing:
if (isset($_POST['submit']))
//Internet explorer has a bug and does not always send the submit value. 
Explanation: The IE if(isset($_POST['submit'])) bug explained.
tangoforce is offline   Reply With Quote