Cursor Adapter in Android

Cursor adapters provide a high-performance way to scroll through long lists of data that are stored in SQLite.The consuming code must define an SQL query in a Cursor object and then describe how to create and populate the views for each row. The CursorAdapter fits in between a Cursor…

[Clean Code] Designing Classes

In this series of posts , I would try to share with you some of my highlights on Clean Code Chapters. In this post , I will try to share with you my own highlights on Classes Design chapter on Clean Code. Classes should be small. Classes should be smaller than that…

Migration to Ghost !

Hi , I'm writing this post to let you know that Learn With Passion is now hosted in a new platform. You will of course be able to view old posts. Stay Tuned for more ! Why should you care ? The blog is now self hosted on a VM so I have…

Lessons to learn from Parse about API design

Recently, I have been concerned about best practices to follow while designing your software APIs.I'm working on a side project that requires designing an API that should hopefully be usable on different platforms so I asked myself why don't I try to learn from the best ? By the best…

Intro to Hadoop and HDInsight in Microsoft Azure

Hi, in this blog post, I will try to give you some info about Hadoop and Microsoft distribution of Hadoop which is called HDInsight. Hadoop is one of the most famous No Sql and big data solutions. Hadoop is already used by big entities like Facebook , Twitter , yahoo and many…

Transferring Data between Silverlight and HTML

In the last few years, html and JavaScript became one of the most used technologies and a lot of applications are now being rewritten in them because of the known multiple benefits of them. At the same time, Silverlight was one of the promising technologies few years ago especially for…

Sorting elements coming from db without repeating code

This week I was working on developing an ASP.NET Web Api service which would talk with a javascript client and one of the needed features was sorting. The case was that we need to get a feed of items sorted by each field of our database entity (I will…