Directory Structure

The directory structure for Sodapop applications changes slightly if themes are being used. The /skeleton directory included with the Sodapop download includes both the normal and theme directories so that users can choose which they prefer.

/application_name
    /conf
        sodapop.json 1
        routes.json 2
    /controllers
        IndexController.php
        ...
    /models
        User.php
        ...
    /layouts 3
        layout.php
    /themes 4
        /theme_name
            /layouts
                ...
            /views
                ...
            /www
                ...
        ...
    /views 5
        /index
            index.php
            404.php
            500.php
            ...
        ...
    /www 6
        .htaccess
        index.php
        mime.ini