摘要:
Polling. The Controllerperiodically asks theServicefor the latest data. IMHO, this option sucks, but it's certainly possible.Callbacks. TheControllerregisters a callback object ("observer") with theService. TheServiceinvokes a method on the callback when the data changes, which in turn 阅读全文