Helpers and Other Conventions |
It's better to implement InterCaps/BaseCaps for classes and camelCasing for methods. I'm not exactly sure if https://github.com/bcit-ci/CodeIgniter4/...helper.php is the official GitHub repository however, it would be nice to have something like:
Code: use Helpers\UrlHelper; The methods are mostly static in order to imply implicit method calls. I also noticed the parent folder HTTP which, looks a bit odd. If all caps is applied, the filename would look like URLHelper.php instead of UrlHelper.php. Root folders are lower-cased as well. Is it for BC?
Long live CodeIgniter!
|
Welcome Guest, Not a member yet? Register Sign In |