51

I am a back-end developer, never suggested otherwise. My company is a firm of 50 people and owner hired a web designer to code our website. And it got hacked. Badly. So boss tells me to check if I can fix it. I take a look at the PHP and boy, written in PHP3, copy paste code from all over the place, hell the admin panel is a clone from a 2012 tutorial, nothing that remotely stares at the DB is checked for SQL, and now he wants me to design a new website, rewrite everything in PHP7 and had the balls to say "I know it's not your job, but it's a job, so do it"

Comments
  • 6
    Sounds like fun! 😬
  • 9
    @roxyLou but... CSS...
  • 5
    @Ajukilibodin good thing is, CSS is not written in PHP 😉
  • 0
    If he doesnt care, just take some client heavy stuff. For example React, Vue, ... You can pack it with webpack for any webserver.

    Then you just need to implement the backend connection in php (this time without sql-injection 😉).

    I'm currently working on a homepage with Vue2.0, Django and MongoDB. So far the only thing I hate is that Bootstrap needs to be a custom plugin for vue with webpack.

    But MongoDB is really great! Just like sending JSON queries (or dicts).
  • 0
    Tell your boss that you will need a front end developer you won't lose anything by asking.
Add Comment