+ 8

Why do I need to use Django for my sites?

Hello dear Sololearners! I have really stupid question. Why should I use Django/Flask? I don't understand the meaning of these frameworks. I started learning Django and still I can't understand this.

27th Jan 2019, 6:57 AM
just trying to think
just trying to think - avatar
3 odpowiedzi
+ 10
Interactivity on a website generally requires JavaScript, or perhaps PHP. Django is a framework which allows you to use Python to code website interactivity instead. (I think it works by converting Python into other languages that are compatible with websites.) So coding with Django will be like Python, but with added commands that can interact with a HTML document. I, personally, haven't used Django. I simply use JavaScript for my websites. I prefer the syntax of JavaScript over Python, but that's just personal preference. It isn't that much harder, so you could just learn JavaScript and not worry about Django -- whatever you are comfortable with.
27th Jan 2019, 8:04 AM
James
James - avatar
+ 7
Thanks James and Avudaiappan.S !
27th Jan 2019, 10:06 AM
just trying to think
just trying to think - avatar
+ 2
If you want to create a website in rapid manner then it's better to use django and if you are a py dev, web dev and you have no idea about back-end then django for you!
27th Jan 2019, 9:05 AM
Avudaiappan.S