![]() |
[feature] REST support - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Roadmap (https://forum.codeigniter.com/forumdisplay.php?fid=33) +--- Thread: [feature] REST support (/showthread.php?tid=72975) |
[feature] REST support - jlp - 03-06-2019 I am currently teaching a course on enterprisey RESTful backends, and discovering some corrections and opportunities for better REST support in CI4, which I plan to roll in when ready. These are being developed in the feature/resource branch of the CI4 repo. Planned so far: [x] better explanation for handling REST requests, splitting the routing explanation into its own page [x] ResouuceController as a starter for a REST endpoint [x] more flexible treatment for API-like routing [x] clearer split between resource state & resource presentation routing/handling, perhaps with a base controller [ ] better explanation for returning appropriate responses & data formats [ ] better explanation & perhaps code improvements to handle incoming data [ ] tutorial for building a RESTful resource or API service (might end up in user guide, might not) [ ] RESTful filter to automate much of the request & response data representation transformations ---------------------------------------------------- This is a roadmap feature, or "epic", and a card on the roadmap board. Component tasks will show up as issues or PRs on the development board. We welcome comments & suggestions below. RE: [feature] REST support - InsiteFX - 03-08-2019 Very good addition to CI 4 RE: [feature] REST support - hlohrenz - 05-06-2019 Oh I'm super stoked for this addition! I have been setting up CI3 with a REST setup so I'm excited that CI4 will have it built in! |