Django and Alpine.js - Introduction to Alpine.js

  Рет қаралды 10,048

BugBytes

BugBytes

Күн бұрын

Пікірлер: 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 9 ай бұрын
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 KZbinr 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!
@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. 😀
@mohammadshafayethaydar1652
@mohammadshafayethaydar1652 2 жыл бұрын
This is awesome man! Thank you very much, please continue.
@bugbytes3923
@bugbytes3923 2 жыл бұрын
Thank you Mohammad, appreciated as always!
@franklynOse
@franklynOse 4 ай бұрын
this is really a goldmine. I
@defidelity
@defidelity 2 жыл бұрын
You really get the update 😁😁😁
@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!
@leventadam
@leventadam 2 жыл бұрын
Hi, thank you for Alpine and Htmx tutorials.
@bugbytes3923
@bugbytes3923 2 жыл бұрын
Hi - you're welcome! Thanks for commenting.
@anatolys9203
@anatolys9203 2 жыл бұрын
thank you very much! good job!
@bugbytes3923
@bugbytes3923 2 жыл бұрын
Thanks Anatoly!
@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.
@seydinaoumarsamabaly1806
@seydinaoumarsamabaly1806 2 жыл бұрын
Thank you so much man !
@bugbytes3923
@bugbytes3923 2 жыл бұрын
Thanks again mate!
@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!
@umairsarwar7472
@umairsarwar7472 Жыл бұрын
great job
@bugbytes3923
@bugbytes3923 Жыл бұрын
Thank you!
@Rob-cq1nf
@Rob-cq1nf 2 жыл бұрын
Thanks a lot 🙏Nice combi
@bugbytes3923
@bugbytes3923 2 жыл бұрын
Thanks!
@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?
@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).
@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!
@nicenaija9952
@nicenaija9952 2 жыл бұрын
Hyperscript tooo
Django, HTMX and Alpine.js - Building an Accordion component
20:19
ROSÉ & Bruno Mars - APT. (Official Music Video)
02:54
ROSÉ
Рет қаралды 321 МЛН
When u fight over the armrest
00:41
Adam W
Рет қаралды 24 МЛН
小路飞还不知道他把路飞给擦没有了 #路飞#海贼王
00:32
路飞与唐舞桐
Рет қаралды 76 МЛН
Car Bubble vs Lamborghini
00:33
Stokes Twins
Рет қаралды 39 МЛН
Alpine.js Crash Course
42:02
Traversy Media
Рет қаралды 128 М.
django-slippers and DRY Django Templates
15:26
BugBytes
Рет қаралды 7 М.
Say No To Complexity With AlpineJS - Caleb Porzio
32:04
JavaScript Conferences by GitNation
Рет қаралды 18 М.
Frontend with TailwindCSS and Alpine JS - Part 1
26:39
Andreas Jud
Рет қаралды 12 М.
Getting Started with Alpine.js
15:09
DigitalOcean
Рет қаралды 7 М.
Easy Alpine.js Modal with Dialog: A Slick & Simple Approach
10:25
Django Dynamic Forms Tutorial with Htmx
48:27
Matt Freire
Рет қаралды 69 М.
ROSÉ & Bruno Mars - APT. (Official Music Video)
02:54
ROSÉ
Рет қаралды 321 МЛН