Modeling Hierarchical Data in Postgres

hierarchy data

Hierarchical data has historically been a challenge with relational databases. There are well-known solutions for implementing a hierarchy in a purely relational fashion, but their complexity and performance are not generally desirable. To overcome this, some modern RDBMSs have a special data type for hierarchical values. In the case of Postgres, this data type is…

Read More

Blog List Example with Volley

blog publish

In my previous iterations of the of the Blog List example, the BlogListService just returned a hardcoded list of BlogPost objects. In this post, we will actually retrieve the list of BlogPost objects from a restful JSON service. Ideally, you can eliminate much of the HTTP traffic by using some sort of a client side…

Read More