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

Поделиться
HTML-код
  • Опубликовано: 8 июл 2024
  • Node.js vs PHP - how are they different? Which one's better? Or is there a winner? Let's find out.
    ▶ Contact Jelvix: jelvix.com
    ▶ For RUclips partnerships: youtube@jelvix.com
    Subscribe for more tech tips and tutorials: / @jelvix
    ▶ LINKS:
    - Java vs .Net - jelvix.com/blog/java-vs-net-c...
    ▶ Time codes:
    00:00 PHP and Nodejs review
    01:42 Pros and cons of PHP
    03:03 Pros and cons of Nodejs
    04:06 Comparison: NodeJS vs PHP
    05:12 Contact Jelvix
    ▶ Follow us:
    Facebook - / jelvixcompany
    Twitter - / jelvix
    Instagram - / jelvix
    Linkedin - / jelvix
    Upwork - www.upwork.com/ag/jelvix/
    ▶ About this video:
    PHP is an object-oriented, open source, and server-side scripting language that serves primarily as a web development tool.
    PHP is mainly used to create web servers. Nonetheless, it can be executed in the browser and as well as through the command line. If you don’t want to display your code output in the browser, you may do so in the terminal.
    NodeJS is a single-threaded, open source, cross-platform runtime environment to develop fast and scalable server-side and networking applications. It consists of an event-driven, non-blocking I/O architecture and operates on the Google V8 JavaScript runtime engine. As a result, it’s an efficient and ideal tool for real-time application development.
    ---
    Disclaimer:
    The content in this video is based on company's experience. The primary purpose of this video is to educate and inform. Note that Jelvix is not responsible for the results of advices that were taken without considering individual situation and goals of your business. Jelvix strongly recommends to perform your own independent research before making any critical decisions. If you have a complaint about something or find your content is being used incorrectly, please contact Jelvix.
    This video is available for private, non-commercial use only. You may not edit or modify this video.
  • НаукаНаука

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

  • @Jelvix
    @Jelvix  Год назад +5

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

    • @rahuldhamma5375
      @rahuldhamma5375 Год назад +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 6 месяцев назад

      I like Elixir and Phoenix

    • @VladislausMusic
      @VladislausMusic 5 месяцев назад +1

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

  • @blessdarah1256
    @blessdarah1256 Год назад +30

    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>>>>>

  • @ngonimudzudzu3611
    @ngonimudzudzu3611 Год назад +20

    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 :)

  • @HishaMized
    @HishaMized 10 месяцев назад +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 6 месяцев назад

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

  • @joydeepbhowmik6181
    @joydeepbhowmik6181 11 месяцев назад +21

    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

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

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

  • @code_marked
    @code_marked Год назад +12

    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.

  • @vitormanfredini1205
    @vitormanfredini1205 Год назад +17

    "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.

  • @Chris-hy6jy
    @Chris-hy6jy Год назад +9

    Lots of words in this video but zero information.

  • @ejohnson1767
    @ejohnson1767 6 месяцев назад +5

    I prefer php as a backend.

  • @RamonChiNangWong078
    @RamonChiNangWong078 Год назад +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.😊🤓

  • @IvanGalayko
    @IvanGalayko 5 месяцев назад +2

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

  • @edan2629
    @edan2629 10 месяцев назад +3

    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.

  • @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.

  • @TricoliciSerghei
    @TricoliciSerghei 3 месяца назад +1

    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.

  • @khaledsanny4817
    @khaledsanny4817 Год назад +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?

  • @gillesashley9314
    @gillesashley9314 6 месяцев назад +4

    Node's daddy abandon him. PHP wins.

  • @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.

  • @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.

  • @strategylife6707
    @strategylife6707 10 месяцев назад +1

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

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

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

  • @edomobifrank7936
    @edomobifrank7936 Год назад +2

    What about python ?

    • @dsuess
      @dsuess 4 месяца назад

      It's still waiting to load 🤣

  • @pavankumar-of4ew
    @pavankumar-of4ew 2 месяца назад

    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.

  • @justtestingmycurrentskills747
    @justtestingmycurrentskills747 Год назад +11

    IMO, PHP survived because of frameworks.

    • @megamindsetsolutions7569
      @megamindsetsolutions7569 Год назад +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.

  • @murtadanazar
    @murtadanazar Год назад +2

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

  • @yudeo9782
    @yudeo9782 2 месяца назад

    Did not mentioned the npm trap

    • @Jelvix
      @Jelvix  2 месяца назад

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

  • @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 5 месяцев назад +1

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

    • @a.j.outlaster1222
      @a.j.outlaster1222 5 месяцев назад

      @@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. 😅

  • @issamhajjali4493
    @issamhajjali4493 Год назад +6

    PHP, javascript for front end only

    • @ChrisosIDK
      @ChrisosIDK 8 месяцев назад +2

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

    • @ucaaphatice8604
      @ucaaphatice8604 3 месяца назад

      Fe or be also?​@@ChrisosIDK

  • @guerbyduval4104
    @guerbyduval4104 10 месяцев назад +1

    They just talk about but never show why.

  • @pmrebel2733
    @pmrebel2733 Месяц назад +1

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

  • @iicandyhazzelii4044
    @iicandyhazzelii4044 8 месяцев назад +1

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

  • @michaelkimsal788
    @michaelkimsal788 2 месяца назад

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

  • @jerrygeorge180
    @jerrygeorge180 Год назад +42

    I prefer PHP, it is cleaner.

    • @khaledsanny4817
      @khaledsanny4817 Год назад +8

      Lol 😂… php syntax is a mess …

    • @jboxy
      @jboxy Год назад +4

      Is this a joke?

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

      We appreciate you sending us your feedback. 😉

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

      What does cleaner mean in this context?

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

      Do u prefer Laravel?

  • @joshdevofficial
    @joshdevofficial 2 месяца назад

    wait what? Is php not capable for mvc? 😂

  • @Js-Lovers
    @Js-Lovers Год назад +4

    I love node

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

    NODEJS