1.4 KiB
1.4 KiB
Bludit
Dear developers
Frameworks and libraries included in Bludit v4
Bludit will include the following frameworks, please use them with they native functions.
Frontend:
- Bootstrap v5.
- Boostrap icons.
- jQuery, you can use vanilla Javascript but for events in the views please use jQuery.
Backend:
bl-kernel/functions.php
provides the global function for Bludit; These functions provide connectivity between different objects and databases; These functions should provide different checks and logic before add/edit/delete into the databases.- PHP SimpleImage for processing images: https://github.com/claviska/SimpleImage
Comments for functions and methods
Please add the following structure commenting what it does the function, also add the stamp === Bludit v4
so I know what is new.
/**
* Create a new category. === Bludit v4
* @param array $args [string $name, string $template, string $description]
* @return string|bool Returns the category key on successful create, FALSE otherwise
*/
function createCategory($args) {
...
}
Documentation for Bludit v4
There is a new branch for the Documentation in english for Bludit v4.
https://github.com/bludit/documentation-english/tree/v4.0
PHPStan
docker run --rm -v $(pwd):/app ghcr.io/phpstan/phpstan:0.12.99 analyse -c /app/phpstan.neon /app