简体   繁体   中英

Luracast Restler in CodeIgniter

I am trying to put in Restler as part of my CI Library. I wonder if this is possible with Restler because I'm getting Server Error. Should I just separate Restler folder to my CI folder (which works right now)?

I want to integrate it to my CI so I can access the models eg for authentication, getting user data...etc. instead of creating another config file and model classes.

I have invested a lot of time trying to find some workaround to make Restler work with CI but no luck.

Thanks!

I don't think there's an easy way to integrate Restler into CI, you would have to totally rework the CI routing class.

I would recommend that you instead go with Phil Sturgeon's excellent REST server for CI , which is a pretty simple to put into your existing CI application.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM