Laravel IoC Container is a powerful component for inserting class dependencies at runtime. It is the core of the Laravel Framework. Understanding the IoC Container helps...
I have already done a Facebook Style Relationship System in a previous post that covers the database design and PHP implementation of various friendship actions like...
Search is one of the interesting feature Facebook has invented. It is way to search the various connections inside of Facebook for a user. The style...
Traits are way for code reuse which makes it easier to include the same code(trait) in different locations(classes). PHP is a single inheritance language,...
oEmbed is a way for third-party websites to display an embedded representation of an URL. Using this format service providers implement URL Schemes and API endpoints...
This post explains in detail of how to use the Classes created in Social network friend’s relationship to actually implement the system itself. This is...
When building a social network, it is important to think about the relationship design between the users on the site. I have already posted an article...
The main intent of the Strategy Design Pattern is to design a family of Algorithms which can then be used interchangeably by encapsulating each one. Simply...