Тёмный

Django and Alpine.js - Introduction to Alpine.js 

BugBytes
Подписаться 32 тыс.
Просмотров 10 тыс.
50% 1

Опубликовано:

 

14 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 37   
@ChrisGrey
@ChrisGrey Год назад
I've watched at least a million hours of technical videos and you, sir, are a world-class teacher.
@bugbytes3923
@bugbytes3923 Год назад
Thanks a lot Chris!
@DisabledCookie
@DisabledCookie 8 месяцев назад
i agree i had to watch the rest of the videos because this guy teaches so well
@AliMulla
@AliMulla 2 года назад
You are competing for my favourite Django RU-vidr spot. I love the fact, your videos are always as brief as possible but really informative. Keep up the amazing content please 🤲🙏
@bugbytes3923
@bugbytes3923 2 года назад
Thank you very much Ali, I appreciate that comment - will try to keep making videos and improving!
@Investigamer
@Investigamer 2 года назад
Thank you so much for covering alpine and HTMX. I'm primarily a backend developer, my past experience is doing PHP development while relying on jQuery for front end interactions, and now that I've moved on to Python I find the new frontend paradigm with things like React, Angular, etc way overcomplicated for my use cases, I've been searching for something lightweight and simple to make my site more reactive without reinventing the wheel or relying solely on jQuery. I've definitely found that with your content!
@bugbytes3923
@bugbytes3923 2 года назад
Thank you for your comment, much appreciated! Yours sounds similar to my own background (PHP, Python), and I really enjoy these simple but effective front-end tools like Alpine.js. Glad the videos have been helpful for you, please let me know if you have any requests or anything. Thanks again!
@franklynOse
@franklynOse 3 месяца назад
this is really a goldmine. I
@ale6au
@ale6au 2 года назад
Thanks, that's great! Greedy for the next video :) The stack Django + htmx + Alpine seems very promising!
@bugbytes3923
@bugbytes3923 2 года назад
Thank you!
@silkogelman
@silkogelman 2 года назад
Awesome introduction to Alpine.js in a Django setting. Thank you very much BugBytes! Right when I was thinking "I wonder how easy it is to fill that x-data with a bit of data from a Django view" you started talking about exactly that. 😀 Looking forward to your upcoming videos combining Alpine.js with more Django bits and Htmx!
@bugbytes3923
@bugbytes3923 2 года назад
Thanks Sil! It's an interesting subject - hoping to show some more stuff w/ Django and HTMX soon. 😀
@leventadam
@leventadam 2 года назад
Hi, thank you for Alpine and Htmx tutorials.
@bugbytes3923
@bugbytes3923 2 года назад
Hi - you're welcome! Thanks for commenting.
@MrChinx25
@MrChinx25 2 года назад
Thanks for the content! Keep it up. I love your Django HTMX tutorials. They help(ed) me immensely!
@bugbytes3923
@bugbytes3923 2 года назад
Thanks Tomi, glad to hear that!
@mohammadshafayethaydar1652
@mohammadshafayethaydar1652 2 года назад
This is awesome man! Thank you very much, please continue.
@bugbytes3923
@bugbytes3923 2 года назад
Thank you Mohammad, appreciated as always!
@defidelity
@defidelity 2 года назад
You really get the update 😁😁😁
@anatolys9203
@anatolys9203 2 года назад
thank you very much! good job!
@bugbytes3923
@bugbytes3923 2 года назад
Thanks Anatoly!
@railspider
@railspider 2 года назад
Great intro video, thanks! Does x-data keep the data private, or can it be viewed the hacker's favourite tool F12? I'm assuming best practice is to use the django View to filter data before fetching it with x-init?
@bugbytes3923
@bugbytes3923 2 года назад
Thanks! The data stored on the x-data directive is available client-side, so it's accessible via F12 - it's important not to store sensitive information in x-data (or return any sensitive information to the client-side, in general). You should filter on the Django view beforehand. If you were using a library such as django-ninja or Django REST Framework to serialize models/querysets, you can specify explicitly the fields you want to return (more on that in the next video or two).
@mgr1282
@mgr1282 2 года назад
Hi, thanks. After Svelte I like Alpine, It's easy and ready to use. If they add components support to Alpine It will be great.
@bugbytes3923
@bugbytes3923 2 года назад
Yeah, minimal setup required for Alpine which is nice! Thanks for commenting.
@timothymalahy7880
@timothymalahy7880 2 года назад
Great video this was very helpful. I had a few questions. 1. What's the difference between x-on:click or @click? 2. Does the @ reference the prior x-data in the div? 3. Can you do x-data and y-on:click? 4. When adding in dynamic classes , Do you need to do it with this javascript function style or is there other options as well?
@umairsarwar7472
@umairsarwar7472 Год назад
great job
@bugbytes3923
@bugbytes3923 Год назад
Thank you!
@seydinaoumarsamabaly1806
@seydinaoumarsamabaly1806 2 года назад
Thank you so much man !
@bugbytes3923
@bugbytes3923 2 года назад
Thanks again mate!
@Rob-cq1nf
@Rob-cq1nf 2 года назад
Thanks a lot 🙏Nice combi
@bugbytes3923
@bugbytes3923 2 года назад
Thanks!
@nicenaija9952
@nicenaija9952 2 года назад
Ouuuuuuuuu. Love it. When do we get to HTMX + Alpine
@bugbytes3923
@bugbytes3923 2 года назад
An HTMX and Alpine integration video will be coming quite soon I think! From your other comment, I'm also hoping to do some Hyperscript videos later on. The focus is on Alpine for the moment (Alpine and Hyperscript are quite similar in what they can do, albeit in different ways - but I do plan to cover both of these). Thanks for commenting!
@jasonvilla3696
@jasonvilla3696 2 года назад
quick question, when fetching the data using alpine, can you use the jinja2 syntax for the url? like {% url 'people' %}
@bugbytes3923
@bugbytes3923 2 года назад
Hey Jason - yes, you should be able to embed the URL template tag into the alpine attribute!
@nicenaija9952
@nicenaija9952 2 года назад
Hyperscript tooo
Далее
Alpine.js Crash Course
42:02
Просмотров 126 тыс.
Part 5. Roblox trend☠️
00:13
Просмотров 2,7 млн
django-slippers and DRY Django Templates
15:26
Просмотров 7 тыс.
Getting Started with Alpine.js
15:09
Просмотров 7 тыс.
HTMX for Impatient Devs
8:33
Просмотров 56 тыс.
Frontend with TailwindCSS and Alpine JS - Part 1
26:39
Alpine JS is pretty useful
9:21
Просмотров 25 тыс.
Vue.js: The Documentary
34:45
Просмотров 1,5 млн