What is it like working with PHP in a real world environment, like the workforce?

Can confirm. I'm the sole developer at a 4-person company. This is my first job out of school and it's very involved and stressful but I can't say I don't enjoy it. It's a huge challenge and since I'm the only developer, I'm tasked with a lot more than just PHP. I install and maintain all the servers (Web, Email, some DNS, + others), develop responsive websites when given pixel-perfect print-style designs. I do a lot of requirements gathering from clients. I've developed anywhere from 2-page sites to ~40K LOC Laravel sites front to back. What I enjoy the least is making changes to websites that were subcontracted out to India, too many position:absolute's causes otherwise simple changes to take an hour or more.

I feel as though this is tremendous experience though. I've touched it all from front to back to even maintaining the local network. The biggest hurdle is establishing an efficient workflow with this chaotic setup. There are probably 10+ servers (Windows and Linux) some with SSH, some without. We also don't have a centralized place to store passwords they are all over the place and simply gaining access to a website can be the most time consuming.

I feel as though the existing setup is complex and broken beyond repair. Every new job, I try to do it right. There isn't enough time to migrate all the old stuff to something more consistent and maintainable. If it ain't broke don't fix it, cause I don't have the time and it probably won't work properly anyways. You have no idea how hard it is to maintain a backup plan with so many different servers, operating systems, frameworks and software stacks. The solution, we don't have a backup plan. I alleviate this by using Git for all new websites and their deployment. Many times I make edits to websites in-place. I cry evrytim but I'm getting oddly good at it.

Many times a simple change to a website means I'd have to test all corners of website that it affects. I don't have the time to do this so I just make sure it does what it's supposed to do and move on. If something's broken, the customer will let me know. It's not like I'm making 10K+ user websites. I'm getting really good at being able to tell whether or not the code I'm writing could cause problems elsewhere so amazingly, it works out.

Cluster fucks like these are what grow hair on your chest. I'm looking forward to my next job but I take enjoyment in feeling like I'm going to leave it better than I found it. My boss understands the challenges and is very respectful. If he wasn't I'd probably burn out past my breaking point.

/r/PHP Thread Parent