AXISHK
asked on
MVC vs Component Design
For MVC design, controller respresent for communicating the model and view. Model contains the business logic and data connection.
For Component design, there will be a presentation componet, business component and data component. The business logic and data component will be separated.
So, which design methodology should I follow ? For MVC, can it only use vbhtml (Razor engine) - as I only see example on using .vbhtml ? Can it also apply to asp.net & asp.net.vb ?
Great thanks
For Component design, there will be a presentation componet, business component and data component. The business logic and data component will be separated.
So, which design methodology should I follow ? For MVC, can it only use vbhtml (Razor engine) - as I only see example on using .vbhtml ? Can it also apply to asp.net & asp.net.vb ?
Great thanks
ASKER
Tks.
When should I apply MVC and components in my design ? Will there be any contradiction for these two approach as in MVC, Data and presentation will be merged together...
When should I apply MVC and components in my design ? Will there be any contradiction for these two approach as in MVC, Data and presentation will be merged together...
Hi,
If you are developing ASP.NET Web application, then MVC should be fine!
If you are designing a control/gadget then you should think of Component!
Hope it helps u...
If you are developing ASP.NET Web application, then MVC should be fine!
If you are designing a control/gadget then you should think of Component!
Hope it helps u...
ASKER
Can I say VB Razor(.vbhtml) will be a trend for designing ASP.NET Web application rather using .aspx & .aspx.vb (code behind page) ?
Tks
Tks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You can use VB Razor(.vbhtml) or c# Razor(.cshtml)!
No, Razor is a View engine and is applicable only to Views For ASP.NET VB you can use the general VB language!
Hope it helps u...