Ubiquity v2.1.0 Release Notes
Release Date: 2019-04-01 // about 5 years ago-
โ Added
- ๐ป Themes manager with bootstrap, Semantic-ui and foundation
AssetsManager
for css,js, fonts and images integrationThemesManager
for css framework integration- Themes part in webtools interface
- Dependency injection annotations
@injected
inject a member in a controller defined by a dependency in config@autowired
inject an instance of class defined by type with@var
annotation
๐ Changed
- dependency injection mecanism
- controller cache for di
@exec
key inconfig[di]
for injections at runtime
๐ฅ Breaking change possible:
use
"di"=>["@exec"=>[your injections]]
instead of"di"=>[your injections]
๐ Fixed
- ๐ An exception is thrown In case of problem with the Database connection (in
DataBase::connect
method) see https://github.com/phpMv/ubiquity/issues/12 >The connection to the database must be protected by atry/catch
inapp/config/services.php
try{ \Ubiquity\orm\DAO::startDatabase($config); }catch(Exception $e){ echo $e->getMessage(); }
### ๐ Documentation - โก๏ธ Dependency injection updates di doc
- ๐ฑ Themes managment Assets and themes doc
- ๐ป Themes manager with bootstrap, Semantic-ui and foundation