Skip to Content
0
Former Member
Feb 22, 2012 at 09:36 AM

Best Practice for custom controller

33 Views

Hi Experts,

In my current project we have one DC with single component and 12 views (4 business functionality each has 3 view flow ). Now complete logic is in component controller itself and planning to divide business logic into 4 custom controller based on business functionality.

Please guide me how i need to manger context variable and approach from below?

1. Maintain context in each custom controller and map to views. (Cust Cont ->Views) not maintained in comp Controller

2. Maintain all context in component controller and from there custom controller and from there views. (Comp Cont -> Cust cont -> Views)

3. Maintain context in custom controller and map to component controller and from there mapping to View. (Cust Cont -> Comp cont -> Views)

Regards,

Satya.