on 01-05-2011 1:04 PM
Hi,
Do we need to fallow MVC model to develop a web application using ABAP?
I have seen no difference in writing code in controller(view or component) level than calling a method from a model(class)
implemented in SE24. Can anybody explain me any difference? Thanks in advance.
Regards,
Meera.
Hi Meera,
MVC pattern has lot of advanctages. Please try to go through below links.
/thread/1603976 [original link is broken]
http://help.sap.com/saphelp_nw04/helpdata/en/b2/cc393cddb05357e10000000a114084/content.htm
Thanks,
Prashant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Technically there is nothing stopping from writing your business logic or SQL directly into the controller methods. It probably isn't going to make any runtime execution time difference either. However it is poor design that will likely cause you to have higher maintenance cost over time. Clearly separating out your business logic from your UI eventing makes it easier to find code and easier to change it over time. MVC is a design pattern, not a technology itself. However MVC is a recommendation/best practice.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.