I have a website that was created by a PHP programmer from scratch. Not "canned" as they call it. It's been up and running since the first of the year. So far everything for the most part has run smoothly. However, I recently found out that I will need to either find another programmer or learn how to maintain my own site if a problem arises. The programmer I had just has too many other projects going on.
There are several problems I can see with just hiring another programmer for say monthly support maintenance. The first being the fact that my site was coded from scratch and after talking with a couple PHP programmers they said it may be difficult to find someone that can go in my database and understand how the previous programmer accomplished what he did and how it all works, as some of the scripts may not be obvious as to their function.
So I'm back to plan B, which would be for me to somehow learn enough PHP to at least have an understanding of how my own website works and be competent enough to know how to check on something or fix something should the need arises. A tall order for someone that looks at PHP as a foreign language at best.
I do know some basic's when it comes to html. I've done some stuff in Frontpage and the like but am in no way proficient in html.
I'm taking an online PHP course and to be honest it's very slow going. I'm a visual learner so I find my comprehension of all this is not very good. I think part of the problem is that I unlike Frontpage, I have no understanding on where you write the scripts, how you upload them, etc.
I think in order for me to really get a solid understanding of PHP I need to first have an understanding of how you work PHP. Meaning:
- Do I need to download PHP onto my computer?
- Do I need to have Apache or something similiar to write the script/codes in?
- Do I need to have MySQL?
- How do you get the code from point A to point B (meaning uploading to the server?)
My site currently is on a VPS server and MySQL and phpmyadmin is installed on there. I can go into my Cpanel and see my directories and files. But all the text files that contain the PHP, when I click "view" a Dreamweaver box comes up and says I need to purchase it. I did a trial of that at some point so that is why I would imagine.
I guess what I'm asking is if someone could explain to me what all I need to have on my computer based on what I told you above and also explain the steps one takes to actually upload PHP to their server and how it gets neatly placed into the database.
Is there anyone out there that has been in a similar situation where you found yourself needing to learn PHP to maintain your site in the future? Going into this I didn't expect to lose my programmer otherwise I would of started the learning process long ago. Now I almost wish my site was in just html as I could handle that. But the way my site works, html wouldn't be enough. It needs the PHP to run properly.
Thank you for any assistance anyone can offer or at least pointing me in the right direction. I think if I can learn how PHP is uploaded and how my Cpanel works in that respect as well as what I need to have installed on my own computer then learning PHP itself might be a little easier. I learn by doing as well and would like to have whatever I need in place so I can actually try writing some scripts and try uploading and being able to see the end result. Is that something that I will be able to do through my website now? Like set up a seperate folder and do some testing that way so it won't mess up my current database?
Thank you.