• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[feature] REST support

#1
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:
[.] better explanation for handling REST requests, splitting the routing explanation into its own page
[x] ResouuceController as a starter for a REST endpoint
[ ] more flexible treatment for API-like routing
[.] 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)

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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
2 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.