User Tools

Site Tools


fulleron:motivations

Motivations

This page documents motivations behind conventions and decisions in the framework.

File structure

Different entry points for areas

admin
    index.php
    index.local.php
    .htaccess
index.php
index.local.php
.htaccess

Repeating parent folder name within file name

FCom
    Catalog
        CatalogFrontend.php
        CatalogAdmin.php

Inconsistency between class name and file name

Keeping different classes within the same file

<?php
class Custom_Module_Frontend extends BClass
{

}

class Custom_Module_Frontend_Controller extends FCom_Frontend_Controller_Abstract
{

}

class Custom_Module_Model_Test extends FCom_Core_Model_Abstract
{

}

Class and method naming

==== idiorm/paris ====

==== B* classes ====
fulleron/motivations.txt · by unirgy