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

  Рет қаралды 156,344

CS Dojo

CS Dojo

4 жыл бұрын

Here’s why and how I used Vue.js for my Python/Django web app.
You can try using this website here: csqa.io/
And here’s the article I used for setting up Django with React for my previous project: / set-up-react-in-your-d...
Other Relevant Resources:
The source code of this project: github.com/ykdojo/csqa
Django Rest Framework’s serializer library: www.django-rest-framework.org...
Using Axios with Vue: vuejs.org/v2/cookbook/using-a...

Пікірлер: 364
@DiaryOfMuhib
@DiaryOfMuhib 4 жыл бұрын
So good to see you back making videos. Please consider continuing your series on data structure and algorithms.
@michaelarthurholloway9539
@michaelarthurholloway9539 3 жыл бұрын
Your delivery is clear, concise and very easy to follow. Thanks for the tutorial!
@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
@JosephCaburnay
@JosephCaburnay 4 жыл бұрын
This preview of how you did your work is really nice. Thank you so much. :)
@SantoshElangovan
@SantoshElangovan 4 жыл бұрын
Missed your videos mate. Glad to see you back. And it's a good session on this video.
@markgilroy6170
@markgilroy6170 3 жыл бұрын
That delimiters problem really had me scratching my head. Glad i saw your video.
@vivekanandachowdhury6602
@vivekanandachowdhury6602 3 жыл бұрын
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.
@jaylee4680
@jaylee4680 3 жыл бұрын
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 9 ай бұрын
b-but i love react 😦
@manasr3969
@manasr3969 2 ай бұрын
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 3 жыл бұрын
Ya
@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
@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.
@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!
@drmacsika
@drmacsika 3 жыл бұрын
A very fruitful use of 20 minutes. Thanks.😊
@gireeshnasina3500
@gireeshnasina3500 4 жыл бұрын
I like the way of your explanation and clarity, tq
@balazssrancsik1691
@balazssrancsik1691 3 жыл бұрын
This tutorial is golden. Thank you! I subscribed immediately :)
@chackomappila
@chackomappila 3 жыл бұрын
You are my favourite youtuber . Everybody who does such things promotes their sponsors when videoing .But you stick to the context
@wolfisraging
@wolfisraging 4 жыл бұрын
I'm glad someone made a video bout this
@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😕
@abhishekks6782
@abhishekks6782 3 жыл бұрын
@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. 🙏
@Mydramacloset
@Mydramacloset 4 жыл бұрын
wa mbili, great content as usual man.
@Mfarahkogak009
@Mfarahkogak009 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!!
@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 :)
@shazam1334
@shazam1334 4 жыл бұрын
Bro....ur awesome man!!.....just feels better when I enter this channel man....ur awesome
@sweatobertrinderknecht3480
@sweatobertrinderknecht3480 4 жыл бұрын
loving these *django* devlogs. could you improve the design and maybe consider using sth. like elasticsearch? would be amazing
@mozescodes6618
@mozescodes6618 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!
@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
@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
@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
@concrete4054
@concrete4054 4 жыл бұрын
Love the video👍 Please more of vue and django
@nguyenanghau9549
@nguyenanghau9549 4 жыл бұрын
I learned more knownleague by this video and more videos of you. I'm thank you very much.
@dev-luisbenavidesandrade
@dev-luisbenavidesandrade 3 жыл бұрын
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.
@chronotriggerfan
@chronotriggerfan 3 жыл бұрын
Insanely helpful, thank you!
@valversum
@valversum 4 жыл бұрын
That was great! i love it!
@SomeshSamadder
@SomeshSamadder 4 жыл бұрын
Again, you made my life easier...Thanks man 🙏🙏😇
@AnthonyBecker9
@AnthonyBecker9 3 жыл бұрын
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!
@colton3507
@colton3507 2 жыл бұрын
This is super helpful. Thank you!
@hamidreciol1457
@hamidreciol1457 4 жыл бұрын
Welcome back man we missed you a lot:)
@CSDojo
@CSDojo 4 жыл бұрын
Thank you!
@issahosman5359
@issahosman5359 4 жыл бұрын
YK we missed you for a very long time
@onlinepanda4385
@onlinepanda4385 4 жыл бұрын
Glad you are back!
@siaodprogrammer
@siaodprogrammer 4 жыл бұрын
Welcome back! :) what you prefer node js django or laravel in web development?
@unl0ck998
@unl0ck998 2 жыл бұрын
Thanks for the vid, its exactly what i needed!
@aarmanhossen3222
@aarmanhossen3222 4 жыл бұрын
Thank you, Sir, We want series tutorials Django and Vuejs.
@endless827
@endless827 3 жыл бұрын
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.
@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
@sainarasimha2451
@sainarasimha2451 4 жыл бұрын
Great content ❤️ from india 🙂
@neerajmaran4804
@neerajmaran4804 4 жыл бұрын
Make video once week Love to see you More video on Python and django
@lucyledezma709
@lucyledezma709 4 жыл бұрын
Hi!!!. From Argentina!! I love to code!!!
@mustafahany6264
@mustafahany6264 4 жыл бұрын
we are waiting your django tutorial . big fan of you from Egypt
@denysivanov3364
@denysivanov3364 3 жыл бұрын
good explanations as usual.
@CodeProps
@CodeProps 3 жыл бұрын
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.
@rafaelunag
@rafaelunag 3 жыл бұрын
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?
@lawrencem-yuen2376
@lawrencem-yuen2376 4 жыл бұрын
LOVE THAT flower in the background , got one alike in my home
@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
@JJ-ot3ps
@JJ-ot3ps 2 жыл бұрын
great video, do you think ecommerce site work well with vue/nuxt and django?
@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
@ankitpandey8239
@ankitpandey8239 3 жыл бұрын
YK can you please upload new videos frequently....we need more youtubers like you Love from India
@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
@UEE_ARGHADEEPSAHA
@UEE_ARGHADEEPSAHA 3 жыл бұрын
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.
@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...
@decoder6878
@decoder6878 3 жыл бұрын
Please make a video on 3D reconstruction from multiple 2D images and creating point cloud using python. And tips on improving terrain separation of point cloud.
@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
@computerscience1152
@computerscience1152 3 жыл бұрын
Hey yk can please tell which is better. NODE js or Django or Flask for backends
@arieltabuzojr2434
@arieltabuzojr2434 3 жыл бұрын
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 !
@alexav6060
@alexav6060 3 жыл бұрын
Good job!
@dikimuhamadsyidik9650
@dikimuhamadsyidik9650 3 жыл бұрын
Great videos YK
@bhagwandas321
@bhagwandas321 4 жыл бұрын
You are the best ♥️♥️
@johanhuge6524
@johanhuge6524 3 жыл бұрын
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)
@editionnew9463
@editionnew9463 Жыл бұрын
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?
@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
@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.
@robertmutua3267
@robertmutua3267 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()
@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!!
@abrarzaheen4871
@abrarzaheen4871 4 жыл бұрын
Please try uploading videos every week...... Missed u
@lifeisjoyliveit7655
@lifeisjoyliveit7655 3 жыл бұрын
Your videos are really good. Can you upload video for design patterns?
@AcademyOmen
@AcademyOmen 3 жыл бұрын
Thanks alot for this
@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
@linaalbaroudi651
@linaalbaroudi651 4 жыл бұрын
I am a software engineering student and i have 2 months to prepare for my graduation project. Would you please make a video on How to come up with a good idea and what are the approaches to self learning to get my idea to a fully working software ?
@Rahul-mf2we
@Rahul-mf2we 4 жыл бұрын
Django vs flask which do you think is better? Flask is more recommended for beginners., I think
@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.
@yogeshsomasundaram4187
@yogeshsomasundaram4187 3 жыл бұрын
Thank you for your videos. i am still learning from your videos. i dont know if you read this comment. but if you do, just curious to know your thoughts on Web Assembly and its possible impact on Javascript and its future in the web development. Because W3C says, Web Assembly will work along with JS but not replace it. However, i doubt may be if the web assembly has the Capability to support JS like features like DOM access in future, then there may not be a need for JS. can Web assembly can support DOM like JS in future (which impact JS dominance in the web development ) ? i am not an expert in web development i am just started learning, so please excuse if this question sounds stupid or irrelevant. Thank you for all your videos.
@MuhammadMoazzamhere
@MuhammadMoazzamhere 4 жыл бұрын
why you didn't go with pure javasccript fetch or use ajax request for upvote only?
@mehakshaikh3622
@mehakshaikh3622 3 жыл бұрын
Hey cs dojo can u please tell me that if pycharm is better or Jupyter like wht is easy to use?
@aritasoffia9807
@aritasoffia9807 4 жыл бұрын
Hi, Need some videos on Hammer IVR test automation tool. I couldn't find any useful docs or videos yet. So pls make some videos on this.
@bandhammanikanta1664
@bandhammanikanta1664 3 жыл бұрын
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.
@blabla-kk8bl
@blabla-kk8bl 2 жыл бұрын
did you use vutify inside django? Is it possible to integrate them?
@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 )
@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.
@SriramKrish
@SriramKrish 4 жыл бұрын
love Your Videos
@mkgeidam
@mkgeidam 4 жыл бұрын
We are happy that u are back, missed a lot from you especially your data science and python programming tutorials, hope you will continue share your skills with us Thanks.
@jeethuutube
@jeethuutube 4 жыл бұрын
Does writing programs in a book helps to learn faster than typing in a computer ?
@shaz-z506
@shaz-z506 3 жыл бұрын
Please create a series tutorial video on Django+Vue.js it will be really helpful
@shomysharma
@shomysharma 4 жыл бұрын
Love from India
@LITETECH-ws8kl
@LITETECH-ws8kl 3 жыл бұрын
Sir can u tell how u got the Google interview . Did they approach u or did u approach them . And I also want to become a software developer. And I have finished python. Can u plss tell how shud I study algorithms and data structures . Pls . Love from INDIA ♥️
@andreasbuchner7287
@andreasbuchner7287 4 жыл бұрын
great video
@DefCantGame
@DefCantGame 3 жыл бұрын
2021 thoughts on using drf or just building all in django no api
@besthdcollection7157
@besthdcollection7157 3 жыл бұрын
Hy CS Dojo, How can I contact you personally? I need some help Thanks in Advance..
@devmamba2492
@devmamba2492 3 жыл бұрын
Nice... Ist that site still active? I hope it will grow
@shubhamsinghal6935
@shubhamsinghal6935 4 жыл бұрын
Should I take PCAP python certificate does it have any value and helps in getting job or not?
@shivuk4593
@shivuk4593 3 жыл бұрын
Sir what is the difference between data structure and database, both can store and manipulate data, I guess
Мини-курс Django, Часть 8: Фронтенд клиент на vue.js
25:25
Маленькая и средняя фанта
00:56
Multi DO Smile Russian
Рет қаралды 3,9 МЛН
ISSEI funny story😂😂😂Strange World | Magic Lips💋
00:36
ISSEI / いっせい
Рет қаралды 155 МЛН
Trágico final :(
01:00
Juan De Dios Pantoja
Рет қаралды 28 МЛН
Vue.js: The Documentary
34:45
Honeypot
Рет қаралды 1,5 МЛН
Python Django Explained In 8 Minutes
8:11
Dennis Ivy
Рет қаралды 246 М.
I built the same app 10 times // Which JS Framework is best?
21:58
Fireship
Рет қаралды 2,4 МЛН
I built 10 web apps... with 10 different languages
14:23
Fireship
Рет қаралды 1,5 МЛН
Django and Vue Todo App Tutorial (Django Rest Framework / Vue CLI)
33:36
E-commerce Website With Django and Vue Tutorial (Django Rest Framework)
2:45:27
Deploy a Django web app with Nginx to Amazon EC2
35:26
Cloud With Django
Рет қаралды 35 М.
Маленькая и средняя фанта
00:56
Multi DO Smile Russian
Рет қаралды 3,9 МЛН