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.
After a long time, I’ve tried to do something for Avro in Linux. I know we’ve done a temporary solution. But believe me, that’s enough for now. According to Sarim Khan, he’s implementing Avro again from scratch in Go lang. I hope, within two or three months, we’ll get a new static binary of Avro what will be distro independent. But till then, try this way to get Avro installed in your Ubuntu 16.
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.
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.
When I have seen this question, I have asked myself ‘better in where?’. Surely BootStrap is the most famous CSS framework in present world. It is famous because it is easy to learn and use. Its great documentation has made it easier to use. That’s why it is the most famous CSS framework. When you are gonna build a website, BootStrap is a charm. But what about a WebApp? BootStrap is just like a waste of time.
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.
I have been programming for about 3 years. And just I have realized I know nothing about it. You may be surprised! But believe me, I have learnt a little about data structures and algorithms. To say the very truth, they are the heart of programming. So I should learn them as many as I can. The time doesn’t wait. But fortunately, I have time to learn till now. You may start with me too.