Hello!
I'm using multicore version of PureMVC and i implemented data modification logic by creating 4 proxies
for data object. For example, to work with "orders" i will write 4 proxy:
- OrdersFetchProxy
- OrdersInsertProxy
- OrdersUpdateProxy
- OrdersDeleteProxy
because if I implement all of this methods in single proxy class, I don't know
which operation(FETCH, UPDATE or DELETE?) returns OK or FAULT message.
How I may implement all data modification(and another - search, filter etc) operations in a single
proxy class, with different result messages? If proxy executes all income calls one after another,
I may remember current operation type in variable, and return result messages depend on this variable...
P.S.:Sorry for my bad English.