Interface Tutorial in PHP with Example

In this blog post i’ll discuss what is interface, explain why you use interfaces while writing code. What’s the importance of interfaces.

Interfaces allow you to define common structure for class. You can think interface as a contract, through interfaces we lays out some rules, the classes that implement interfaces must follow those rules.

Yii Framework Tutorial-How to Install and Setup Yii Framework

Yii is a very high performance PHP framework used for development of web applications. It’s free and open-source framework which follows MVC architecture.So now you might be thinking that there is many other PHP MVC framework like Laravel, Symfony, Cake, Codeigniter etc. are available why i use yii framework.The best thing about Yii’s is it’s performance. Definitely If you are making highly-scalable web application then you can’t ignore this point.