Welcome Guest, Not a member yet? Register   Sign In
use of $route in routes.php
#3

(This post was last modified: 11-04-2017, 12:39 PM by richb201.)

Thanks. That subdirectory, /users is actually a view. I do have two different controllers I am using. Users.php is for the login system and this has  3 different views, account, login and registration. Then I am also using grocery_crud which has its own controller called configuration.php and view.

1.Controllers
    2.Users.php
    2.Configure.php
3.Views
     4.Users
        5.Login.php
        5.Registration.php
        5.Account.php
     4.Configure.php

The reason for two controllers is the use of two separate code sources, grocery_crud and codexworld's user authentication. Is there a better way to organize this? both controllers; configure and users are in the root of the app directory. Will I still need to redirect to get from one to the other? the controller configure and the view configure make up the grocery _crud part. The controller users and the views login, registration, and account make up the authentication part.
proof that an old dog can learn new tricks
Reply


Messages In This Thread
use of $route in routes.php - by richb201 - 11-04-2017, 05:28 AM
RE: use of $route in routes.php - by InsiteFX - 11-04-2017, 09:32 AM
RE: use of $route in routes.php - by richb201 - 11-04-2017, 10:00 AM
RE: use of $route in routes.php - by InsiteFX - 11-05-2017, 05:12 AM
RE: use of $route in routes.php - by richb201 - 11-05-2017, 02:14 PM
RE: use of $route in routes.php - by richb201 - 11-05-2017, 05:03 PM
RE: use of $route in routes.php - by Narf - 11-06-2017, 03:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB