Posts

Showing posts from September, 2020

Flask Vs. Django

Image
  Flask and Django are two of the most popular web frameworks for Python (although there are  many more ). In this post, I'll discuss some of the points you should consider when you're choosing between Flask and Django. We'll also walk through a "Hello, World" app in each of them to get more of a hands-on feel for how they work. (Note: I'm a long-time Flask user and author of the book  Flask by Example , so I'm personally a bit biased towards Flask. I'll keep this overview as objective as possible though). Wait, why do I need a web framework and what is it anyway. Quick Comparison Hello, World! Final Remarks Wait, why do I need a web framework and what is it anyway. When you first started developing Python applications, you probably developed so-called "command line applications". The user has to run these scripts in a shell or command prompt and pass input as arguments or through standard input. Several years ago, the natural progression fro...

How Big Data affect mobile app development

Image
Mobile app development is a popular service offering today – thanks to the immense popularity of a mobile phone in people’s lives. And it would be disastrous for companies not to leverage this opportunity if they still haven’t addressed it. So, to make use of this ever-growing avenue more and more, organizations all over the world are rushing to embrace this trend. However, they also understand that merely developing a mobile app is not nearly enough, i.e., if they genuinely want an edge over the competition, they need help from advanced technologies. As part of this, Big Data has garnered immense interest in the past few years. It deals with data collected from an endless number of sources to provide invaluable insights while playing a crucial role in advanced mobile app development. How? Well, it gives companies and developers access to unprecedented insights into application users, app performance, and a variety of other critical factors. Such data and insights are then applied to d...

Common MapReduce Patterns

  The design patterns are the solution templates for solving specific problems. Developers can reuse templates for similar problems across domains so that they save time in solving problems. If you are a programmer, you would have used the abstract factory pattern, builder pattern, observer pattern, and so on before. These patterns are discovered by people who have been solving similar problems for many years. The MapReduce framework has existed for almost a decade now. Let's look into a few of the commonly used MapReduce design patterns across industries. Summarization patterns Summarization problems use the pattern widely across domains. It's all about grouping similar data together and then performing an operation such as calculating a minimum, maximum, count, average, median-standard deviation, building an index, or just simply counting based on key. For example, we might want to calculate the total amount of money our website has made by country. ...