Welcome Guest, Not a member yet? Register   Sign In
Poll: REST support?
You do not have permission to vote in this poll.
yes
84.52%
71 84.52%
no
9.52%
8 9.52%
maybe
5.95%
5 5.95%
Total 84 vote(s) 100%
* You voted for this item. [Show Results]

REST support
#12

(This post was last modified: 04-16-2015, 05:49 AM by RWCH.)

The following site does a really decent job explaining what REST is and gives a good example of what a RESTful API could look like: source: http://coreymaynard.com/blog/creating-a-...-with-php/

Their is not just one API and there is certainly no API suitable for all situations. CodeIgniter could offer some kind of 'all purpose API' which would suit most situations, like handling simple CRUD actions, BUT ...

CodeIgniter is a MVC-framework in which people are free to choose what their controller actions look like. So you should create a special kind of controller (RESTController?) or a controller which implements THE CodeIgniter RESTful interface.

I don't think that is the way to go and I agree with the last two comments. I really wonder how many of the voters created a RESTful API them self. Or were the voters thinking "REST is cool so CodeIgniter must support it?"

And another thing. REST has nothing to do with ORM ;-)
Reply


Messages In This Thread
REST support - by jlp - 04-11-2015, 08:31 AM
RE: REST support - by sv3tli0 - 04-11-2015, 11:08 PM
RE: REST support - by jiang.tao - 04-12-2015, 04:34 PM
RE: REST support - by ciadmin - 04-12-2015, 07:48 PM
RE: REST support - by cjj - 04-12-2015, 07:13 PM
RE: REST support - by mimo - 04-15-2015, 12:09 AM
RE: REST support - by mwhitney - 04-13-2015, 12:53 PM
RE: REST support - by sv3tli0 - 04-15-2015, 01:01 AM
RE: REST support - by ciadmin - 04-15-2015, 01:15 AM
RE: REST support - by sv3tli0 - 04-15-2015, 02:35 AM
RE: REST support - by djm56a - 04-15-2015, 03:33 AM
RE: REST support - by RWCH - 04-15-2015, 05:51 AM
RE: REST support - by alkarim - 04-22-2015, 08:24 AM
RE: REST support - by RWCH - 04-28-2015, 09:25 AM
RE: REST support - by light25 - 05-03-2015, 10:03 PM
RE: REST support - by sv3tli0 - 05-04-2015, 06:30 AM
RE: REST support - by Release - 03-21-2016, 03:47 AM



Theme © iAndrew 2016 - Forum software by © MyBB