8

So I've noticed there's a lot of php hatred here on devRant xD Does anybody know of any modern php communities or forums to join? I've searched for a few but a lot are outdated.

Comments
  • 4
    devrant
  • 1
    @mebekix idk, I searched under php tags here on devrant and well.. it made me scared to know php lol
  • 6
    devRant has a few PHP devs so, hi from a PHP devπŸ‘‹
  • 9
    Ignore it. If you check the other posts from the people that bash PHP. They don't even have dev jobs, and only know js. So don't take them seriously. Most just say it for the upvotes now I think.
  • 0
    @J-2FA haven't heard of that one. Thanks :)
  • 0
    @oneinazillion13 Haha I couldn't agree more xD
  • 0
    @J-2FA noted!
  • 5
    I guess most of the hate for PHP dates back to <5.3 or shitty insecure tutorials... However if you know how to use the tools it's a nice cozy language!
  • 2
    @Wack yeah I've heard terrible stories of php in the past. Luckily, I started learning php with 7.1 and I think it's pretty awesome so far :)
  • 3
    @konicm8ker then you're one of the lucky ones. Imagine no real types for functions, no returntypes, old insecury `mysql_*` functions, legacy spaghetti code without classes (if you're lucky functions).

    What people also critisize is, that functions are named insonsistently, stuff like `str_...` but then there's also `str...` functions.

    Php usually runns single threaded but fir a webserver IMO that's a good thing.
  • 3
    @konicm8ker about the stories:

    I've seen horrible legacy code bases. Imagine a file with 8000-9000 lines of code, a hell of a lot of functions that then was included on almoast every page by hand. The best part about it was that there where about 5 of those. Written between 2003 to 2010.

    Ah the joy of legacy
  • 1
    @Wack wow that sounds horrific lol I've really enjoyed the mysqli functionality.
  • 3
    @konicm8ker I'd consider switching to PDO. Check out this ressource: https://phpdelusions.net/pdo

    Generally in terms of tutorials I'd recommend http://www.phptherightway.com/
  • 1
    @Wack Not the first time PDO has been recommended, I'll have to make time to learn that :) phptherightway is an excellent resource as well, thanks!
  • 3
    @konicm8ker trust me PDO takes some time but it's worth it! If you're looking for an ORM, you could take a look at Doctrine https://www.doctrine-project.org/
  • 1
    I do often browse /r/PHP on Reddit, sometimes there's quite useful stuff posted
  • 1
    #metoo

    PHP was my first language, so I'm connected with it in a special way. I wanted a job with it, but somehow I ended up doing frontend...

    ...but I bought a project in Yii2 from a colleague and doing 2 other projects in Laravel + Vue.js in my free time so thats going for me, which is nice
  • 1
    Feel free to discuss about PHP here.

    I don't know any php-specific online community but I like laravel community.
  • 1
    Php is outdated too, so you will be fine at this communities. πŸ™‚
  • 0
    @superuser just because it's old foes not make it outdated

    Go away childish troll.
  • 1
    @superuser so is C I guess, but most software wouldn't work without it.
  • 0
    Thanks for the positive feedback guys :D
Add Comment