Skip to content

Switch to PHP namespaces #53

@bergie

Description

@bergie

Midgard MVC code should live under the Midgard\MVC namespace and we should utilize a PHP standards autoloader:
http://groups.google.com/group/php-standards/web/psr-0-final-proposal

Since the entry point to Midgard MVC is midgardmvc_core::get_instance(), this rootlevel class should be kept available for backwards compatibility purposes. The target is to keep the component API unchanged.

The only other compatibility class we need is midgardmvc_core_request which extends Midgard\MVC\Request, as most component controllers have this as a typecasted parameter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions