This has a couple of nice side effects:
- The front end does not have to have any real knowledge what this button actually does. But..
- The user gets fantastic visibility of what pressing that button actually did! 3 Growls: Timesheet approved, Customer invoice line created, Email sent to employee... All on one button click.
- No additional code to write! It is just part of the infrastructure.
This is made possible due to the CQS nature in which the browser communicates with the server in the hiJump infrastructure pattern we use. In a future post I will go deeper into this as the CQS approach is working out very nicely for use and greatly simplifies the relationship between the views and the back end.
Until next time.