Benjamin Renard
83f1445799
Make core libs set their default config values in App
...
This permit to homogenize the method to store it and permit an access to
all config default values.
Futhermore, core libs init() methods now does not handle parameters: all
are taken from config.
2023-03-01 16:22:11 +01:00
Benjamin Renard
508dda6562
Url::add_url_parameter() & Url::add_url_parameters(): $url parameter is now not a reference
2023-03-01 10:40:00 +01:00
Benjamin Renard
7f2644b46a
Url: add before_handling_request & after_handling_request hooks
2023-02-28 19:44:01 +01:00
Benjamin Renard
f16f433326
Url::add_url_handler(): accept null as $pattern to match the root on the application
2023-02-28 19:07:58 +01:00
f79be675fb
Cli: add serve command
2023-02-28 01:36:54 +01:00
Benjamin Renard
c55e29d1fa
Url: add add_url_parameters() method
2023-02-27 19:32:12 +01:00
4fae41d1ea
Url::remove_trailing_slash(): improve method
2023-02-26 23:41:55 +01:00
3edf176dc2
Url: store current request in a public static class variable to allow access from everywhere
2023-02-25 05:03:19 +01:00
610cdb0f7c
Add authentication support
2023-02-25 05:02:27 +01:00
8ff2fe663d
Fix PHP 7.3 compatibility
2023-02-16 01:53:08 +01:00
66b94fb7d6
Url::add_url_handler(): clean code and return bool
2023-02-16 00:52:09 +01:00
d304d4741f
Url: add optional additional info to Url handler
2023-02-15 18:58:17 +01:00
73dc860972
I18n: Split translated messages of core and app in discting gettext domains
2023-02-14 01:21:52 +01:00
317cb30cb3
Tpl: Add stuff to have multiple templates directories with priority
2023-02-13 00:42:37 +01:00
4f47dc056d
Tpl: Add stuff to handle static files
...
* Move example application in example sub-directory
* Widely use App::get() instead of Config::get()
2023-02-12 00:30:36 +01:00
f2edf4910a
Switch to YAML configuration file, add Config & App classes in EesyPHP namespace
...
App initialization is now handle by App::init() method and all
configuration information is now retreive using Config::get() method.
2023-02-08 02:27:15 +01:00
0eb2c543f1
Remove useless "use" statments in EesyPHP namespace
2023-01-31 01:00:56 +01:00
1fff8f0af4
Move templating stuff in EesyPHP namespace
2023-01-31 00:30:04 +01:00
27af166466
Move Url stuff in EesyPHP namespace
2023-01-29 19:18:10 +01:00