on 10-29-2009 2:04 PM
Hi all,
I would like to know what is better in terms of performance and also of managment when I create a Web dynpro. My doubt is, in a Web Dynpro for customers management is better to create an object referred to a Class in which I will define all methods about customer and then I instance this object into the web dynpro through its constructor method, or is better define all these methods into the assistance class?
I don't know if is better to use the assistance class for Web Dynpro methods and another class only for customer management methods or use only the Assistance class and inside it define all methods specific for Web Dynpro and that ones specific for Customer managment.
Thanks
GN
Hi,
purely from an architectural point of view,
I would instantiate the customer as an attribute on the assistance class
and use the objects methods via this assistance class, which will be linking the business logic
with the controller part in the component.
Performance wise, there won't be much of a difference, only the structure will improve.
Grtz,
Koen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.