Component Controller vs Component Interface
I am developing a custom Self-Service application and I started with the Flight Booking Self-Service Tutorial given in help.sap.com.
In the Tutorial, the FPM events like IFPM.SAVE, IFPM.BACK etc. were raised from <b>Component Interface</b> of VAC which has <i>FcNavigation Interface Controller</i> as a required Controller.
But when I went through the code in the SAP provided Self-Service applications,
the <b>Component Interface</b> (<i>of VAC</i>) refers to its <b>Component Controller</b>(<i>of VAC</i>) as the required Controller. And the Component Controller in turn has Fc Navigation Interface Controller as the required Controller. The FPM related events are raised from the Component Controller.
I am confused which to follow. Should I go ahead with what's given in the tutorial or should I follow SAP coding standards and raise FPM events in Component Controller?
Thanks in advance,