The Return of jQuery (Not really, just Alpine.js)

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

КОМЕНТАРІ • 26

  • @iwanttopunchtheosface
    @iwanttopunchtheosface Рік тому +4

    Been watching your videos and I'm really learning a lot. So now I thought I'll get a little serious so I bought 5 of your courses while it's on a huge discount 😁. I hope I can be as good as a fraction of you. Thank you Brad!

  • @jediampm
    @jediampm Рік тому +3

    Hi Brad thanks for the video. a few tips:
    - like you have short hand for bind, you also have short hand for events, like "@click"
    - about delete, i think you just over complicate: if you want to use "filter" so just compare with some property of current pet object. If you have the index from the loop, just use the the "splice" function / method.
    - as alternative "loadYet prop, alpine as the directive "x-cloak", but i think your solution is fine or a smart way to do it.
    thanks.

    • @LearnWebCode
      @LearnWebCode  Рік тому +1

      After I recorded the video and was watching it back and editing it I was face palming when I got to the delete part; I definitely overcomplicated that 😂
      I like the x-cloak feature!!

    • @jediampm
      @jediampm Рік тому

      ​ @LearnWebCode And welcome to the group of people that use this version of mini and simplistic version of" Vue". it seams you are leaving react as well ;)

  • @Doomw1ngs
    @Doomw1ngs Рік тому +3

    I have to say after your Laravel course you must be one of the best (if not THE best instructor ), But I should ask will you make any PHP for beginners , or OOP in PHP for beginners? I really hope to find the time and the joy to do it. I hope you the best

    • @AndrewKwabula
      @AndrewKwabula 3 місяці тому

      I agree. He is the best in terms of making things easily understandable plus he REALLY understands his stuff.

  • @arnaudpoutieu1331
    @arnaudpoutieu1331 Рік тому

    Thank you for your time and effort Brad!

  • @mohiminurrahman6487
    @mohiminurrahman6487 Рік тому

    You are really a great teacher.
    I would request you to, If you make a course about next js with prisma it will be very helpful. Hope you will see my comment . Thank you

  • @soccer19957
    @soccer19957 Рік тому

    Great tutorial like always! Thanks Brad 🙌🙌🙌

  • @wisdomeispower
    @wisdomeispower Рік тому +1

    As alwayse on high level

  • @jbugahod
    @jbugahod Рік тому

    thanks brad for this video

  • @sjoodss7654
    @sjoodss7654 7 місяців тому

    I have a website for discount stores, where I can create an account for the store and add a photo for display, but I face a problem, which is not saving these photos in a folder. It appears to me that the folder is not known, but I tried all the methods of extending the folder, but to no avail, but the photos only show the photos that were created when the account was created, and I am developing the answer. Ali, thank you

  • @JimKernix
    @JimKernix Рік тому

    I got excited when you mentioned fetching json from a GitHub repo, but I have a lot of JS for one of my projects and I don't see adding it all to the HTML. I'll have to look into the docs

  • @abdullaalfaiyaz1890
    @abdullaalfaiyaz1890 Рік тому

    Hey Brad. Amazing video as always.
    I am doing your laravel course right now. It has been an amazing experience so far.
    I wanted to ask you one thing, which is do you have any plans to add a module on how to write test cases or basically some real world example on unit testing would be great ?

  • @jonathanvioleta3578
    @jonathanvioleta3578 4 місяці тому

    So if you wanna use complex condition in alphine like a lot of if-else or switch statement should you use .. or should i use php condition if im using php instead, which one do you recommend

  • @WebDevMastery
    @WebDevMastery Рік тому +1

    Please create a course or Start a video series on advance WordPress plugin development

    • @LearnWebCode
      @LearnWebCode  Рік тому

      My full WordPress course on Udemy covers how to create custom block types, meta relationships, interactive front-ends, plugin setting pages, and custom database tables. Are there any technical details you'd like to see covered? Or just wanting a more complex / holistic plugin that we build together step by step?

    • @WebDevMastery
      @WebDevMastery Рік тому

      @@LearnWebCode yes more complex plugin that we can build steps by step,

    • @WebDevMastery
      @WebDevMastery Рік тому

      Please consider my request

  • @JasonJA88
    @JasonJA88 Рік тому +3

    HTMX's nice

  • @montebont
    @montebont Рік тому +3

    Another variant of a very bad concept. HTML deals with the boxes of the page and static content. CSS handles how it looks.
    IMHO variable content (state) is best handled by vanilla JS (or TS when you prefer strict typing) . Basically JS can access/manipulate both HTML and CSS and external data
    Doing it any other way is just another learning curve. And hoping it was worth the effort when your favorite tool is no longer supported.
    Let's be honest: JS is not that complicated and has excellent documentation. Do not waste time on "tools" but focus on "pure" JS or TS.
    If I remember correctly JS in HTML (however abstracted in data-xxx attributes) is a no go for loads of very obvious reasons like separation of concerns...
    When Alpine is still used 5 years from now I'll humbly bow my head for my lack of insight in how things should work...

    • @LearnWebCode
      @LearnWebCode  Рік тому +4

      I actually agree. I have the same general philosophy, if I'm not 99% certain a technology / framework will exist in 5+ years I don't normally cover it. Also, in my full-length guided tour courses I try not to introduce any technologies that aren't part of the core vanilla eco-system because it's usually just more confusing and introduces vendor-lock-in. It's just in the last year or so that I've sort of let my guard down and started making videos on technologies that viewers have requested (Tailwind, Next.js, Alpine, etc...). I think after 150 UA-cam videos and 8 Udemy courses my instincts as a vanilla fundamentals educator have been worn down by the grind of being a "content creator" 😂 Cheers!