The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (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
ORM? REST routing?
#4
Yeah. You can use the framework of your choice for a rest API. Or you can write one. There's an example in users/api/index.php that might be a good starting point. If that doesn't work, we might be able to help get something that works better for your needs.

I've personally never done anything with ORM. UserSpice uses a typical relational SQL database so I tend to think along those lines. That said, US has been more flexible than I ever could have imagined, so if you can interact with PDO, I'm pretty sure you can accomplish whatever you want. Again, let me know if I can help.
  Reply


Messages In This Thread
ORM? REST routing? - by evang - 11-29-2017, 07:57 AM
ORM? REST routing? - by mudmin - 11-29-2017, 08:51 PM
ORM? REST routing? - by evang - 11-30-2017, 06:22 AM
ORM? REST routing? - by mudmin - 11-30-2017, 12:17 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)