on 02-04-2015 11:57 AM
Hi all,
I am trying to improve the performance of a WDA not developped by me, I saw that into the WDA the assistance class missed and I created it and moved part of methods from the component controller there. Then as into the component controller there are all nodes and methods of the wda, I created a custom controller too, in order to move there part of nodes and so relieve the component controller, first question is, is this action useful to improve the performance?
Furthermore I would like to ask, as the nodes of component controller are used in a lot of methods of wda and it is impossible to intercept all of them, I replicated these nodes into the custom controller and mapped them to the component controller, in this way I thought the data is located into the custom controller and the component controller works with an instance of it, is this correct?
Thanks
GN
Hi Gabriele,
When there are many views in the component, we go for using custom controller just to reduce the entire load on the component controller and to segregate the methods of component and custom controller. So if there is lot many views in component and methods in component controller we can go for using custom controller, so that it reduces the load on Component Controller and increases the efficiency.
Further, we cannot create interface node in Custom Controller and this cannot be used outside the component.
Regards,
Harsha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.