WebEngine
WebEngine copied to clipboard
Minimalistic, ergonomic PHP toolkit.
It's useful to track requests against their sessions, to track down issues or monitor real world usage. This is where something like Google Analytics is usually used, but that requires...
~~Logic classes should have no side effect. If they do, for example by echoing something, webengine should throw an exception~~ If *anything* is output to the buffer before the Lifecycle::finish...
This is a feature that was part of v3 but has never been implemented in the new system. If a element exists in the body, **after** the go functions have...
Quite commonly I am creating a symlink within `www` to expose just a single directory, such as `asset/upload`. This avoids having to code a new type of router, but is...
When there isn't any need for 'em, don't set 'em.
While v4 has been in development, nearly everything has been thrown into the RequestHandler. Now all functionality is embedded, it's time to refactor the calls to everything into their own...
This is a feature of Symfony that I really like. https://github.com/symfony/symfony/pull/42244
Check the todo markers on https://github.com/PhpGt/WebEngine/security Something to do is create a SECURITY.md to outline how breaches or vulnerabilities are handled.
Logic objects, specifically PageLogic, should have an optional function that can connect to a websocket to keep the page updated in real time after the first render.