62
juzles
8y

I just got handed a legacy php web project... Full of vulnerabilities... And it's using only mysql_ functions... Not only it's not OOP, there is not even a single class...

How good it's coded: User profiles are created manually by the frontend dev as htmls, and then the past php dev implemented them as links etc in the current page.

This is how I feel:

Comments
  • 9
    God speed fellow dev.... God speed
  • 2
    Lol, I know exactly how you felt.

    Refactoring is futile...

    Wish I could just scrap the thing and rewrite the whole site :/
  • 2
    Does your company also sell wordpress websites? because I can really relate to this
  • 1
    It hurts!!!! God speed.

    I had to do something similar to this a few years ago. You are going to have to fight the urge to rewrite because its going to haunt you every moment you look at the code. My 2 cents: take it slow, refactor one tiny code block at a time.
  • 0
    @Stukongeluk I started hating wordpress some time ago so... But I liked it for small blogs and stuff like that before I got 'dirty'.

    @tbtmuse thats what I first thought of. Rewrite that mess. But I guess it might take me even longer time to finish like that because this thing is kind of big.
Add Comment