Refactoring PHP: code layout and coding standards

Поделиться
HTML-код
  • Опубликовано: 28 авг 2024

Комментарии • 15

  • @alnahian2003
    @alnahian2003 10 месяцев назад

    You're so underrated, Dev! I actually feel sad for you

  • @DLooperLive
    @DLooperLive 4 года назад +2

    Thank you for the content

  • @asifurrahman5436
    @asifurrahman5436 2 года назад

    very well explained

  • @alexd2491
    @alexd2491 4 года назад +1

    Hello, thank you for your amazing video, it helps a lot. Maybe can you make more videos of this type ? (how to refactor code etc...)

    • @dave-hollingworth
      @dave-hollingworth  4 года назад +1

      Glad you liked it! Will do, have got more videos like this coming up! :-)

  • @CodeFlow
    @CodeFlow 4 года назад

    I have a problem from our PHP MVC framwork in another course,
    I want to save multi level category in database, and want to display seperate category level from twig
    How can it be done in our mvc framework.

  • @mohamedcherradi5274
    @mohamedcherradi5274 4 года назад

    Verry amazing content thank you verry much. Please i want to do some project contains all this concepts such as security fails php and mvc etc and big thanks in advance

  • @rangabharath4253
    @rangabharath4253 4 года назад

    Awesome

  • @secret_one
    @secret_one 4 года назад +1

    Cheers Dave, I had to run it without putting php in front of php-cs-fixer. i.e. $ php-cs-fixer fix myphpfile.php --verbose

  • @4programmers732
    @4programmers732 Месяц назад

    It's not any refactoring just correcting syntax and formatting text! Every serious IDE already has this implemented or you can download a plug-in for it....

  • @manojo123
    @manojo123 4 года назад

    What you guys think about 4 spaces against tab?

    • @dave-hollingworth
      @dave-hollingworth  4 года назад

      insanelab.com/blog/notes/spaces-vs-tabs/

    • @SprintsNClimbs
      @SprintsNClimbs Год назад +1

      ​@@dave-hollingworth whilst I respect the standards 4 spaces vs tabs is a little bit form over function.. apart from sounding like I'm playing space invaders in the office, tab size is also configurable in some editors so if you want to change the spacing of your code you can, not so with spaces. Also I guess if you really want to put things back to the standards you can always do a find a replace on tabs and your thumb would be a little less fatigued. I don't think the article you pointed to was a particularly good argument this video is a little more informative ruclips.net/video/dLFLivIHD8Q/видео.html Thank you for your video :)

    • @dave-hollingworth
      @dave-hollingworth  Год назад +1

      @@SprintsNClimbs The tabs vs. spaces argument has been going on as long as I remember... I guess it's not going away anytime soon! Thank you for the video link! 🙂

  • @everusa15
    @everusa15 Год назад

    Wtf was this video?!