jaywilliams / ultralite

Miscellaneous files pertaining to the Ultralite framework, some of which are deprecated. View pixelpost/ultralite2 for the latest version.
https://github.com/pixelpost/ultralite2
5 stars 0 forks source link

Controller & Views in Plugin Folder #10

Closed jaywilliams closed 15 years ago

jaywilliams commented 15 years ago

Advanced plugins will need their own controllers & views. The autoloader will either need a list of enabled plugins, to check for the controller, or the plugin itself will need to call a specific hook to include the controller in the list.

example/
    controllers/
        examplecontroller.php
    info.ini
    example.php
    views/
        index.phtml
jaywilliams commented 15 years ago

It's alive, and works, might I add!