Why I Use PHP (even though I hate it)

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ต.ค. 2018
  • Start your software dev career - calcur.tech/dev-fundamentals 💯 FREE Courses (100+ hours) - calcur.tech/all-in-ones
    🐍 Python Course - calcur.tech/python-courses
    ✅ Data Structures & Algorithms - calcur.tech/dsa-youtube
    ~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~
    ✉️ Newsletter - calcur.tech/newsletter
    📸 Instagram - / calebcurry
    🐦 Twitter - / calebcurry
    🔗 LinkedIn - / calebcurry
    ▶️ Subscribe - calcur.tech/subscribe
    👨🏻‍🎓 Courses - www.codebreakthrough.com
    ~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~
    ↪ My Amazon Store - www.amazon.com/shop/calebcurry
    🅿 Patreon - calcur.tech/patreon-calebcurry
    🅖 GitHub Sponsors - github.com/sponsors/CalebCurry
    Ⓟ Paypal - paypal.me/calcur
    🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
    🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
    📈 Buy Bitcoin - calcur.tech/crypto
    Reserve the Ruby Steel crypto rewards card and get a $25 bonus (use affiliate code "Caleb") - calcur.tech/crypto
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    Interested in learning more? Check out the blog 🙂 www.calebcurry.com/why-i-use-php-even-though-i-dont-like-it/

    • @johnmadsen37
      @johnmadsen37 5 ปีที่แล้ว

      Caleb Curry hey man. Seriously, be careful of diabetes and other health issues. You might think you e made it but you got decades and decades to go. Don’t become a heart attack waiting to happen.

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

    What other language can I use instead of PHP? (For shared hosting)

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

    I fell in love with php when I started to use Symfony.

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

    “Yea, me too!” Lol. Great vid!

  • @burpeeslurpy
    @burpeeslurpy 5 ปีที่แล้ว

    Ayeee Caleb !

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

    ever tried laravel ??? I hate php to its core but its not the same with laravel

    • @Luffy-ir9fk
      @Luffy-ir9fk 5 ปีที่แล้ว

      yep. yep.

    • @hectorsoto8561
      @hectorsoto8561 5 ปีที่แล้ว

      And Laravel has a huge community

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

      PHP at its core? Have you saw phptherightway? Or Phpfig? Laravel is based on that new standard. It's quite normal now.
      Laravel made that standard popular.
      PHP on core is not gonna do any harm. It's how you write it.
      You try PSR standard. It is so beautiful just like Laravel and less bloat.
      I recommend you try Symfony 4. It's a lean one

    • @adeelali2910
      @adeelali2910 4 ปีที่แล้ว

      @@arunabraham9382 lol now I am a Laravel dev and yes I agree its better now than before .I do enjot it but it's much slower compare to dotnet core.

  • @DevlogBill
    @DevlogBill 2 ปีที่แล้ว

    Hi Caleb, I've been learning JavaScript, HTML and CSS for the past 7 months. Now I've been learning PHP for the past 20 days and a bit of MySQL. All I hear PHP is used for is things like e-commerce sites such as WordPress and other similar sites. Can you use PHP and MySQL for other things when it comes to looking for a job. I choose PHP because I figured I could do a bit of freelance work, but my end goal is to become a software developer. I hear that being a WordPress developer could ruin your chances of becoming a true developer because you're not a real coder, someone told me. What is your opinion? I was thinking about maybe learn Laravel alongside PHP? Or should I just keep on learning JavaScript to find a software developer job like a web developer job.

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

    I think you should have called your video "worst 3 programming languages (IMHO)".
    Note: I just got a job working on PHP this week. I already hate its guts.

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

    I use PHP to create my own custom CMS’s. It’s relatively quick and easy to use in that regard, and every hosting site as far as I know uses PHP so it’s easy to implement. What I don’t like is PHP with frameworks like Laravel. It’s just a bloated, convoluted mess.

    • @bigollie006
      @bigollie006 5 ปีที่แล้ว

      I think you're crazy lol Laravel is fantastic

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

      Laravel is bloated. But there are leaner framework or use a psr 4 based application. It's quite extendable and mature enough to handle a proper app growth. Only things required is stick to psr standard and use software design principle. It is as good as any good programming language.

    • @pkrockin3923
      @pkrockin3923 3 ปีที่แล้ว

      Pretty much the reason why I like vanilla php or just using a microframework like slim3 or frameworks like symfony or codeigniter 4. Cant stand laravel. Good thing jobs in my area are hiring for symfony and ci4 devs.

  • @redcyberdragon897
    @redcyberdragon897 5 ปีที่แล้ว

    don't let the haters get ya down!

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

    php is my first programming language.

  • @seanjohnsonolds2791
    @seanjohnsonolds2791 3 ปีที่แล้ว

    How did php become a program language when it's supposed to be a career based opportunity?

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

    People develop a sentimental relation with a language. Happens with me. :p

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

    there are objective metrics to compare languages.

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

    Oh c'mon..people take it all too seriously..and honestly if they hear this or that, they should really check it out for themselves, rather than just assuming something. It's clearly your opinion..and I totally agree it sucks.. it's full of inconsistencies and in a world you clearly learn N languages for N purposes, those with similar syntaxes and all will definitely be 'the best'. I'm finishing my first year at uni, and all the languages I've learned make sense for a newcomer and in general if you think about it. Anyways, you make awesome content and have a very good speech, pace and tone. Good job!

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

    I got that your problem with PHP is that it is not how you would like it to be.

  • @yx4292
    @yx4292 5 ปีที่แล้ว

    Nice.

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

    Never justify yourself! 😉

  • @f-teesdoes6623
    @f-teesdoes6623 5 ปีที่แล้ว

    agreed

  • @powerup4016
    @powerup4016 5 ปีที่แล้ว

    I agree. I don't like php but I still use it, since 98.99% of small local businesses have their site on a shared hosting account its just easier to go in there and develop in php. Even if I prefer developing in python / flask/ django. Then again, "if all you have is a hammer, everything looks like a nail". Let the haters make you famous!

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

    If you want to TRAVEL THE WORLD then you must learn and practice ENGLISH.
    But if you want to be "cool", the go learn some french or some other alien languages.
    In the end what pays the bill is the thing that matter

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

    I personally think PHP is fantastic. The people who wrote a bunch of shitty code and made it difficult for others, suck pretty badly.
    PHP 7+ really has made some leaps over previous versions. Its getting better all of the time, and with frameworks like Laravel, a lot of the PHP code going online is readable, secure, and scale-able rather quickly.
    Personally, I don't see the fuss with JS and associated frameworks. JS is fun an all, but it also has its own host of problems and issues that can be avoided by using PHP. Just for example, a lot of the customers for some industries cannot even use Javascript, just as a security measure. I try to avoid using any Javascript if I can.
    Regardless of what you use, if you use proper coding techniques, document well, and exercise patience, you can achieve virtually the same thing with any programming language

    • @hectorsoto8561
      @hectorsoto8561 5 ปีที่แล้ว

      Yeah I think it's the complain of new developers, but this is not about the tool it's about the solution to the needs and established problems

    • @NowHereUs
      @NowHereUs 5 ปีที่แล้ว

      PHP is so much business friendly. It is stupid to advice against a language on which 50%+ of the website is running..

  • @alliouasofiane
    @alliouasofiane 4 ปีที่แล้ว

    there is a bad programmer not a bad language, you will understand when you program with prolog and asm

  • @Gol_D_Roger_The_Pirate_King
    @Gol_D_Roger_The_Pirate_King 5 ปีที่แล้ว

    I don't use PHP at all. Wordpress developers not PROGRAMMERS are the ones who usually used PHP. But for my websites and projects I always used Node. For cheap websites used PHP for high end stuff used Node.

    • @arunabraham9382
      @arunabraham9382 4 ปีที่แล้ว

      Did you know about ReactPHP? SwoolePHP Or workerman? They are high-performance nonblocking PHP libraries. They can take NodeJS anyday by miles

    • @arunabraham9382
      @arunabraham9382 4 ปีที่แล้ว

      WordPress developer s are not programmers? They made big thing out of old php. Now wordpress is even better with new language optimization. Still wp stand the test of time
      Try make something with node like wp. It would take more timr and cost to even build something like that compared to PHP.
      It is a really stable and Mature language.
      Any bad application is made by bad developers.
      PHP 4 used to be a badly designed language. But not anymore.

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

    What are you talking about?!? Hahah You hate PHP and it's on the bottom of your list!? Haha But you like WordPress hahaha maybe Magento, Drupal, Joomla..? Hahaha You like Laravel but don't PHP. Hahah Laravel is the best fw hahahahaha

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

    Ok. Your neck beard convinced me. All my future sites are gonna be written in Django.

  • @codeonion
    @codeonion 5 ปีที่แล้ว

  • @cesgarma
    @cesgarma 2 ปีที่แล้ว

    You lost me at Bluehost

  • @spyrex3988
    @spyrex3988 4 ปีที่แล้ว

    bro for some reason i find PHP more complicated than C++ lmao

    • @arunabraham9382
      @arunabraham9382 4 ปีที่แล้ว

      Complicated than C++ is a unique comment. Which don't serve any logic

  • @alinawaz4034
    @alinawaz4034 5 ปีที่แล้ว

    i don't like php f*cking syntax and also loosely typed, i hate loosely typed languages it is soo hard to find problems in them with out internet

    • @arunabraham9382
      @arunabraham9382 4 ปีที่แล้ว

      It's just using C like syntax. Then try a C code beutifully. There is no real structure.
      Try PSR standard and phptherightway.
      Nowadays strict typing in PHP is possible.

  • @fadjarkbm2804
    @fadjarkbm2804 4 ปีที่แล้ว

    I dont like php either

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

    I guess the only problem in the other video, was the absence of 'in my opinion'. If the video said worst 3 programming language in my opinion, then you're stating your personal preference.

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

    php wordpress? yuck.

  • @souravsen5773
    @souravsen5773 5 ปีที่แล้ว

    Why I use JavaScript even though I hate it?

  • @josephmoreno9733
    @josephmoreno9733 5 ปีที่แล้ว

    Jajajaja

  • @oguz-kagan
    @oguz-kagan 5 ปีที่แล้ว

    This is TH-cam(internet). People will destroy you if you are not agree with them :D

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

    fact 1: you can't compare PHP (language) with Node JS (a language engine)
    fact 2: PHP is still dominating the web. (perhaps a single mind can't see the benefits of the language or just there are too many php devs who can't move on to other language
    fact 3: PHP is way better than people remember (i'ts not 5.6 anymore)
    Internet is still new and nobody knows what the new generations will bring us and every debate like this will be washed away after next major language update ;)

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

    PHP is a language where fundamental stuff has been added as an afterthought, and not as part of the initial design. It just isn't debatable. However useful it might be, it is an undeniably crappy language. How people can't see that is beyond me.
    For instance:
    It is objectively an inconsistent language with a naming convention all over the place. There is no way to deny that some functions have to in the name, and some have 2; some have underscore and some don't. The order of parameters might also unexpectedly be different between functions taking the same input.
    There is still no support for Unicode in the language. It's just too complex for the developers behind PHP. The only reason PHP still survives on the web is because UTF-8 by design is ASCII compatible. Quite frankly, if it weren't for UTF-8, PHP would be utter useless and abandoned a long time ago.

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

    I understand you're leading with the "Just my opinion" bit to calm people down, but I think all you really needed to say was that you use Wordpress and don't interact with the code at all on your website. Some people might _like_ PHP for whatever reason, but it is objectively a messed up language.
    As for scalability, a counter-example from Facebook itself: There's PHP in individual pages, it's true, but most of the heavy lifting on Facebook's back end is actually written in C++. For all that *web giant Facebook* uses PHP, they don't use it for the giant things.
    And, no PHP is not the absolute worst programming language of all time in the entire universe. But it's probably in the top five worst languages. (Some versions of BASIC are hell, and have you ever tried actually programming something in DCL? Ugh. And, honestly, even though I use them all the time because they're what run my computer and my text editor respectively, Bash and VimScript are just messed up.)

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

      PHP is not for heavy lifting. PHP is there for business. PHP doesn't need to be the fast, elegant language. It has its vast use cases. Disliking PHP is one thing and advising mass people not to waste their time learning it is another thing.

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

      PHP's 7 can do pretty heavy listing compared to python and also Node. Version 8 is coming to lift much more weight due to JIT
      Why Facebook still choose PHP as a language? Because it's easy and mature to be business friendly. They just changed its engine for high performance.
      It's a quite modern looking language if use now popular PSR standard.

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

    Your whole video shows the ignorance about Php.
    Before that let me tell you I'm gonna list all things based on PHP7. Which is quite popular.
    Truth is.that most devs are not knowing is
    PHP as a language is a pretty fast dynamic language beats Ruby and Python
    PHP7 has type system. It's gonna be a strong one on version 8
    PHP 7.4 is comparable to hhvm(Facebook) in terms of performance,
    PHP 8 is only months away to let you touch the power of JIT
    It is quite good for system administration. Lot of inbuilt features are there
    PHP cli is quite fast to node cli
    High performance server options are available for PHP like SwoolePHP, ReactPHP
    These have power to challenge NodeJS or more than that.
    Network programming is possible with PHP
    PHP has c extensions for high computation al tasks. There are libraries available to write high-performance c extensions.
    It's a quite mature language with new clean language syntax with backward compatibility. PSR is the coding standard that all modern apps follow.
    Now coming to WordPress. It is a big application that no major CMS exist to beat the WP's popularity, performance tunablity and its own coding structure. Is mostly clean and in a way quite extendable. It still stand the test of time. Your excuse doest justify anything. Besides you say WP just works beutifully because it's a nice big CMS platform for every kind of people.
    Coming to PHP's greatest enemy, Python. It still lacks big support to Mobile applications
    Python is still a thing is just because its overrated popularity. So many developers contributed so that many libraries existed than PHP. Python never evolved like PHP.
    PHP evolved in terms of speed, Coding standards, introduction to new syntax and features.
    Python may have new features. But it is still a slow language than PHP.
    If PHP had the same popularity. It would have overtook any language just like Python did in demand.
    So please this video is just naive.
    PHP is an underreviewd language

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

    Php lol

    • @Cognitoman
      @Cognitoman 5 ปีที่แล้ว

      Dezzz nuts lol

    • @xriccardo1831
      @xriccardo1831 5 ปีที่แล้ว

      i'm a c++ lover but i have java as avatar because its prettier. lolol

  • @sagebias2251
    @sagebias2251 4 ปีที่แล้ว

    Video starts at 1:24