How to simplify Cairngorm?
Get rid of all the command classes, and almost all of the event classes. Continuing from the theme above: 100 remote methods in 10 remote classes(10 methods per class). Here are the steps to simplify: • Create 10 interfaces in actionscript that will match your methods in your 10 remote classes. Put these in the “business” folder. • Create a new folder called “request”. Create 10 classes called ‘RemoteServiceRequest’, each of which implement your 10 interfaces. This replaces what would be the “execute” method of a command class. • Create a new folder called “response”. Create 10 classes called ‘RemoteServiceResponse’, each of which implement your 10 interfaces. This replaces what would be the “result” method of a command class. • Create a new folder called “fault”. Create 10 classes called ‘RemoteServiceFault’, each of which implement your 10 interfaces. This replaces what would be the “fault” method of a command class. So we are now looking at 40 classes in all and far less overhead to
Related Questions
- We are sending circulars daily and are exporting the clients’ data from our register to MultiMailer. How do we simplify this procedure?
- Can I use standardized phrases for each ADL to simplify initial data entry and to encourage consistent resident assessment?
- How does using HCAT Professional simplify the Security Rule process?