Node.js is better than PHP, or not? Both things reviewed and compared...

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ก.ย. 2024

ความคิดเห็น • 111

  • @Jelvix
    @Jelvix  2 ปีที่แล้ว +6

    So what do you think is better - Node.js or PHP?

    • @rahuldhamma5375
      @rahuldhamma5375 2 ปีที่แล้ว +1

      what about the Django python

    • @ewtwetrwerwteet
      @ewtwetrwerwteet ปีที่แล้ว +1

      Node.... I hate switching hats. Love having one syntax and not stuffing around

    • @ramsheedm5324
      @ramsheedm5324 ปีที่แล้ว

      Study or use well and create a vedio

    • @anlongdus
      @anlongdus 9 หลายเดือนก่อน

      I like Elixir and Phoenix

    • @VOZ_Ru
      @VOZ_Ru 8 หลายเดือนก่อน +1

      I like PHP on the backend side and JS on the interface side.

  • @ngonimudzudzu3611
    @ngonimudzudzu3611 ปีที่แล้ว +27

    The title of the video is misleading. Also the MVC pattern is not something related to a language but rather a framework. For example, Laravel is a PHP framework that utilises MVC. Otherwise great video :)

  • @Chris-hy6jy
    @Chris-hy6jy ปีที่แล้ว +17

    Lots of words in this video but zero information.

  • @blessdarah1256
    @blessdarah1256 ปีที่แล้ว +32

    Anyone who uses php right now with larave, livewire and the TALL stack in general is completely in the game. I find PHP way better.
    Of course Node Js is good I use them both.

    • @binews9938
      @binews9938 ปีที่แล้ว

      the magic of the livewire with laravel>>>>>

  • @joydeepbhowmik6181
    @joydeepbhowmik6181 ปีที่แล้ว +23

    As a developer who used both laravel and react for building ecommerce solutions I think laravel is far better in this case , specially with livewire ...Man you dont even have to write APIs to work with frontend and the built in mvc pattern is awesome...I always hated php for it's slow performance and messy syntax but man i was wrong....this livewire technology is fascinating ...it saved me so much time . Laravel undoubtedly better than next js and gatsby . Laravel has almost everything that I can imagine.. and don't even need to install multiple modules most of the things are just buit in ....no wonder why php is still in rocking...
    I dont need to think about ssr .. I don't need to think about performance, no need to worry about creating multiple APIs, and the querybuilder let's me write MySQL so easy and with best practices

    • @zzkevinlim
      @zzkevinlim 10 หลายเดือนก่อน

      Amen.

  • @code_marked
    @code_marked ปีที่แล้ว +15

    PHP powers almost 80% of the internet, and is still here, with improving frameworks. This is like comparing a War vet to a young kid. LOL.

    • @mahmudaremu4907
      @mahmudaremu4907 ปีที่แล้ว +1

      Fam tell php to do socket or real time communication if u can 😁😁

    • @umarsayyad1900
      @umarsayyad1900 ปีที่แล้ว

      No it’s like comparing a Toyota that’s cheap, which is preferred by the consumers due to price. To a sports car.
      New, faster, better and will soon consume pho.

    • @code_marked
      @code_marked ปีที่แล้ว +2

      @@mahmudaremu4907 you can create Live stream software in Laravel.

    • @mahmudaremu4907
      @mahmudaremu4907 ปีที่แล้ว

      @@code_marked i mean a realtime socket communication

    • @code_marked
      @code_marked ปีที่แล้ว +2

      @@mahmudaremu4907 It's possible man. lol A simple search will show you.

  • @HishaMized
    @HishaMized ปีที่แล้ว +5

    2:50 ? Really? This video couldn't be more misleading. PHP literally has dozens of reliable, robust and clean MVC based frameworks with out of the box features for better developer experience where as i. Express JS a developer is required to import heavy unstable packages to even breathe in it.

    • @mostafaalayesh2803
      @mostafaalayesh2803 8 หลายเดือนก่อน

      I am trying to find a "Never recommend me any video from this channel again" button.

  • @ejohnson1767
    @ejohnson1767 9 หลายเดือนก่อน +6

    I prefer php as a backend.

  • @TricoliciSerghei
    @TricoliciSerghei 6 หลายเดือนก่อน +2

    The downsides of PHP are incorrect. The Error handling in PHP is pretty good, the debugging is great these days, the MVC pattern doesn't have anything to do with any language, and can be implemented easily with PHP also, (almost all frameworks use MVC as the base architectural pattern). The video is a bit weak, thanks for the effort though.

  • @constantinci
    @constantinci 29 วันที่ผ่านมา +1

    The most crucial: "Poor error handling" - wtf, and I say it again wtf ???
    "Poor selection of debugging tools" - wtf ???
    "Not applicable for implementing mvc pattern" - wtf ???
    I do go, nodejs, php, bit of java and python, depending of current circumstances, I claim not to biased for that reason, and I have to say each time I see or hear such a crap, it makes me laughing 🙂.
    Talk to people who actually know something about php before loosing your time for such a content.

    • @Jelvix
      @Jelvix  28 วันที่ผ่านมา

      Thank you for sharing your thoughts and insights! We appreciate that you have experience with a variety of programming languages.
      Regarding the points mentioned:
      Error handling: We understand that "poor error handling" can be a subjective statement. PHP's error handling has improved over the years, especially with the introduction of newer versions and better practices. However, in some scenarios, especially when compared to other languages like Node.js with its asynchronous nature, PHP might seem less intuitive or more cumbersome to some developers. We aimed to reflect common criticisms that some developers might encounter, but we understand that this can vary based on one's experience and familiarity.
      Debugging tools: PHP indeed has a robust set of debugging tools, like Xdebug, which are very powerful. The comment on "poor selection of debugging tools" might come from comparing the ecosystem around other languages, where integrated debugging tools are more streamlined or easier to set up. However, this doesn't mean PHP lacks quality tools-it's more about the ease of integration and usage.
      MVC pattern: PHP is definitely capable of implementing the MVC pattern, and frameworks like Laravel and Symfony are excellent examples of this. The point in our video was likely aimed at historical perspectives or cases where developers struggled with MVC implementation in PHP before these modern frameworks became prevalent.
      We strive to present a balanced view, and it's great to hear feedback from experienced developers like yourself.

  • @khaledsanny4817
    @khaledsanny4817 2 ปีที่แล้ว +13

    Example of old technologies still in use…. HTML & css … replace that if you can 😂

    • @gillesashley9314
      @gillesashley9314 ปีที่แล้ว +1

      😂😂😂. Not possible bro. I doubt they’ll ever be replaced in a million years.

    • @rifkiarza6590
      @rifkiarza6590 ปีที่แล้ว

      ​@@gillesashley9314Jsx? No?

  • @cookiebinary
    @cookiebinary 7 วันที่ผ่านมา +1

    The video has little narrative value. There is little information in it, and those that is in it is misleading or false.

    • @Jelvix
      @Jelvix  3 วันที่ผ่านมา

      Hi! We're sorry you got that impression from our video. We create short videos about tech, so we can’t fit all the information in them.

  • @bluegamer4210
    @bluegamer4210 หลายเดือนก่อน +1

    I don't understand how node.js is simpler than php, one of the biggest selling points for php is it's simplicity.

    • @Jelvix
      @Jelvix  หลายเดือนก่อน

      The perception of simplicity in programming languages or frameworks often depends on the specific context and the developer's background. Both PHP and Node.js are popular for web development, but they approach things differently, which can make one seem simpler than the other depending on what you're trying to accomplish

  • @vitormanfredini1205
    @vitormanfredini1205 ปีที่แล้ว +19

    "php isnt applicable to implementing mvc" wat

    • @Jelvix
      @Jelvix  ปีที่แล้ว

      We appreciate all feedback. Thank you for bringing this issue to our attention.

    • @gillesashley9314
      @gillesashley9314 ปีที่แล้ว

      I was confused myself. Cuz all the frameworks implement MVC flawlessly. Laravel, Codeigniter, Symphony, etc. So I was a bit confused.

    • @trex511ft
      @trex511ft 19 วันที่ผ่านมา

      I'd like to know how is that a con though? lol. Am I the only one who is not a big fan of MVC?

  • @edan2629
    @edan2629 ปีที่แล้ว +4

    full stack with nodejs...
    library is extensive...
    the only drawback i see is, the constant update of dependencies...
    nodejs is really fast and light weight.

  • @PedroS-nv1sl
    @PedroS-nv1sl 5 วันที่ผ่านมา

    Not applicable for implementing the MVC pattern: this is simply false.
    Developers can architect their code in the MVC pattern if they wish.
    Moreover, there are plenty of MVC frameworks built on PHP.

  • @cilo56
    @cilo56 ปีที่แล้ว +3

    Before posting videos on particular topic; first have one knowledgeable and active on said technology review the script to ensure as to not promote misinformation.

  • @KoShuFW
    @KoShuFW ปีที่แล้ว +3

    funny. was hoping to learn actual differences. something like what performance hit comes with node js vs php. I can run high availability app in php on crap hw, how does this compare to node js? and ye mvc 🙂, funny, php supports any framework even these which have not been thought of yet, assume it is true for any language. btw I still use my version of quick template and that thing is from the 90s.

  • @simon3sofaswheeler513
    @simon3sofaswheeler513 ปีที่แล้ว +4

    MVC is a paradigm not a feature & there are many MVC PHP frameworks around .. mostly to be avoided.
    Error handling is what you make it ... remember the 'flexibility' comment.
    Bad bot ;)

    • @Jelvix
      @Jelvix  ปีที่แล้ว

      Not so bad!😉 So you agreed in your own words it's better to avoid MVC PHP framework, so no contradictions😁 And what about flexibility? Can you explain your thoughts a bit?

    • @simon3sofaswheeler406
      @simon3sofaswheeler406 ปีที่แล้ว

      ​@@Jelvix I said 'mostly' - in other words there are a lot of rather pointless and/or bad MVC adaptations out there which adopt MVC for the sake of MVC and not for the sake of the objective - my point remains that MVC is a paradigm which can be applied in PHP as it can in many other languages and to say that you can not do MVC in PHP is a terminological inexactitude ...or wrong if you prefer ;)
      PHP error handling can be as simple as or die('ouch') or a comprehensive integrated exception framework & this is the flexibility that you correctly point out as a 'pro' for PHP.
      A lot of critiques of PHP were valid in the PHP5 ish era (when PHP was running pretty much everything online~) , if you want a critical poke at PHP7/8 then the apparent desperation of current PHP devs to emulate languages that PHP is not... introducing many (IMO) pointless backwards compatibility issues.

  • @pmrebel2733
    @pmrebel2733 4 หลายเดือนก่อน +1

    Not applicable for mvc! That's dead wrong. It means you don't even use php😮. What a shame

    • @Jelvix
      @Jelvix  หลายเดือนก่อน

      Hi! Thank you for feedback! We will share it with our team ☹️

  • @IvanGalayko
    @IvanGalayko 7 หลายเดือนก่อน +2

    PHP can't do MVC? Laravel isn't a thing then?

  • @RamonChiNangWong078
    @RamonChiNangWong078 2 ปีที่แล้ว +3

    older then Php? C/C++
    or what about COBAL that are still being used in Banks

    • @Jelvix
      @Jelvix  ปีที่แล้ว

      It is our pleasure to hear your valuable feedback.😊🤓

  • @justtestingmycurrentskills747
    @justtestingmycurrentskills747 2 ปีที่แล้ว +11

    IMO, PHP survived because of frameworks.

    • @megamindsetsolutions7569
      @megamindsetsolutions7569 2 ปีที่แล้ว +7

      You know nothing about php and programming in general

    • @VladdyHell
      @VladdyHell ปีที่แล้ว +4

      Laravel definitely saved PHP's *ss lol

    • @Lucky5111
      @Lucky5111 ปีที่แล้ว +1

      @@VladdyHell One thing I have noticed is with nodejs apps they are slow as hell. Those shitty electron apps take up so much memory.

    • @VladdyHell
      @VladdyHell ปีที่แล้ว +2

      @@Lucky5111 Well, I don't know if Electron is totally outdated, but it's been around for a while. And let's be real, Node.js doesn't have much going on in its core, so it relies heavily on libraries. That's why JavaScript has the biggest library collection out there, and you gotta stay on top of the latest tech to keep up. The hot new desktop app framework right now is Tauri, but really, performance all comes down to how you use Node.js. And yeah, sure, big names like VSCode, Discord, and Spotify use Electron and work fine, but that doesn't mean you're getting the most out of it.

    • @mahmudaremu4907
      @mahmudaremu4907 ปีที่แล้ว

      ​@@Lucky5111 check your code quality

  • @ojsojs6004
    @ojsojs6004 ปีที่แล้ว +3

    I prefer PHP.

  • @strategylife6707
    @strategylife6707 ปีที่แล้ว +1

    I am using php and nodejs in one project, so I can benefit from the advantages of both 😏🤫

  • @issamhajjali4493
    @issamhajjali4493 ปีที่แล้ว +7

    PHP, javascript for front end only

    • @ChrisosIDK
      @ChrisosIDK 10 หลายเดือนก่อน +2

      That is God's framework. Html 5, Sass (css), Javascript, PHP, and MySQL

    • @Yusran_Uca
      @Yusran_Uca 6 หลายเดือนก่อน

      Fe or be also?​@@ChrisosIDK

  • @gillesashley9314
    @gillesashley9314 9 หลายเดือนก่อน +4

    Node's daddy abandon him. PHP wins.

  • @jerrygeorge180
    @jerrygeorge180 2 ปีที่แล้ว +43

    I prefer PHP, it is cleaner.

    • @khaledsanny4817
      @khaledsanny4817 2 ปีที่แล้ว +10

      Lol 😂… php syntax is a mess …

    • @jboxy
      @jboxy ปีที่แล้ว +5

      Is this a joke?

    • @Jelvix
      @Jelvix  ปีที่แล้ว

      We appreciate you sending us your feedback. 😉

    • @fotuneTechGlobal
      @fotuneTechGlobal ปีที่แล้ว +1

      What does cleaner mean in this context?

    • @Ilohimushka
      @Ilohimushka ปีที่แล้ว

      Do u prefer Laravel?

  • @guerbyduval4104
    @guerbyduval4104 ปีที่แล้ว +1

    They just talk about but never show why.

  • @nemtomism
    @nemtomism หลายเดือนก่อน

    Deploying of php is easier and cheaper.

    • @Jelvix
      @Jelvix  หลายเดือนก่อน

      Yes, deploying PHP applications is generally considered easier and cheaper compared to some other technologies 😎

  • @joshdevofficial
    @joshdevofficial 5 หลายเดือนก่อน +1

    wait what? Is php not capable for mvc? 😂

    • @Jelvix
      @Jelvix  21 วันที่ผ่านมา

      Haha, PHP is definitely capable of MVC! 😂 In fact, popular frameworks like Laravel and Symfony are built specifically around the MVC architecture. Both PHP and Node.js can handle MVC architecture well - it really comes down to which ecosystem and language you prefer. Each has its strengths!

  • @DEBUGENTITY
    @DEBUGENTITY หลายเดือนก่อน

    Php still i prefer & still i use

    • @Jelvix
      @Jelvix  หลายเดือนก่อน

      Thank you for sharing your experience!

  • @mohammedissam3651
    @mohammedissam3651 ปีที่แล้ว +1

    I need both architecture blocking and non blocking methodologies 😅...
    Is it possible?

  • @pavankumar-of4ew
    @pavankumar-of4ew 4 หลายเดือนก่อน

    Ofcourse laravel and node are performing better,but in curent job market,they are using full stack js more than php,only few companies use php with less funding of startups.

    • @Jelvix
      @Jelvix  หลายเดือนก่อน +1

      Hi! Thank you for sharing your experience 😊

  • @alex-costantino
    @alex-costantino 2 หลายเดือนก่อน

    A lot of misinformation

    • @Jelvix
      @Jelvix  หลายเดือนก่อน

      Hi! Thank you for your feedback! Could you share the details with us please?

  • @michaelkimsal788
    @michaelkimsal788 5 หลายเดือนก่อน

    So... nodejs is 'simple' but... a drawback is that it relies on callbacks... OK.

    • @Jelvix
      @Jelvix  หลายเดือนก่อน

      Would you like to share your feedback? 😊

  • @benjamoreno3347
    @benjamoreno3347 ปีที่แล้ว

    php and javascript are the best. however I'll give a try to node.js, react, etc.

  • @yudeo9782
    @yudeo9782 5 หลายเดือนก่อน

    Did not mentioned the npm trap

    • @Jelvix
      @Jelvix  4 หลายเดือนก่อน

      Thank you for noticing We'll take it into account in our upcoming videos!

  • @iicandyhazzelii4044
    @iicandyhazzelii4044 11 หลายเดือนก่อน +1

    C# still around and becoming evermore popular. Move over PHP

  • @a.j.outlaster1222
    @a.j.outlaster1222 ปีที่แล้ว

    Idk Php, I tried to learn, But, Couldn't find an offline compiler, I don't know Node js either, But, I know JavaScript, I have recently made a raycaster game and was hoping to learn how to use Node as a server to support multiplayer.

    • @Jelvix
      @Jelvix  ปีที่แล้ว +1

      We hope our video was helpful for you. Subscribe to out channel, we share a lot of clear and easy-to-learn instructions about different stack, including PHP, NodeJS, and JavaScript! Follow us :)

    • @simon3sofaswheeler513
      @simon3sofaswheeler513 ปีที่แล้ว +2

      why would you need an offline compiler to run PHP ?

    • @parislyritis8074
      @parislyritis8074 ปีที่แล้ว +2

      PHP is a scripting language it does not need a compiler.

    • @purplevanilla
      @purplevanilla 7 หลายเดือนก่อน +1

      Wait, node.js can be used to build a multiplayer game too?

    • @a.j.outlaster1222
      @a.j.outlaster1222 7 หลายเดือนก่อน

      @@purplevanilla If I'm correct, It's a server that has a database which we can use to transfer game data between players.
      I have no idea. 😅

  • @Js-Lovers
    @Js-Lovers ปีที่แล้ว +4

    I love node

  • @edomobifrank7936
    @edomobifrank7936 2 ปีที่แล้ว +2

    What about python ?

    • @dsuess
      @dsuess 6 หลายเดือนก่อน +1

      It's still waiting to load 🤣

  • @murtadanazar
    @murtadanazar 2 ปีที่แล้ว +2

    One of the most beautiful content industry channels, thank you 😻

  • @bahrambayramli4343
    @bahrambayramli4343 ปีที่แล้ว

    NODEJS