1.

What is YII2?

Answer»

It is a GENERIC programming framework and can be used for producing all kinds of web apps using the PHP framework.Yii is based on the approach that code must be written in the most simple way possible. It is a full-stack framework that offers proven features, such as query builders, multi-tier caching support; RESTful API development support; etc.

2. What is the directory structure of YII2?

/
    backend/
    common/
        components/
        CONFIG/
            params.php
            params-local.php *
        lib/
            Pear/
            yii/
            Zend/
        migrations/
        MODELS/
            Comment.php
            Extension.php
            ...
    console/
        commands/
            SitemapCommand.php
            ...
        config/
            main.php
            main-local.php *
            params.php
            params-local.php *
        runtime/
        yiic.php *
    frontend/
        components/
        config/
            main.php
            main-local.php *
            params.php
            params-local.php *
        CONTROLLERS/
            SiteController.php
        lib/
        models/    
            ContactForm.php
            SearchForm.php        
        runtime/
        views/
            layouts/
            site/
        www/
            ASSETS/
            css/
            js/
            index.php *
    yiic
    yiic.bat



Discussion

No Comment Found