Welcome Guest, Not a member yet? Register   Sign In
Confusing name of view()-method in the tutorial
#1

This week I'm starting with a new course about frameworks and CI at SAE Zurich Institute.
Because I'm the teacher, I'm reading the documentation very attentively.

Two things seems to me not to be optimally solved in the tutorials:
- There is no really "Hello World" example
- In the "Static Page"-Example there is a method named "view()" in the CI_Controller Class.
This is very confusing for students who are new in the MVC world, because at the beginning it's very hard to understand the difference between controllers, Models and views (and to call the methods belonging to it)
I guess the reason for "view()" is "view the pages". It's has nothing to do with the "view"-expression coming from the MVC-Model

PLEASE rename this method for didactic reasons with an another word like "show()" or "showPage()". I think thousands of newbies would be grateful for this.
Thank you!
Reply


Messages In This Thread
Confusing name of view()-method in the tutorial - by sponti - 04-10-2017, 04:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB