Welcome Guest, Not a member yet? Register   Sign In
RESTful server with CI
#4

[eluser]vlad_ci[/eluser]
have a question:

I do not quite understand the logic behind naming the controller and naming methods within the controller


basically I need a RESTful implementation for Orders table

so do I name the controller Orders

or do I name methods

orders_get
orders_put


in your web page Controller name appears to be unrelated to the resource name
and then you use 'users' and 'user' in different places so I am not sure


thanks in advance


Messages In This Thread
RESTful server with CI - by El Forum - 07-01-2009, 03:39 AM
RESTful server with CI - by El Forum - 07-01-2009, 04:42 AM
RESTful server with CI - by El Forum - 07-01-2009, 10:09 AM
RESTful server with CI - by El Forum - 07-01-2009, 11:41 AM
RESTful server with CI - by El Forum - 07-02-2009, 04:13 AM
RESTful server with CI - by El Forum - 07-07-2009, 08:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB