• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CI4 Function / Class Names

I understand that CI4 is under heavy development and a lot is expected to change, but I was wondering whether or not there is going to be public discussion relating to class and function names in the core.

For example, currently (As of 4/11/2016), the function to generate and return a view is:
PHP Code:

So if you wanted to output a view it would be:
PHP Code:
echo load_view('path_to_view'

But in essence, you're not echoing the loading of a view, you're echoing the view itself so the more correct term would be:
PHP Code:
echo view('path_to_view'

I know this might sound like a small change that won't affect many people at all but I was wondering if there was going to be any public input on things like this.
Codeigniter is simply one of the tools you need to learn to be a successful developer. Always add more tools to your coding arsenal!

Messages In This Thread
CI4 Function / Class Names - by albertleao - 04-11-2016, 07:07 PM
RE: CI4 Function / Class Names - by Avenirer - 04-12-2016, 03:02 AM
RE: CI4 Function / Class Names - by kilishan - 04-12-2016, 06:45 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.