This article suggests to you some patterns to create REST API applications using IRIS.
Note: source code in https://github.com/yurimarx/movie
Class Pattern to the REST Application
To begin, see my suggestion for classes needed to create IRIS API applications:
.png)
- IRISRESTApplication: CSP.REST class that will be the central controller for all REST requests and responses processed by the business services.
- BusinessService: class with a business topic implementation. It can use one or more Persistent Domain Classes to persist and query data required by the business topic requirements.
- Persistent

.png)
.png)


.png)


