Restful design - make everything restful?


#1

hi all,

I want to have a administrator view where users can be altered, site
structures can be changed, layout can be defined, …

I can perfectly see how to define a restful user, sitestructure and
layout controller but how can an administator controller be build in a
restful way? Do you make all your controllers restful or only a
selection?

Regards,
Stijn


#2

what resource your ‘administrator controller’ revolves around?
what actions it contains?


#3

It will use the User, Structure and Layout resource. They all have
their own restfull controller but I also want to centralize them in an
administrator view


#4

I think if you need kind of dashboard, aggregating info for different
resources it’s ok to have unrestful controller, but all operations on
specific resource should go to corresponding controller.