Welcome Guest, Not a member yet? Register   Sign In
[feature] REST support
#1

(This post was last modified: 09-03-2019, 04:13 PM by ciadmin.)

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.
James Parry
Project Lead
Reply
#2

Very good addition to CI 4
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

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!
Reply




Theme © iAndrew 2016 - Forum software by © MyBB