Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,718 members, 7,809,717 topics. Date: Friday, 26 April 2024 at 01:51 PM

How To Use Both Django And Node.js - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / How To Use Both Django And Node.js (1030 Views)

Django And Flask Users, Your Help Is Needed Please / Built A To-do-list Web App With Django And Bootstrap. / Lets Learn React Native,javascript,react Js And Node Js Together(alimosho LGA) (2) (3) (4)

(1) (Reply) (Go Down)

How To Use Both Django And Node.js by vadeonly(m): 2:32pm On Oct 21, 2017
I have been thinking of a way to go about it.
But I think using Django for the backend will be the best because it's powerful.
Django can be used to map out the models in the way which the tables will be created in the any preferred database, for authentication, adminstration and others things.
So, a rest framework can be employed in order to serialized the model and return it as a API/JSON.
Now Node.js comes into the equation as a CRUD for the JSON/API been created by Django because Node.js is fast.
Node.js will do the frontend work with help of tools like Vue.js, Ajax, jQuery e.t c, Http requests can now be made.
With your knowledge of both frameworks you can cook up virtually any web project for personal or commercial uses.
This will make your project to be beautiful both in the backend and frontend.
Major website like Reddit and Instagram are using this similar idea.
Re: How To Use Both Django And Node.js by Nobody: 5:58pm On Oct 21, 2017
First of all nodejs is an environment al a javascript, like python which also has an environment

So you can't use nodejs and Django. You can use, react, angular and Django.

Your just misyarning here.

1 Like

Re: How To Use Both Django And Node.js by vadeonly(m): 6:05pm On Oct 21, 2017
TheCabal:
First of all nodejs is an environment al a javascript, like python which also has an environment

So you can't use nodejs and Django. You can use, react, angular and Django.

Your just misyarning here.

I know what I am saying. I have done that and it's​ working well.
Re: How To Use Both Django And Node.js by Nobody: 6:05pm On Oct 21, 2017
vadeonly:


I know what I am saying. I have done that and it's​ working well.

OK ..
Re: How To Use Both Django And Node.js by codingground: 10:54am On Oct 22, 2017
TheCabal:
First of all nodejs is an environment al a javascript, like python which also has an environment

So you can't use nodejs and Django. You can use, react, angular and Django.

Your just misyarning here.
You can use both frameworks sir, using API/JSON to exchange information, as he stated.
Re: How To Use Both Django And Node.js by Nobody: 11:53am On Oct 22, 2017
vadeonly:
I have been thinking of a way to go about it.
But I think using Django for the backend will be the best because it's powerful.
Django can be used to map out the models in the way which the tables will be created in the any preferred database, for authentication, adminstration and others things.
So, a rest framework can be employed in order to serialized the model and return it as a API/JSON.
Now Node.js comes into the equation as a CRUD for the JSON/API been created by Django because Node.js is fast.
Node.js will do the frontend work with help of tools like Vue.js, Ajax, jQuery e.t c, Http requests can now be made.
With your knowledge of both frameworks you can cook up virtually any web project for personal or commercial uses.
This will make your project to be beautiful both in the backend and frontend.
Major website like Reddit and Instagram are using this similar idea.

Yeah this is now becoming a thing, using one as a Middleware, I've seen cases where the backend is in almighty C++ and PHP handles the request. crazy right am curious for the use case for C++ as the service layer maybe crazy request load.

1 Like

Re: How To Use Both Django And Node.js by vadeonly(m): 3:52pm On Oct 22, 2017
codingground:
You can use both frameworks sir, using API/JSON to exchange information, as he stated.
All this things has to do with creative. What is the essence of knowing 3 or more web development frameworks or languages etc that your can't mix it together.

(1) (Reply)

Tire For Free Hosting Site / Needs A %50 Percent Ponzi Script..workling Scripts Please / Alphah Sales POS Software

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 13
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.