Welcome Guest, Not a member yet? Register   Sign In
Using nested controllers
#5

[eluser]hollow[/eluser]
I think you are right, I could do this more easy. I'm going with:

/welcome.php
/privat.php
/students/marks.php
/teachers/marks.php


After login, the url will be: www.example.com/privat
After selecting an item from the menu, it will go to www.example.com/students/marks, without the private word, I really don't mind.
I won't go with methods inside privat.php, there are just to many, and each method has to be itself a controller.. I might have www.example.com/students/marks/list, so I need them as classes.

Thanks again for your support.


Messages In This Thread
Using nested controllers - by El Forum - 10-23-2009, 09:15 AM
Using nested controllers - by El Forum - 10-23-2009, 09:26 AM
Using nested controllers - by El Forum - 10-23-2009, 10:19 AM
Using nested controllers - by El Forum - 10-23-2009, 10:30 AM
Using nested controllers - by El Forum - 10-23-2009, 10:50 AM
Using nested controllers - by El Forum - 10-24-2009, 02:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB