ampf MVC PHP framework

2.0.7 2016-12-15 01:40 UTC

This package is auto-updated.

Last update: 2024-03-30 18:59:56 UTC


README

ampf is a PHP MVC framework designed to be simple and stupid. The core of ampf is a dependency-injenction container which does no magic and can be configured to your needs. The idea behind ampf is that this DI container handles all your PHP objects, regardless how they act and what they do. You configure it the way you want and it will handle everything.

This approach has some big advantages (e.g. ampf won't open a database connection unless you really are going to use it, it won't open up a PHP session unless you really are going to use it, etc), as the objects are created on-demand when someone asks the DI container to give him a specific instance.

You configure the ampf framework through normal .php files which then return an array with configuration values.

ampf is still under heavy development and hence its API may change heavily in future.

How to build a webapp based on ampf

When you want to build a new webapp based on ampf, you'd have to do the folllowing:

TO DO