gap8u Posted December 14, 2011 Share Posted December 14, 2011 Guys, Thank you for all you do. This really is a great place. After developing a site and uploading then continuing to update the code, I am looking for a habitual process for updating files while not be afraid of losing the old code in case something goes wrong. I cant seem to get my head around the best method of naming, saving, removing, panicking...etc. Just looking for your methods of the development process in terms of file organization. I would list what I do now but I never do the same thing twice.... You guys are unbelievable. Google is awesome. Quote Link to comment https://forums.phpfreaks.com/topic/253162-development-advice-please/ Share on other sites More sharing options...
KevinM1 Posted December 14, 2011 Share Posted December 14, 2011 What you need is a version control system. Look into Git or Subversion. Quote Link to comment https://forums.phpfreaks.com/topic/253162-development-advice-please/#findComment-1297846 Share on other sites More sharing options...
QuickOldCar Posted December 14, 2011 Share Posted December 14, 2011 I usually just add a number to the front and save as that, keeping the newest code the original name. After a while i tend to shuffle them off to another drive or burn them...just in case ever needed them. But you can look into github for keeping your latest code together and up to date. Download git Quote Link to comment https://forums.phpfreaks.com/topic/253162-development-advice-please/#findComment-1297847 Share on other sites More sharing options...
Adam Posted December 14, 2011 Share Posted December 14, 2011 QuickOldCar: you don't need to use github (or a remote repo in general) to use Git (or other version control software). You can just maintain a local repository. Quote Link to comment https://forums.phpfreaks.com/topic/253162-development-advice-please/#findComment-1297870 Share on other sites More sharing options...
scootstah Posted December 16, 2011 Share Posted December 16, 2011 gap8u: You should be using version control. And/or a deployment system (which you can also do with version control, somewhat). You should never just push files to a live server with no fallback plan. I usually just add a number to the front and save as that, keeping the newest code the original name. After a while i tend to shuffle them off to another drive or burn them...just in case ever needed them. Eek. Quote Link to comment https://forums.phpfreaks.com/topic/253162-development-advice-please/#findComment-1298347 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.