Hello SAP Experts,
Suppose I write a logic in wd_do_int method of component controller, then what is the use of mvc in webdynpro does it violates the design pattern?
Appropriate suggestions will be highly recommended.
MVC violation depends on which code you write, so your question is not clear.Whether you are writing presentation logic or business logic?
Hi, actually all your business logic should be outside your web dynpro component i.e.in your assistance classes where MVC architecture comes into consideration.You can use that assistance class method in another component if required but you cannot use the same if you write the logic in controller methods as life time of method is only confined to web dynpro component.hope this helps you to understand better else revert with your quieres.
Sign up for STechies
All the site contents are Copyright © www.stechies.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies. The site www.stechies.com is in no way affiliated with SAP AG.
Every effort is made to ensure the content integrity. Information used on this site is at your own risk.
The content on this site may not be reproduced or redistributed without the express written permission of
www.stechies.com or the content authors.