Alpine and htmx helped me so much, as a beginner in web development, to get fast and fun results
@owenwexler72148 ай бұрын
Alpine is fast becoming the de facto global app state library for HTMX and that is a good niche to occupy.
@WebDevEducation2 жыл бұрын
This is awesome, thanks for the tutorial! 🔥 I've previously used Vue JS in a similar way on a legacy WorldServer project but Alphine JS seems like it might be better suited to this use case.
@alex_constantin2 жыл бұрын
Super useful video! I am really happy to learn about these new libraries. Thank you!
@vov4egde2 жыл бұрын
I think if you're using `defer` attr in your script tag you could put it into head tag, since the execution will be ..well ... deferred :)
@awesome-coding2 жыл бұрын
You are right! It's just my habit to place such scripts at the end of the page.
@jamshediqbal79362 жыл бұрын
Nice explanation. It reminds me the days of AngularJS (1.x)
@awesome-coding2 жыл бұрын
Thanks! Simpler times! 😅
@jamshediqbal79362 жыл бұрын
@@awesome-coding Yes
@masterv2.0455 ай бұрын
you're awesome indeed
@awesome-coding5 ай бұрын
Thank you!
@jediampm2 жыл бұрын
hi, thanks for the video, it a great replace for jquery, and before going full vue app. Alpine in its core it is base on vue,so you dont need to pass arrow fn, like in react, svelte or solidjs or preact. it jus @click= "fn()", and if you dont organize well the code, like you did, your html can easily turn out be a big mess. ;)
@awesome-coding2 жыл бұрын
Thanks for pointing that out!
@luizetulio4888 Жыл бұрын
This is so nice. I am learning Django and use Tailwind and Alpine to develop basic websites. Alpine has been a excellent tool to improve ux. Do you offer consulting on how to implement this product variation page + shopping cart using node+Django with alpine+tailwind? Anyways congratulations for the content!
@awesome-coding Жыл бұрын
Great to hear! I'm glad you found this video useful. Funny thing - I'm actually studying python and Django these days as well, so your tech stack might be a good idea for one of my next videos!
@luizetulio4888 Жыл бұрын
@@awesome-coding It would be great if you could repeat this product page shopping cart concept using Django with tailwind. If you need support on patreon, ko-fi, or any donation please let me know.
@awesome-coding Жыл бұрын
@@luizetulio4888 Hey! Will do - The plan is to have something like that posted on my channel in the next month (if all goes well). No need for a donation! Thanks for offering anyway :)
@ashleyfreebush2 жыл бұрын
It seems you use deno for every video. Are you using it in real projects?
@awesome-coding2 жыл бұрын
Hey! I don’t think deno is quite there yet when it comes to production readyness, but the perspectives are great!
@cloudsystem37402 жыл бұрын
wow thanks for sharing
@awesome-coding2 жыл бұрын
Thank you too!
@ignitedcms12882 жыл бұрын
Hello, will you be adding accessibility for your components?
@awesome-coding2 жыл бұрын
Hey! This is actually a very good point, and sadly I’m lacking the discipline to always follow the standards for accessibility. I’ll make a point of mentioning this in future videos. Thanks!
@ignitedcms12882 жыл бұрын
@@awesome-coding I think this is an important thing to touch upon when people are creating their own components, as it involves adding aria classes, keyboard bindings and focus states. So it becomes much more involved then people originally think to get right. Thanks
@voychoi99232 жыл бұрын
Subscribed
@awesome-coding2 жыл бұрын
Thank you!
@okanyldrmop2 жыл бұрын
Great video, may I also ask which font are you using?
@awesome-coding2 жыл бұрын
Hey! That’s Open Sans from Google Fonts.
@okanyldrmop2 жыл бұрын
@@awesome-coding Thank you!
@laughingvampire7555 Жыл бұрын
I think a simple library like this one can be useful for 90% of websites out there. I'm even inclined to consider for the 100% of the projects out there, so please dear developer community help me to think what use cases would be too much for a simple library like this one?
@awesome-coding Жыл бұрын
Totally agree! Alpine will cover most use cases. I think it's a matter of dev experience and personal preference with all these libraries these days.
@bm20852 жыл бұрын
I had to use alpine in a couple of projects and I have hated it. It's a confusing, chaotic mess. It might be good for small things, but nothing serious.
@awesome-coding2 жыл бұрын
Hey! Thanks for your feedback! Could you please share what were the main issues you faced? Thanks! I can see how having everything in the markup could turn out to be confusing. This is why I had all the JS in the video in a separate file.
@bm20852 жыл бұрын
@@awesome-coding Yeah I had the functionality in a separate file also. I had to add multiple payment options of a couple of payment providers to a form. The main issue I faced was code separation. I wish I could have used Vue instead.
@JEsterCW2 жыл бұрын
Lol, what a guy
@oluwatomisinbabatunde84262 жыл бұрын
looking like vue js
@awesome-coding2 жыл бұрын
For certain it has the same progressive enhancement capabilities.
@oluwatomisinbabatunde84262 жыл бұрын
@@awesome-coding I still use Vue 2 this way to add reactivity to html although I’m yet to check out petite Vue and alpine has almost the same syntax and ideology but with Vue I can choose the segment of html to inject reactivity I find it really flexible
@awesome-coding2 жыл бұрын
@@oluwatomisinbabatunde8426 In all honesty, petite-vue is probably a better alternative than Alpine just because of the entire Vue echosystem. Once you are locked in on Vue, it's tough to transition to a different framework because of all the great things they already offer. I also worked heavily with Vue 1 and 2, but I switched to React because the functional approach felt more natural to me. I know Vue 3 comes with the Composition API, so things are looking pretty awesome for Vue:)
@Kiev-in-3-days8 ай бұрын
It looks messy. What an ugly mixed of concerns. The sad truth is it's already 2024 and we don't have any clean and simple solution for reactivity. Solidjs needs extra tools nonsense. React is .. Well don't even want to talk about React. This industry is in such a sad state.
@internetwanderer9053Ай бұрын
Could you elaborate - Im not in web dev and I've just begun. Why is reactivity so important?