Yii is an open-source, component-based PHP framework for developing modern web apps and deploying them using your choice of hosting options. Launched in 2008, it was one of the earliest Model-View-Controller (MVC) frameworks and is backed by a strong core developer team and large contributor community.
In 2008, when Yii 1.0 was released, there were not many PHP web application frameworks that were well-designed, well-maintained, high performing, easy-to-use, and very customizable,” said Alexander Makarov, Core Developer at Yii. “By default, we try to make things simpler, not more complicated. That’s why Qiang Xue spent lots of time investing in it: to make it easier to debug code.
Yii features two application templates: a Basic Project Template, suitable for 90% of development needs, and an Advanced Project Template. Alexander said it’s important to take hosting into consideration when choosing a template.
“The advanced template was created for multitiered projects with a frontend, backend API, etc. — different entry points,” he said. “Many hosting providers do not support that; they support a single web root, and an advanced application template requires at least two web roots.”
If a developer starts with the advanced template and then attempts to deploy the app on a virtual private server, for instance, it would be necessary to switch templates