PhpGt / WebEngine

Minimalistic, ergonomic PHP toolkit.
https://www.php.gt/webengine
MIT License
26 stars 6 forks source link

I think do reloads should be explicit #632

Closed g105b closed 1 year ago

g105b commented 1 year ago

The current functionality is that all do_* functions will automatically redirect the response back to the page to avoid double form submissions (A.K.A. the post-reload-get pattern).

However, I think this introduces a bit of uncertainty. Especially for newbies. Think about the hello-you example project: do we really need to be explaining why we need to suppress the automatic reload in order to see the name in the response?