Home  >  Article  >  Backend Development  >  yii learning random thoughts

yii learning random thoughts

WBOY
WBOYOriginal
2016-07-25 09:12:33888browse

Recently, our company Xinyi Network is developing a project using yii. I have temporarily studied yii and would like to share my learning experience with everyone

Yii Framework is a component-based, high-performance PHP framework for developing large-scale web applications. Yii provides almost everything needed for today's Web 2.0 application development. Yii is one of the most efficient PHP frameworks

When I first learned Yii, I felt that this component was very difficult to learn. I couldn’t understand many things, such as widgets. When I saw this, I got a headache, but it was because it was object-oriented that I persisted. Later, I checked the information step by step and searched in Baidu, and I understood a lot

It is precisely because of the yii component that I feel that our page needs more div tags, but I still feel uncomfortable and have been wondering why we must use components

First: It increases the difficulty of learning. Anyone who has studied thingkphp knows that this framework is relatively simple and has a lot of information. Unlike yii, which has only a few websites with less information, most of them are in English. It seems that we have to make up for the English. Oh, otherwise I won’t understand

Second: Adding some unnecessary div tags to these components may affect the beauty of the entire website. Although they can define css, divs are indispensable and still need to be added

Of course, yii is still safe and can develop large-traffic projects. This is also the reason why our company chose yii

Developing a framework is to be simple and easy to use. It is recommended that yii should not be used as other components. It is best to be simple, easy to use and safe

For more information about yii, please log in to our company’s official website: Chengdu Website Construction Company Xinyi Network http://www.ir58.com



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn