Confusing name of view()-method in the tutorial |
Hi sponti,
Good luck with teaching CI. It is a fabulous framework and really easy to get going with. (04-10-2017, 04:44 AM)sponti Wrote: - There is no really "Hello World" exampleThe 'Hello World' page is really the default page that is displayed when you first load CI. You can see the Welcome controller calling the welcome_view. (04-10-2017, 04:44 AM)sponti Wrote: - In the "Static Page"-Example there is a method named "view()" in the CI_Controller Class.I think you are absolutely right here. A simple change to the example and this possible source of confusion could be removed. It could easily be PHP Code: <?php In fact, perhaps it would also be a good idea to call the default controller 'Hello_world' and default view 'hello_world_view'. So just wanted to say I agree with you and I hope you enjoy CI as much as we all do. The documentation is pretty spectacular when you get into it, but as always, is a labour of love by dedicated volunteers. Best wishes, Paul. |
Messages In This Thread |
Confusing name of view()-method in the tutorial - by sponti - 04-10-2017, 04:44 AM
RE: Confusing name of view()-method in the tutorial - by dave friend - 04-11-2017, 12:23 PM
RE: Confusing name of view()-method in the tutorial - by PaulD - 04-11-2017, 02:58 PM
RE: Confusing name of view()-method in the tutorial - by sponti - 04-12-2017, 01:31 PM
RE: Confusing name of view()-method in the tutorial - by Narf - 04-18-2017, 03:00 AM
|