.NET Developer miserably fails at Laravel PHP

Поділитися
Вставка
  • Опубліковано 29 вер 2024

КОМЕНТАРІ • 128

  • @binaryfire
    @binaryfire 9 місяців тому +62

    This is a video of someone trying to learn an entire language and framework in 20 minutes without reading any docs, getting almost everything wrong, and then making conclusions based on those mistakes.

    • @RawCoding
      @RawCoding  9 місяців тому +7

      I think the only thing thats disappointing me here is that I did read the docs and it took me almost 4 hours, and I still got everything wrong.

    • @habeebmohamed4718
      @habeebmohamed4718 9 місяців тому +7

      @@RawCoding Then you should go back to basics

    • @RawCoding
      @RawCoding  9 місяців тому

      I think you’re right sir what do you recommend?

    • @habeebmohamed4718
      @habeebmohamed4718 9 місяців тому

      @@RawCoding Ask chatgpt

    • @skilled-person
      @skilled-person 9 місяців тому +1

      @@RawCoding try Symfony framework Laraval is great but it's like swiss army knife it even uses Symfony packages, Symfony is lighter and faster and easy to learn because you can add packges/modules with you need like you can have symfony app running even without DB adapter package

  • @martinhansen3673
    @martinhansen3673 9 місяців тому +5

    I’m sorry, but what an awkward attempt to get simple stuff done.
    I did .NET back in time. Today I earn my money with Laravel.
    From the looks of this video, you just glanced the docs.
    This tells us you did not go into this project with a serious attempt in mind. But I might just mistake you, for running a bit too fast ahead of yourself - but I feel you wasted your time, to give an opinion on a very small basis.
    I do not want to sound rude. But honestly, I don’t see the point of this video.
    Anyway - merry Christmas 🎄

  • @mariano.pualiu
    @mariano.pualiu 9 місяців тому +2

    I liked your video, in the sense that it would teach Laravel lovers how other people approach to it and how to close the gap correctly when bringing people from another languages to use Laravel.
    Its very insightful to know what are the first steps a senior in another language/framework would take and how to prevent them from getting frustrated when they use it for the first time.
    Thank you.

  • @idk_who_am_i2748
    @idk_who_am_i2748 9 місяців тому +3

    You gotta read the documentation. Who learns how to walk by doing cart wheels ???

  • @gofullstack
    @gofullstack 9 місяців тому +2

    17:52 Just read the documentation 🤣🤣🤣

  • @ShawnLindstrom
    @ShawnLindstrom 9 місяців тому +2

    Anyone trying to assess something like this in 4 hours can definitely give their personal take. However, that take should be taken as it's presented--4 hours learning a language and framework. A trivial amount of effort insufficient to do anything remotely productive. Any serious consideration or conclusion is much better rendered by someone who has devoted a non-trivial amount of time to learn the tool. I would suggest watching someone on here who knows Laravel do something from scratch to get a better understanding of what a productive tool it truly is. I do think "stay with .NET" is good advice to our .NET friends if that's where they're proficient. Heck, stay with Rails or whatever else you use unless it's server-side JavaScript... then hey, come on over the water is fine.

  • @nisem0no
    @nisem0no 9 місяців тому +2

    I don't code in PHP much anymore, but Laravel really is quite amazing how much it does, and with how many amazing community tools/plugins there are. I often consider giving it a shot again after battling with Node and all the complexities that come from building a large, modern, performant full-stack site with it.

  • @goodoleme747
    @goodoleme747 9 місяців тому +1

    PHP is fun.... that was my main language 15 years ago.

  • @adrianspikes6454
    @adrianspikes6454 9 місяців тому

    Thank you Microsoft for incorporating all the tools i need in one area. Was completely overwhelmed but im fine now.

  • @shahabgohar3350
    @shahabgohar3350 5 місяців тому

    here i am a Laravel developer trying to learn .net

  • @abiwaqas5867
    @abiwaqas5867 9 місяців тому

    I have been working on Laravel for 6 years and still loving and never used Route::cache, pretty amazing how poeple are annoyed with php :D

  • @ИванИванов-я5э9к
    @ИванИванов-я5э9к 9 місяців тому

    Wanna have a small template without the stuff? Try Lumen. From the same author but without the redundant stuff.

    • @thelostrider1
      @thelostrider1 9 місяців тому

      Laravel Lumen is not recommended since a long time. It even says in the installation guide

    • @ИванИванов-я5э9к
      @ИванИванов-я5э9к 9 місяців тому

      @@thelostrider1 you're right. I just checked, and now I see. Well, some chaos is happening in PHP world. It's good I switched to .NET several years ago.

  • @ИванИванов-я5э9к
    @ИванИванов-я5э9к 9 місяців тому +3

    охохохох!!! Да ну нафиг! Сразу лайк! Пошел чай себе заваривать! Прикольно, у тебя, похоже, рубрика "страдаем фигней в крисмас тайм"))

    • @handlez411
      @handlez411 9 місяців тому

      Я бы с удовольствием выпил чашку чая, только без php!

    • @ИванИванов-я5э9к
      @ИванИванов-я5э9к 9 місяців тому +1

      @@handlez411 так вас же никто не заставляет PHP употреблять! Здесь человек собрался страдать за вас. А вы садитесь и наслаждайтесь. Я так и сделал, было круто.

    • @handlez411
      @handlez411 9 місяців тому

      Это было круто, но было ужасно смотреть, как он так страдает!@@ИванИванов-я5э9к

  • @ShadoFXPerino
    @ShadoFXPerino 9 місяців тому +2

    Laravel is a waste of time. Just use Raw PHP like God intended.

  • @cristiantoader4056
    @cristiantoader4056 9 місяців тому +21

    I don't know how you managed to do everything completely wrong!

  • @user-tt6nc6mo7k
    @user-tt6nc6mo7k 9 місяців тому +34

    The only part I agree with you on in this video is the fact that Laravel does not use the inference approach to generating migrations is disappointing. Not a big deal though.
    That being said, if you'd legit taken 5mins to read through the actual guide in the docs you'd have a much better experience... Legit bashing my face against my keyboard watching you try to guess stuff in a framework you're not familiar with whatsoever.

  • @petsoukos
    @petsoukos 9 місяців тому +4

    Every other "X developer tries Laravel" video out there read the docs and ended up loving it. You on the other hand made a video fiddling around aimlessly doing everything wrong (on purpose maybe?) and your conclusion was "Laravel is bad"... what a waste of time this video is. Just delete it man, it offers nothing of value. Even your opinion doesn't matter at this point.

  • @zbrown187
    @zbrown187 9 місяців тому +21

    *Opens file*
    "That looks scary, I'm gonna ignore that"
    Basically my whole work day.

  • @wafrof
    @wafrof 9 місяців тому +26

    Having used most frameworks over just sbout every language other than rust (yet), Laravel is an absolute joy to work with to just get stuff done. Trying it out with zero knowledge of the php language or ecosystem does it no justice.

  • @proevilz
    @proevilz 9 місяців тому +4

    I refuse to believe you spent the 4 hours you claimed you did reading docs. I don't use PHP anymore, not for years, but the Laravel docs is amongst, if not, the best docs out there. You were struggling where the views where, so you resulted in global search across the app. But when you type 'view' in the docs search bar, 1st result, 1st paragraph tells you where they are. You saw Laravel heard as an easy way to manage PHP installs, but you went the convoluted route of using brew. You're trying to figure out how the API works, but again, first page tells you pretty much everything when you search and click the first result. If you did spend 4 hours, what did you actually learn from it?

    • @RawCoding
      @RawCoding  9 місяців тому

      Ehm so you picked out “views” and installing the tools which were the easiest… (brew install php is as simple as it gets I could’ve probably tried that without doing any googling)
      Anyway I dont like tools like herd because its an app that is a fix for where someone made an installer of an installer for an setup of an app. (And if things go wrong you don’t actually understand any of the moving parts)

    • @proevilz
      @proevilz 9 місяців тому +1

      @@RawCoding Easiest? Yes, easiest, and yet, after 4 hours of reading docs, apparently it was still not so easy.
      Did you want me to fine-grain anaylse everything in the video you're questioning and put a 'search for X, and its there in the first paragraph' comment for each one, to eliminate 'easiest' thing?
      I picked those out as quick things that came to mind, and I didn't go any further than about 20mins IIRC because just like many others have expressed, it's mildly infuriating to watch you try to do this, in this way, when all your answers are so easily found in their docs.
      But my question still stands: If you did spend 4 hours, what did you actually learn from it? Because you hit a roadblock at every point when it came to framework knowledge.

    • @RawCoding
      @RawCoding  9 місяців тому

      Am I getting trolled here?
      You said I was struggling with x and y, I said actually no those parts were easy.
      As for hitting roadblocks when learning something new? sorry mr perfect ill try to get it right the first time.
      And what did I learn from the docs? Cant say I learned anything from any docs alone as I am a very hands on learner, ive read many oauth related rfcs and had to experiment with a running system for a long time before I really understood what the docs were talking about.
      So take it easy pal.

    • @proevilz
      @proevilz 9 місяців тому

      @@RawCoding My apologies on that part, for I had misunderstood by what you meant by easiest. I had thought you meant I had picked out the easiest things to criticise in the video, and in that context, it came across a little.. ironic?
      Reading RFC's are typically 10x much more challenging because they're usually just blocks and blocks of raw text. So, I understand you, and I'm with you on that one.
      The Laravel docs however, give you everything you need to know, in a digestible, easy to find, and understandable format to get running and building an application within lets say 10-20 mins, provided you actually read it.

  • @jedimastapeb
    @jedimastapeb 9 місяців тому +23

    Big fan of your videos! I also knew how this video was going to go before I even finished watching it, lol.
    I'm a .NET developer in my day job, and a PHP/Ruby/Go/etc. developer at night, and Laravel is actually *really* nice.
    Someone correct me if I'm wrong, PHP is inherently stateless. It loads everything per request and tears it down after the request is finished. So the global state thing you were trying wouldn't work. This presents some problems, but also has a lot of benefits too. There are tools like Roadrunner, Swoole, or Octane (which uses the aforementioned tools), which will run your Laravel code in a process-like model. You could also use one of the many cache providers built-in for this purpose as well. Not sure why global state is something important in a demonstration like this, but there are options if you need to do it.
    Not sure what the issue was around the components/CLI or the comparison to Angular? You can certainly create multiple things, all at the same time. Laravel has command line flags to generate controllers, models, migrations, etc. in one go. You can also do it piecemeal if you'd like as well.
    There's a lot of things you didn't touch on, which I think are important for consideration. Laravel has a lot of first-party tools, for virtually everything, and while not everyone likes them, in my opinion they are all awesome and well designed especially in regards to UI. Things like Jetstream, Breeze, Horizon, Spark, Forge, Vapor, etc.
    Laravel also has a very strong third-party community with things like Tinkerwell, Livewire, Inertia, etc.
    Laravel's testing tools are only rivaled by Rails, in my opinion, and there's even a first party UI-testing framework built on Selenium. The same goes for it's job system which rivals a lot of the things you'd find in something like Sidekiq. And almost all of this stuff is *free*.
    Different strokes for different folks of course, but the only thing I can think of that's significantly better in ASP.NET versus Laravel is the performance.
    I think you gave it a fair shake, but I implore you to give it another shake and everyone else as well. Laravel is really awesome.

    • @fyodor2540
      @fyodor2540 9 місяців тому

      In contrast to you, I'm Laravel developer trying to learn .NET Core. Is there any alternative to Inertia for .NET? The community adapter for it doesn't seem to be maintained anymore.

    • @jedimastapeb
      @jedimastapeb 9 місяців тому

      ​@@fyodor2540 Not that I'm aware of. I wasn't even aware someone made an adapter for .NET.

    • @theshinyplayer2373
      @theshinyplayer2373 9 місяців тому

      @@fyodor2540 Interia is trivial to adapt to your usecase.

  • @JeweiMak
    @JeweiMak 9 місяців тому +4

    This is why people hate PHP/Laravel because these people don't know how to read docs and just making assumptions.

    • @MK-bs3dq
      @MK-bs3dq 9 місяців тому +2

      he just need reactions from PHP community to gain views brother 😂😂🤣🤣

  • @gofullstack
    @gofullstack 9 місяців тому +6

    42:07 You'll definitely try everything again if you read the documentation 🤣🤣🤣
    3 weeks ago I tried Laravel for the first time and wondered why I hadn't been using it.

  • @gofullstack
    @gofullstack 9 місяців тому +3

    44:22 It is happening to you because you don't understand anything bout how it works, you have picked up a tool and expect it to work like every other tool without taking the time to read the manual 🤣🤣🤣

  • @yourockst0ne
    @yourockst0ne 9 місяців тому +23

    .Net Jesus turning into .Net Santa 🎅

  • @labkita
    @labkita 9 місяців тому +3

    just read the documentation please, instead just going from what you think

  • @ajzack983
    @ajzack983 9 місяців тому +4

    a php server starts a new instance of the app on every request. that's why the state wasn't updating.

  • @gofullstack
    @gofullstack 9 місяців тому +2

    47:23 No, you disappointed Laravel 🤣🤣🤣

  • @TheSaintsVEVO
    @TheSaintsVEVO 9 місяців тому +2

    If it was easy everyone would have a lambo 😏

  • @kythonlk
    @kythonlk 9 місяців тому +4

    please read docs

  • @cookiebinary
    @cookiebinary 5 місяців тому +1

    Very unpleasant to watch this video :D
    Trying a new language and framework with old unfashionable and bad habits ..

  • @theshinyplayer2373
    @theshinyplayer2373 9 місяців тому +2

    I hope this video was ment as a joke, cause this was the most painful thing I've ever watched when it comes to programming. If this was actually serious, then you should probably take a look at the docs. I don't use Laravel, but even for me this was like watching someone who has never ever touched code before trying to make something work.

  • @coolcha
    @coolcha 8 місяців тому +2

    This is such a poor attempt!

  • @pauloamserrano
    @pauloamserrano 9 місяців тому +1

    You must learn from another programmer dude.... if you do that like you did it you will make a lot of errors and trash

  • @gofullstack
    @gofullstack 9 місяців тому +1

    42:49 Everything you've done here means that you've just done this for the video and don't care bout learning how Laravel really works. Just read the docs

  • @ИванИванов-я5э9к
    @ИванИванов-я5э9к 9 місяців тому +4

    That was my first language. And for me living without global state that was nothing special. PHP was borne to die, remember? Then I moved to C# and that was a very big surprise when I finally got a normal runtime.

  • @ИванИванов-я5э9к
    @ИванИванов-я5э9к 9 місяців тому +3

    Anton, maybe fuck all these web frameworks? They are +/- the same. Maybe next year u try to make a game with Unity?

  • @kemal6039
    @kemal6039 8 місяців тому +1

    "Even though I used a command to generate migration I still have to add this shit (columns)"
    lmao were you really expecting it to write all the database schema from just the model name you gave?

    • @RawCoding
      @RawCoding  8 місяців тому

      Yeah, .net has entityframework which does that. (Spring orm does it too)
      We also have Marten in .net which will update the database on the fly.

  • @fyodor2540
    @fyodor2540 9 місяців тому +19

    I get that this video is for the memes and trying to get something to work ASAP and I love it but for those that don't, Laravel has great documentation that will help you understand how to use the framework for the things he tried in the video. He tried a couple of things in the video in a C#/.NET way, which isn't really a good approach to learning an opinionated framework, even more that it's written in a different language. Love the torment in this video. Looking forward to the RoR one next year!

  • @madnowruzi
    @madnowruzi 9 місяців тому +1

    Imagine writing all that documentation and then watching this video. DUDE reads the docs and stop hurting yourself lmao

  • @bulent2435
    @bulent2435 7 місяців тому +1

    Lesson learned: RTFD

  • @yemilgr
    @yemilgr 25 днів тому

    Arrive here for dotnet videos... Leaving without looking back after this crap

  • @tiagotheoliveira
    @tiagotheoliveira 9 місяців тому +7

    Almost all the problems you faced, would be a piece of cake if you read the documentation.
    But, good video from a .NET developer.

  • @allinvanguard
    @allinvanguard 9 місяців тому +3

    Maybe you could try Ruby on Rails next? I have little knowledge of it but some of my colleagues are Ruby enthusiasts and they keep praising it

    • @RawCoding
      @RawCoding  9 місяців тому

      Good idea, next year ))

  • @samirram007
    @samirram007 8 місяців тому

    I do write api in laravel(php) as well as in c#(.net). you have gone quite well. but you been funny as you over look and over kill lot of steps.

  • @waltkowalsky4344
    @waltkowalsky4344 9 місяців тому +5

    Laravel is good, stuff just happens under the hood but when you get the knowledge from docs how things work it's really powerful

  • @nicolascanala9940
    @nicolascanala9940 9 місяців тому +1

    Thanks for the video, but it's actually surprising how you managed to do everything wrong haha. Maybe it's the familiarity at this point, but for me it feels so intuitive...

  • @AhmedAlhaj
    @AhmedAlhaj 9 місяців тому +1

    Great vid! I believe that when you start learning a new language or framework, setting a clear goal or project tod do will help you eventualy acquire the necessary skills and knowledge along the journey. As many devs out there I usually start with Blog or portfolio then move to higher more complicated things.
    I would love to see same vid using Go, Rust and Node.

  • @unskeptable
    @unskeptable 9 місяців тому +1

    Once you go php you never go back

    • @leus
      @leus 9 місяців тому +1

      ugh, I tried to like PHP for a long time (years, actually) - it is abysmally bad. The fact it is liked by so many people gives me no hope in humanity.

    • @meetingattender8132
      @meetingattender8132 9 місяців тому

      It’s terrible other than for folks who have no formal cs education and need to pay bills or buy lambos (1 every 3 million)

  • @rentefald
    @rentefald 9 місяців тому +1

    I love all this hardcoded shit... makes sense

  • @jeanfelipesorio4992
    @jeanfelipesorio4992 9 місяців тому +2

    raw coding with raw beard? I like it!

  • @mehdi-vl5nn
    @mehdi-vl5nn 9 місяців тому

    48:08 yes it is a monolith framework dude !

  • @MK-bs3dq
    @MK-bs3dq 9 місяців тому

    for the views?

  • @lidtatech
    @lidtatech 9 місяців тому

    All good things look scary at first. You might need to look again. I have both of them and while I wish The .NET and EF could be as intuitive as Laravel and Eloquent I wish the latter could reach the speed of the .NET and EF and then i will switch completed to Laravel and Eloquent .

  • @mahmoud-bakheet
    @mahmoud-bakheet 8 місяців тому

    I have 6 years of laravel experiences but I enjoyed with your process map so if I want to learn a python or something I'm not gonna be afraid about that

  • @leus
    @leus 9 місяців тому

    I'd thought people should've already concluded by now that behaviour driven by convention is not really a good thing. That's why frameworks are so hard to adopt and it's so damn hard to get out of that mentality. These kind of frameworks really mess with your head, they are like a cult.

  • @mfsbo
    @mfsbo 9 місяців тому

    😂 this is scary so I am not gonna go into that… migrations are actually same as ef migrations with up and down. Spend a bit more time reading things. You did well getting to where you are but skipping a lot meant bad experience at the end. Try again coming with MVC pattern hat.

  • @minsukim8106
    @minsukim8106 9 місяців тому

    Trying to build instagram clone with .Net and pure javascript, do you have any video recommandations in your channel?

  • @iuribrindeiro5009
    @iuribrindeiro5009 9 місяців тому

    That is funny... When I used to code in PHP I did a lot of "decompilation" investigation and that kind of stuff with PHPStorm. That was actually what taught me so much stuff about design patterns (back in the day I used Zend Framework). Not sure why it doesn't work for u.

  • @shahariarkabir210
    @shahariarkabir210 9 місяців тому

    Try Symfony, a php framework, it will satisfy you.

  • @ppenxhchqlz3113
    @ppenxhchqlz3113 9 місяців тому +2

    PHP makes me cry, the arrows are so ugly

  • @ManderO9
    @ManderO9 9 місяців тому

    bro watching you is soo entertaining, this is gold

  • @migotrobert6952
    @migotrobert6952 9 місяців тому

    what extension are you using for the readme.md file?

  • @SyedMSawaid
    @SyedMSawaid 9 місяців тому

    Try Rails now

  • @dvdrelin
    @dvdrelin 9 місяців тому

    php + artisan = partisan

  • @iuribrindeiro5009
    @iuribrindeiro5009 9 місяців тому

    please try Elm or F# :)

  • @bedramtamang1439
    @bedramtamang1439 9 місяців тому +3

    The problem with senior developers is that they think they know everything, and start doing the way where they are senior at.

  • @gofullstack
    @gofullstack 9 місяців тому

    12:30 No law says you have to close it, man 🤣🤣🤣

    • @JarkkoHautakorpi
      @JarkkoHautakorpi 9 місяців тому

      In fact you should never close it, cause any characters after closing tag are not code, but printed out and may cause problems.

  • @handlez411
    @handlez411 9 місяців тому +2

    It was great watching you suffer. Long live .NET!

  • @zakraw
    @zakraw 9 місяців тому +1

    Looks like you really have not tried express.js, if you think Minimal APis was influenced by Laravel.

  • @Suriprofz
    @Suriprofz 9 місяців тому +1

    Php😅

  • @nkazimulojudgement3583
    @nkazimulojudgement3583 9 місяців тому +3

    laravel is the beast

  • @SteveCatLover
    @SteveCatLover 9 місяців тому +1

    Cool video. Beard looking great btw haha

    • @RawCoding
      @RawCoding  9 місяців тому

      Thank you boss )

  • @oumardicko5593
    @oumardicko5593 9 місяців тому +1

    Yup, tried laravel once. I had ptsd after seeing the amount of config and gymnastics you had to do for simple stuffs

    • @benouattara6249
      @benouattara6249 9 місяців тому +1

      So then I know you lied, cause its actually the opposite

    • @benouattara6249
      @benouattara6249 9 місяців тому +1

      I he had follow the DOC it would have been ready in 3 min

    • @oumardicko5593
      @oumardicko5593 9 місяців тому

      Yeah, good luck coming from a single fille application with no dependencies to what you call a framework

  • @rmnts
    @rmnts 9 місяців тому

    I know a lot of people love Laravel, but I think it is too bloated. Vanilla PHP + Composer for the win.

  • @delphidevdes1479
    @delphidevdes1479 9 місяців тому

    try with Next.Js 14 may be better than PHP

    • @RawCoding
      @RawCoding  9 місяців тому

      Nextjs is poopie

  • @pietrosanchez7484
    @pietrosanchez7484 9 місяців тому

    22:48 "...where I can just take off the hood and take a look at the source code." The source code doesn't really help much. A lot of things are abstracted via Laravel's "Facades". Laravel is a framework built with development convenience first in mind and I think it does an excellent job at that. Initial setup definitely sucks but I'll choose this mess over most JS backends. Those string arguments in facades are really annoying for me, how is a beginner supposed to know what they mean or where to look for the valid values for them? Currently learning .NET Core, I do miss some of the convenience Laravel provides but I like that it's easier to understand what's happening under the hood.

    • @benouattara6249
      @benouattara6249 9 місяців тому

      beginner will just follow the doc first, not click on everything and hope to understand

    •  9 місяців тому +2

      The source code absolutely does help. A Facade is just a static proxy, and it isn't used internally -- services are injected or located.

  • @Guillen8606
    @Guillen8606 9 місяців тому +1

    Ok, I am about to start watching this video, but I just have one very simple question, .... WHY???.... lol

  • @ScuffCs1337
    @ScuffCs1337 9 місяців тому +1

    Nah bro aged 10 years with that beard

  • @Paul-uo9sv
    @Paul-uo9sv 9 місяців тому

    Do .net MAUI