Why and How I Used Vue.js for My Python/Django Web App (and why not React)

  Рет қаралды 158,448

CS Dojo

CS Dojo

Күн бұрын

Пікірлер: 367
@flyingzipper
@flyingzipper 4 жыл бұрын
If you could do tutorials on this topic it would be really awsome!
@CSDojo
@CSDojo 4 жыл бұрын
Not sure if I can get to it, but I'll definitely keep it in mind! I'm thinking of creating a web dev tutorial course or something - but we'll see. Thanks for your comment anyway :)
@flyingzipper
@flyingzipper 4 жыл бұрын
@@CSDojo Oh ! That would be even better !
@rabiatabassum5085
@rabiatabassum5085 4 жыл бұрын
on what topic a topic always has a name
@yadneshkhode3091
@yadneshkhode3091 4 жыл бұрын
@@CSDojo create advanced courses of any topic because basics can be found anywhere and everywhere
@mayankdandwani9951
@mayankdandwani9951 4 жыл бұрын
@@CSDojo Please create a complete tutorial series on this topic only
@jaylee4680
@jaylee4680 4 жыл бұрын
I absolutely agree on using vue rather than react. It's too complex. No need to use such complex tech. We just make a web page, not operating system.
@fvgoya
@fvgoya 2 жыл бұрын
Good analogy.
@ilahazs
@ilahazs Жыл бұрын
b-but i love react 😦
@manasr3969
@manasr3969 9 ай бұрын
lol well said
@ashutoshtripathi8927
@ashutoshtripathi8927 4 жыл бұрын
I missed you very much sir in programming. You are a great film maker on KZbin. Thanks us for your support.
@CSDojo
@CSDojo 4 жыл бұрын
Thank you! And sorry about the delay again... I'm going to try to post more often in the future though :)
@jamjam3448
@jamjam3448 4 жыл бұрын
@@CSDojo thanks
@anuragd398
@anuragd398 4 жыл бұрын
Ya
@markgilroy6170
@markgilroy6170 4 жыл бұрын
That delimiters problem really had me scratching my head. Glad i saw your video.
@DiaryOfMuhib
@DiaryOfMuhib 4 жыл бұрын
So good to see you back making videos. Please consider continuing your series on data structure and algorithms.
@chackomappila
@chackomappila 4 жыл бұрын
You are my favourite youtuber . Everybody who does such things promotes their sponsors when videoing .But you stick to the context
@Fizz17
@Fizz17 4 жыл бұрын
I honestly don't know how people can dislike your content... I'm watching your playlist on learning Python and I don't know how people can dislike it when it's SO well explained!
@wolfisraging
@wolfisraging 4 жыл бұрын
I'm glad someone made a video bout this
@michaelarthurholloway9539
@michaelarthurholloway9539 4 жыл бұрын
Your delivery is clear, concise and very easy to follow. Thanks for the tutorial!
@avi12
@avi12 4 жыл бұрын
8:38 A better approach would be to have: data: { message: "Hello ", username: "{{ username }}" }, computed: { welcomeMessage() { return message + username; } }
@sadhlife
@sadhlife 4 жыл бұрын
the username is a constant once the page is rendered, so I think it's alright that way too
@shazam1334
@shazam1334 4 жыл бұрын
Bro....ur awesome man!!.....just feels better when I enter this channel man....ur awesome
@timothyshen4063
@timothyshen4063 4 жыл бұрын
Just completed my dissertation project which is a project built by Django and Vue. These two are a really good combination. Especially with DRF and Axios.
@JosephCaburnay
@JosephCaburnay 4 жыл бұрын
This preview of how you did your work is really nice. Thank you so much. :)
@danielalejandrogilbarrera7108
@danielalejandrogilbarrera7108 Жыл бұрын
Dude you have no idea how on point this tutorial exactly answered the questions that I had about vue and using it on my project. god bless!!!1
@SantoshElangovan
@SantoshElangovan 4 жыл бұрын
Missed your videos mate. Glad to see you back. And it's a good session on this video.
@nowyouknow2249
@nowyouknow2249 4 жыл бұрын
Someone has been missing in action and enjoying Japanese sushi. Welcome back YK!
@CSDojo
@CSDojo 4 жыл бұрын
Haha thank you! I'm going to try to post more in the future :)
@drmacsika
@drmacsika 3 жыл бұрын
A very fruitful use of 20 minutes. Thanks.😊
@sweatobertrinderknecht3480
@sweatobertrinderknecht3480 4 жыл бұрын
loving these *django* devlogs. could you improve the design and maybe consider using sth. like elasticsearch? would be amazing
@skalippanbalippan6972
@skalippanbalippan6972 4 жыл бұрын
3:00 you don't have to learn Babbel or webpack if you want to setup react app, you can use the create-react-app that will handle that for you.
@AnthonyBecker9
@AnthonyBecker9 4 жыл бұрын
What about the node.js server? Still necessary?
@Yarkanlaki
@Yarkanlaki 3 ай бұрын
Yes you can just run build command and copy dist folder to Django and replace django settings template with it 😅
@gireeshnasina3500
@gireeshnasina3500 4 жыл бұрын
I like the way of your explanation and clarity, tq
@AnthonyBecker9
@AnthonyBecker9 4 жыл бұрын
Oh boy, I didn't realize I would need to set up a Node.js server to use React. That would definitely be a pain. You may have just saved me a couple of weeks my dude. Thank you!
@vivekanandachowdhury6602
@vivekanandachowdhury6602 4 жыл бұрын
Thank you so much for all your videos!! Appreciate you taking the time to make them!
@hyungtaecf
@hyungtaecf 4 жыл бұрын
Thank you! It is really straight forward, exactly what I was looking for.
@tanaypatil5476
@tanaypatil5476 4 жыл бұрын
Glad to see this video from you. I use django and want to learn vue. It's good to see that people prefer django + vue. It'll be better if you can create tutorials.
@concrete4054
@concrete4054 4 жыл бұрын
Love the video👍 Please more of vue and django
@abhisheks.2553
@abhisheks.2553 4 жыл бұрын
Thank you so much Bro for coming back and making videos. I was waiting for your videos from almost an year. "Everyday you wake up, you change the world" you're the one who truly suits the quote. Bro please be on KZbin always. lots of love,success and happiness to you. regards Abhishek Singh
@CodeProps
@CodeProps 4 жыл бұрын
Vue and Django is my preferred tech stack too while building web applications, feel like Vue is too underrated compared to big guns like React and Angular.
@balazssrancsik1691
@balazssrancsik1691 4 жыл бұрын
This tutorial is golden. Thank you! I subscribed immediately :)
@mofara7
@mofara7 4 жыл бұрын
Good job explaining everything 👌, Ive never used Vue or Django, but I was able to understand everything in this video very easily, which made me kinda wanna learn them even more, although currently I'm using react and node stack.
@sweatobertrinderknecht3480
@sweatobertrinderknecht3480 4 жыл бұрын
learn django!!
@AhmadHassan-ss5un
@AhmadHassan-ss5un 4 жыл бұрын
I created an forum SPA with Vue + Laravel, this video is really helpful to overcome some problems in my front-end
@colton3507
@colton3507 2 жыл бұрын
This is super helpful. Thank you!
@Mydramacloset
@Mydramacloset 4 жыл бұрын
wa mbili, great content as usual man.
@issahosman5359
@issahosman5359 4 жыл бұрын
YK we missed you for a very long time
@MrRuslionkz
@MrRuslionkz 3 ай бұрын
This video is really valuable.
@onlinepanda4385
@onlinepanda4385 4 жыл бұрын
Glad you are back!
@EdrisRanjbar
@EdrisRanjbar 4 жыл бұрын
as a back-end developer this video gave me a good idea about VUE js and how it works simply. I like to learn it and use in my projects. Thanks
@urtrend2551
@urtrend2551 4 жыл бұрын
I missed you cause you're the only one who give us the wonderful experience ,I'm glad to watch you ,we all know what is takes to do a great video like this ,it makes anyone loves programming and does this til the sun goes by ,and maybe all trough the night time😌. l say the truth.I had problems with programmig,I'm 15 years and I try to make the connection between study and programming You help out great, your ways are simple for all classes,so thanks veryy mmmuch and this what can I do😕
@unl0ck998
@unl0ck998 2 жыл бұрын
Thanks for the vid, its exactly what i needed!
@ahackerplayzph4829
@ahackerplayzph4829 4 жыл бұрын
Cs dojo i missed you so much where have you been ? (Im missed your programming tutorials) I love your videos
@CSDojo
@CSDojo 4 жыл бұрын
Hi, it took me a while to make this one because I was exploring different projects to work on and I had some other things to deal with. Sorry about the wait!
@ahackerplayzph4829
@ahackerplayzph4829 4 жыл бұрын
@@CSDojo umm can I ask a question can you make a video playlist about JavaScript? That would be really helpul
@hgtpmrinbetween3484
@hgtpmrinbetween3484 4 жыл бұрын
@@ahackerplayzph4829 that would be awesome if he did that for is fans
@ahackerplayzph4829
@ahackerplayzph4829 4 жыл бұрын
@@hgtpmrinbetween3484 yeah he removed the heart thought😞btw if you wanna talk just search my name in FB a page with appear ok thx
@hamidreciol1457
@hamidreciol1457 4 жыл бұрын
Welcome back man we missed you a lot:)
@CSDojo
@CSDojo 4 жыл бұрын
Thank you!
@denysivanov3364
@denysivanov3364 4 жыл бұрын
good explanations as usual.
@nguyenanghau9549
@nguyenanghau9549 4 жыл бұрын
I learned more knownleague by this video and more videos of you. I'm thank you very much.
@umesh7345
@umesh7345 4 жыл бұрын
hello bro. You are a very good teacher. Thank u for ur videos
@CSDojo
@CSDojo 4 жыл бұрын
Thank you!
@umesh7345
@umesh7345 4 жыл бұрын
@@CSDojo Bro an you plz answer my insta questions about python.plz
@joseestebanjuarezvelazquez9894
@joseestebanjuarezvelazquez9894 5 ай бұрын
Thanks! Thas was exactly what I wanned to know. Is this possible with compositionAPI instead optionsAPI with vue3?
@chronotriggerfan
@chronotriggerfan 4 жыл бұрын
Insanely helpful, thank you!
@abhishekks6782
@abhishekks6782 4 жыл бұрын
@CS Dojo your videos are really awesome as well as your explanation. I have a question to you. What made you to stop solving problems which are asking in Company interviews, I never seen anyone explaining things like you.You are blessed with that talent. As you said you are filling the gaps and it is helping many people to crack their interviews. Please continue doing that, consider this as my humble request. 🙏
@dev-luisbenavidesandrade
@dev-luisbenavidesandrade 4 жыл бұрын
Thanks for the explanation, was very useful by my side over all I would like to highlight it is the delimiters, that both framework Vue.js and Django, uses the same characters.
@jamjam3448
@jamjam3448 4 жыл бұрын
Is it better to use MERN stack or to combine Django with Reactjs?
@sainathsingineedi2922
@sainathsingineedi2922 4 жыл бұрын
I had the same question
@CSDojo
@CSDojo 4 жыл бұрын
I'm actually not super familiar with the MERN stack -- but I'm thinking of building a new web app with it sometime soon to see.
@sainathsingineedi2922
@sainathsingineedi2922 4 жыл бұрын
@@CSDojo looking forward to:)
@jamjam3448
@jamjam3448 4 жыл бұрын
@@CSDojo okay thanks
@ericblancas8113
@ericblancas8113 4 жыл бұрын
both are very powerful stacks, its just depends on how you plan to use the architecture and also what sort of project you're planning to build
@siaodprogrammer
@siaodprogrammer 4 жыл бұрын
Welcome back! :) what you prefer node js django or laravel in web development?
@JJ-ot3ps
@JJ-ot3ps 2 жыл бұрын
great video, do you think ecommerce site work well with vue/nuxt and django?
@aarmanhossen3222
@aarmanhossen3222 4 жыл бұрын
Thank you, Sir, We want series tutorials Django and Vuejs.
@editionnew9463
@editionnew9463 2 жыл бұрын
you did mention something about google search, honestly, I have been trying to learn how to implement and so far, I am getting the proper syntax. Is it possible to dedicate a short video explaining how it can be applied?
@computerscience1152
@computerscience1152 3 жыл бұрын
Hey yk can please tell which is better. NODE js or Django or Flask for backends
@valversum
@valversum 4 жыл бұрын
That was great! i love it!
@mustafahany6264
@mustafahany6264 4 жыл бұрын
we are waiting your django tutorial . big fan of you from Egypt
@Mozescodes
@Mozescodes 3 жыл бұрын
Thanks a lot really insightful I am inclined to combine Django and Vuejs into my own project down the line just have to polish up on my Vuejs. More videos like this would be appreciated!
@lawrencem-yuen2376
@lawrencem-yuen2376 4 жыл бұрын
LOVE THAT flower in the background , got one alike in my home
@roba_mutua
@roba_mutua 4 жыл бұрын
For the search functionality, make it dynamic. Send ajax requests on key up. Use Q to filter the query set. I use this functionality to filter articles on my website: search_text = request.POST.get('search_text') search_posts = Article.objects.filter( Q(title__icontains=search_text) | Q(body__icontains=search_text) | Q(category__icontains=search_text) ).distinct()
@endless827
@endless827 4 жыл бұрын
hey, great tutorial. thank you. You were using the Vue via CDN, right? Is that okay for the production project? I mean, as far as I know, the Vue project kinda has its own server with Node (NPM). Thanks.
@SomeshSamadder
@SomeshSamadder 4 жыл бұрын
Again, you made my life easier...Thanks man 🙏🙏😇
@neerajmaran4804
@neerajmaran4804 4 жыл бұрын
Make video once week Love to see you More video on Python and django
@dikimuhamadsyidik9650
@dikimuhamadsyidik9650 4 жыл бұрын
Great videos YK
@bramburn
@bramburn 7 ай бұрын
1:12 back in the day that was rhe norm to refresh the whole page. We would use anchors to scroll back to the page. More page views = more ad impressions
@andogrando487
@andogrando487 3 жыл бұрын
Just curious what the advantage would be of doing it this way as opposed to just deploying an SPA in VUE and consuming a DRF api for all the data? Ultimately that separation just feels cleaner to me...
@remoreacts91
@remoreacts91 4 жыл бұрын
Can you please show us how to deal with the JSON serializing problem?
@MuhammadMoazzamhere
@MuhammadMoazzamhere 4 жыл бұрын
why you didn't go with pure javasccript fetch or use ajax request for upvote only?
@tusharsharma1234
@tusharsharma1234 4 жыл бұрын
Really nice video, I have a question using vue.js you have just replaced a single page so that it can be used for multiple routes without reloading the browser, that means rest of your webpages are routed by the backend. My question is can we do the the same in angular too? I just want a single page's route management by angular and other pages route management using node/express
@mohitlamba1022
@mohitlamba1022 4 жыл бұрын
Hi! Does vue.js also has this->binding issue that is a concern in most of my react apps.
@RaZziaN1
@RaZziaN1 4 жыл бұрын
You can use both hooks and functional components and for the most part you can forget about this problems. Hell even simple arrow functions will simplify it most of the time.
@bibibobs
@bibibobs 4 жыл бұрын
Stop hopping frameworks and start to learn one properly, I'm not using `this` in React due to functional components and hooks
@acidicacid6328
@acidicacid6328 4 жыл бұрын
Just use arrow functions bruh
@VictorNascimentoo
@VictorNascimentoo 4 жыл бұрын
The answer you are looking for is no.
@go371211
@go371211 4 жыл бұрын
React hooks don’t have the this binding problem
@omkaryadav7018
@omkaryadav7018 4 жыл бұрын
I am not sure but it okay to put application without bundling and transpile. Because am I going to make this application with use `var` not sure. It is good for quickstart but for the production ready apps I'm not sure.
@bentleyinc7888
@bentleyinc7888 4 жыл бұрын
What computer language and books to learn that computer language do you recommend for sloving cryptographic ciphers like cicada 3301 and just ciphers in general I really like puzzles and problems like that but just dont know how to get started thanks
@Rahul-mf2we
@Rahul-mf2we 4 жыл бұрын
Django vs flask which do you think is better? Flask is more recommended for beginners., I think
@sainarasimha2451
@sainarasimha2451 4 жыл бұрын
Great content ❤️ from india 🙂
@rafaelunag
@rafaelunag 4 жыл бұрын
Do you have any tips on setting up Vue components in a Django/Flask project? Still a noob to Vue but I find it rather powerful and lightweight, but so far I've only seen tutorials that use webpack and basically run Node in order use Vue components. Would you know a nice way of integrating them in a Django/Flask project?
@lucyledezma709
@lucyledezma709 4 жыл бұрын
Hi!!!. From Argentina!! I love to code!!!
@DefCantGame
@DefCantGame 3 жыл бұрын
2021 thoughts on using drf or just building all in django no api
@fattuglee
@fattuglee 4 жыл бұрын
Why did you decide to use Django over Django rest? Would it not have been easier to use restful endpoints with the requests? Sorry if this is a noob question!!
@blabla-kk8bl
@blabla-kk8bl 3 жыл бұрын
did you use vutify inside django? Is it possible to integrate them?
@johanhuge6524
@johanhuge6524 4 жыл бұрын
Is there a simple way to use a npm vuejs module with this method ? A lot of time some vuejs modules only have "npm install module-name" as installation instructions, and no easy way to include a script such as the dist/vue.js (in my case I'm trying to use vue-focus-lock)
@UEE_ARGHADEEPSAHA
@UEE_ARGHADEEPSAHA 4 жыл бұрын
I'm watching your vedios for quite sometime but I have a question as a beginner that which code editor are you using for writting code can you suggest me a code editor to use especially for a beginner.
@devmamba2492
@devmamba2492 3 жыл бұрын
Nice... Ist that site still active? I hope it will grow
@zainkazi
@zainkazi 4 жыл бұрын
Can you make a video about what is API and its uses, benefits and core concepts. This topic is always confusing for me. Will be grateful for a video on API from an easy explainer like you.
@BeingRight123
@BeingRight123 4 жыл бұрын
Hello bro I am from India You are nice hacker bro
@mehakshaikh3622
@mehakshaikh3622 4 жыл бұрын
Hey cs dojo can u please tell me that if pycharm is better or Jupyter like wht is easy to use?
@abrarzaheen4871
@abrarzaheen4871 4 жыл бұрын
Please try uploading videos every week...... Missed u
@sagar_sama2930
@sagar_sama2930 4 жыл бұрын
you are too busy to manage youtube but you left your job for it...don't forgot (i think you are doing some sort of side buisness) wish you very good luck #dojo gang # Love from India
@CSDojo
@CSDojo 4 жыл бұрын
Of course, thank you for reminding me. And sorry about the wait again.
@arjunsharma1633
@arjunsharma1633 4 жыл бұрын
Can you suggest any other course i should take in collage instead of CSE if i want to persue coding as a career ?
@CSDojo
@CSDojo 4 жыл бұрын
(I'm assuming that you meant Computer Science when you said CSE here.) I think entrepreneurship-related courses and math courses (stats, linear algebra and calculus) might be helpful depending on what you want to do after college. In the end though, I think it's more important to do a lot of personal projects and try to understand what you're really interested in. So taking easy courses and spending more time in your personal time to do projects is another option.
@arjunsharma1633
@arjunsharma1633 4 жыл бұрын
@@CSDojo thank you for the reply (and yes i meant computer science) love your content it always helps !! (Btw my current project is a python text encryptor using random )
@TheIronLife
@TheIronLife 4 жыл бұрын
Can you please make a video on Dijkstras algorithm?
@Heisenberg9427
@Heisenberg9427 4 жыл бұрын
I am just wondering why there is a need to use any front-end framework, doesn't Django have the capability of creating views?
@JadaKingdom971
@JadaKingdom971 4 жыл бұрын
It has nothing to do with creating views. The reason you use Vue is for reactivity for example switches, checkboxes, sorting data without hitting the database etc etc
@bhagwandas321
@bhagwandas321 4 жыл бұрын
You are the best ♥️♥️
@jeethuutube
@jeethuutube 4 жыл бұрын
Does writing programs in a book helps to learn faster than typing in a computer ?
@ArmoMultimedia
@ArmoMultimedia 4 жыл бұрын
Are u gonna make a javascript tutorial???
@shaz-z506
@shaz-z506 4 жыл бұрын
Please create a series tutorial video on Django+Vue.js it will be really helpful
@TheDimkaUfo
@TheDimkaUfo 4 жыл бұрын
You don't need to have Node.js server, Babbel(I guess you meant Babel), Webpack if you don't want to, you can have a link to React from CDN and do the same you do with Vue. And IMHO it's kind of wrong to tell that you use one technology/framework over another on "hello world"-ish projects.
@daniskhan
@daniskhan 4 жыл бұрын
Correct
@hezekiahvaldez2943
@hezekiahvaldez2943 4 жыл бұрын
we tried Vuejs + Django... the project was really great. the major issue we encountered is that we're not able to deploy the web app to Azure successfully 🙁
@bandhammanikanta1664
@bandhammanikanta1664 4 жыл бұрын
Hi CSDOJO, I have been thinking to contribute to your Q&A website and I finally made a move to share my thought. Do you have any pending stuff Or sorted requirements.? I will start working on them.
@arieltabuzojr2434
@arieltabuzojr2434 4 жыл бұрын
Hi Sensei, I'm learning web development and I already know HTML CSS JS( btw I plan to learn frameworks after I created my project using pure languanges) Now, I'm thinking whats the best for web dev. PhP or Python or java ? Hope you can help me thanks !
@Technosis
@Technosis 3 жыл бұрын
I am also trying to integrate Vue and Django. and I am able to achieve it. But the main problem is with Vue Components. How can I set up a template for a Vue Component? The template variable in Vue component does takes the HTML but as string I want to specify the file path, but Django handles HTML differently and no path is giving me any good. Can you make a video for that too??
@AcademyOmen
@AcademyOmen 4 жыл бұрын
Thanks alot for this
@edwardseverinsen5598
@edwardseverinsen5598 Жыл бұрын
I'm enjoying Vue thus far. The only hang up for me at the moment is using the same Vue app for multiple instances of essentially the same "object" on a webpage. For instance: Having a ListView in Django that displays multiple blog posts per page, with the body of their text being truncated to say 30 words and using Vue to expand the post body upon clicking. What I've had to do so far to work around this is use the {% for %} tag in my Django template and create a unique Vue app per blog post on the page. Which because I'm only showing 3 per page using pagination, doesn't have a noticeable performance impact, but seems hacky and like it may be a problem down the line. Thus far I have not a found a concrete answer for using multiple instances of the same "app" in Vue across multiple elements. Being able to use a Vue app like a class with predetermined data variable names with assignable contents would be the whole package tbh. I just can't seem to find anyone talking about how to do this which honestly baffles me.
@shrijithsmenon1257
@shrijithsmenon1257 4 жыл бұрын
Can you make a review on mimo app
I built the same app 10 times // Which JS Framework is best?
21:58
Fireship
Рет қаралды 2,6 МЛН
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
Making a Snake Game Where You're the Food in Python
19:34
CS Dojo
Рет қаралды 238 М.
How to use Vue with Django (including Auth) 🔒
19:29
Tom Dekan
Рет қаралды 4,7 М.
Vue.js: The Documentary
34:45
Honeypot
Рет қаралды 1,5 МЛН
Python + JavaScript - Full Stack App Tutorial
1:29:25
Tech With Tim
Рет қаралды 242 М.
How I Sold My Python/Django Website for $41,000
13:30
Dennis Ivy
Рет қаралды 1,5 МЛН
5 Signs of an Inexperienced Self-Taught Developer (and how to fix)
8:40
Python Microservices Web App (with React, Django, Flask) - Full Course
2:16:06
Full Stack Project with Vue.js and Flask (Games Library App)
1:28:43
Python Django and Vue Full Course - Build An Invoicing Web App
4:20:14
Code With Stein
Рет қаралды 25 М.