The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MVC-lite structure
#2
UserSpice is pretty agnostic as to what you do with the pages it controls. My initial thought is that it makes the most sense to create the logic in your base file and then require in the views based on an if statement. I think that would produce the most readable and least redundant code. That's just my 2cents.
  Reply


Messages In This Thread
MVC-lite structure - by plb - 09-06-2016, 03:56 AM
MVC-lite structure - by mudmin - 09-06-2016, 02:19 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)