Railo ReST API - Building Blocks

ReST functionality is implemented with attributes on a CFC. Some people do not like this approach. To me it seems like a logical extension to how SOAP web services are created.

I think it is important to treat the CFCs as a ReST wrapper for requests. They should not include any business logic, SQL or processing. All this should be contained in a domain model (which are just CFCs themselves).

CFCs