Backend view for follower/following database logic

Hi Guys I have got a request from @trafffic98 to explain the logic as a follow up of follower/following database logic, written here. so here in this blog i will just put the logic of follow and unfollow button. Follow def follow(request): """ Method is used to follow an user. """ response = {} # … Continue reading Backend view for follower/following database logic

Follower/Following database logic with django

I have used a lot of social networking sites, including twitter and instagram. Sometimes i wonder how this FOLLOW concept work in these applications. I have done a bit of investigation and finally came up with a way to do that in django. So here it goes .... The idea is We have Auth user in … Continue reading Follower/Following database logic with django

The Awesomeness of MySQL Indexing. Simple, fast, accurate and reliable.

Are you dealing with a huge heap of data each day in you database with over hundreds of tables and thousands of records in each table? If yes then you must be getting a slower performance. Same was the case for me too. I have a MySQL database with 230 tables in it and huge number of … Continue reading The Awesomeness of MySQL Indexing. Simple, fast, accurate and reliable.