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.
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. ;)
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!
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!
@@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.
@@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 :)
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!
@@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
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 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
@@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:)
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.
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.
@@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.
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.
Alpine and htmx helped me so much, as a beginner in web development, to get fast and fun results
Alpine is fast becoming the de facto global app state library for HTMX and that is a good niche to occupy.
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.
Super useful video! I am really happy to learn about these new libraries. Thank you!
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 :)
You are right! It's just my habit to place such scripts at the end of the page.
Nice explanation. It reminds me the days of AngularJS (1.x)
Thanks! Simpler times! 😅
@@awesome-coding Yes
you're awesome indeed
Thank you!
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. ;)
Thanks for pointing that out!
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!
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!
@@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.
@@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 :)
wow thanks for sharing
Thank you too!
Subscribed
Thank you!
Hello, will you be adding accessibility for your components?
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!
@@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
Great video, may I also ask which font are you using?
Hey! That’s Open Sans from Google Fonts.
@@awesome-coding Thank you!
It seems you use deno for every video. Are you using it in real projects?
Hey! I don’t think deno is quite there yet when it comes to production readyness, but the perspectives are great!
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?
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.
looking like vue js
For certain it has the same progressive enhancement capabilities.
@@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
@@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:)
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.
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.
@@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.
Lol, what a guy
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.