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

Поделиться
HTML-код
  • Опубликовано: 3 ноя 2024

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

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

    Thank you for your time and effort 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 ;)

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

    Great tutorial like always! Thanks Brad 🙌🙌🙌

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

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

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

    As alwayse on high level

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

    thanks brad for this video

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

  • @jonathanvioleta3578
    @jonathanvioleta3578 5 месяцев назад

    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

  • @sjoodss7654
    @sjoodss7654 9 месяцев назад

    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 ?

  • @JasonJA88
    @JasonJA88 Год назад +3

    HTMX's nice

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

  • @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 RUclips 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!