Python

25 Mar, 2018

Why should I choose Linux over Windows, for Python programming?

I was asked this question on Quora. Normally I don’t like to fight for operating systems. I believe every OS is awesome in there own way. Different people have different needs. It’s one of the sweetest reasons for why we have so many operating systems on our planet. So I have just tried to share my own thoughts on why I am using Linux for Python programming. Please correct me if I make any wrong statement.

22 Dec, 2016

If Instagram would start today, would they use Flask?

Before that, you should know the main difference between Flask and Django. Both are famous in Python arena. But they have different necessity and outlook. Flask is a microframework. The “micro” in microframework means Flask aims to keep the core simple but extensible. Flask won’t make many decisions for you, such as what database to use. Django comes with batteries-included. Django takes care of much of the hassle of Web development, so you can focus on writing your app without needing to reinvent the wheel.

18 Oct, 2016

How difficult is it to learn Django?

Learning Django isn’t hard at all. But when I start to learn it, it seems very hard to me. So I stop learning Django and start learning Flask. But why? Django comes with MTV (Model-Template-View) architecture. In this architecture, a web App is divided into some parts. The code for database will be in models.py, the code for views, I mean how the web App will response with user interaction will be written in views.

18 Sep, 2016

What’s the best way of building website with Django?

You may see that, Django has two different ideas in its structure. One is project and the other is app. Project holds apps. You can create as many as apps you need. But the question is how many app will you need? Just one or more? For example, you are gonna make a blog. Now you can create an app as main which will manage the blog’s posts. Now your blog needs commenting.

9 Aug, 2016

Deploy Django on Ubuntu VPS

Deploying Django on VPS is an easy task if and only if you know some system administration tasks. You may think on which I have written this statement. But believe me, it’s my personal realization when I deploy my personal blog (made on Django). Let’s go back. Previously, my personal site was on WordPress, a PHP based CMS. It is free, Open Source and the top blogging CMS.. Everything was going right.

31 May, 2016

Is Python Flask only for web sites?

What is Flask?Flask is a microframework for Python based on Werkzeug, Jinja 2 and good intentions. And before you ask: It’s BSD licensed! “Micro” does not mean that your whole web application has to fit into a single Python file (although it certainly can), nor does it mean that Flask is lacking in functionality. The “micro” in microframework means Flask aims to keep the core simple but extensible. Flask won’t make many decisions for you, such as what database to use.

14 Mar, 2016

Which Python web framework is better: Django or Flask?

This question was asked on Quora. When I see the question, I set my mind to answer the question. I know I have a little experience on this section but I have tried my level best. Please never forget to mention if I miss anything or make any wrong. By the way, the answer of this question should be aim depended. Please let me explain. Job aimed You will find that most of the Python Web Developing companies are using Django.