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
UserSpice 5 Folder Structure
#2
I think you may have missed the point of UserSpice. UserSpice, at its core, (from the perspective of the person using it to develop an application) is essentially 2 lines of code.

1. It's a call to an init file that sets everything up.
2. It's a call to a securePage function that enforces permissions and security.

UserSpice takes a "take it or leave it approach beyond that.

Don't like our DB class? Use meekro...write your own...do whatever you want. UserSpice doesn't care?

Want to make a login form with zero security? Write an input that literally just matches the input with the username in the db...no password, and say the person enters "admin" and you set $_SESSION['user']=1; and as far as UserSpice is concerned, you're logged in.

I can definitely appreciate MVC and all the other user management systems out there, but the reason that UserSpice has over 1.5 million downloads by people in every nation on earth is because it is so flexible. If your page has the 2 lines mentioned above...nothing else matters. You're welcome to use as much or as little of the UserSpice code as you want.
  Reply


Messages In This Thread
UserSpice 5 Folder Structure - by Bogdan - 01-05-2019, 12:53 PM
RE: UserSpice 5 Folder Structure - by mudmin - 01-06-2019, 02:24 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)