Home  >  Q&A  >  body text

Naming convention for folders in view

The controller file name is UserLogin and the class name is UserLogin.php. How should the corresponding folder in the view be named? Why can’t I access the username I named userlogin?

。。。。。。。。。。。。2599 days ago1620

reply all(2)I'll reply

  • DayDayUp

    DayDayUp2017-08-12 18:05:08

    Place UserLoginController.class.php under the folder Controller

    Place the UserLogin folder under the folder View, and then put the html page inside



    reply
    0
  • ringa_lee

    ringa_lee2017-08-12 17:22:13

    The folder name corresponding to the view is the same as the name of the controller, but please pay attention to the capitalization

    reply
    0
  • Cancelreply