Skip to content

Fluid PHP Framework 0.2.7

Pre-release
Pre-release
Compare
Choose a tag to compare
@devvoh devvoh released this 31 Dec 10:29
· 446 commits to master since this release

Fluid PHP Framework 0.2.7 release

This version is mostly fit to use for a project. Future upgrades to Fluid are not guaranteed to be backwards compatible at this point. There is no documentation, but it's all pretty straightforward and any questions can be asked right here on the Issues tab.

Changelog:

  • Repository now has an onlyCount flag, which can be set using Repository->setOnlyCount(bool). If this is set to true, all selects will return an integer corresponding to the number of rows found. All types of Repository calls can be made, getByConditions as well.
  • Since controllers sometimes need to extend one another, modelTypes were added. These are, by default, [controller, model], but can be extended with the config key 'model_types_add' (comma-separated list). If you want to autoload test_model, it'll recognize 'model' in the classname and know it's a modelType we know. It'll look in [activeModule]/[modelType]/test.php, where the class is, of course, test_model. By extending this, you can make any type of class load automatically.