Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

What is the advantage of creating our own MVC View Engine For MVC Application rather than RAZOR engine?

user-image
Question ajoutée par Felix Antony , Senior Software Engineer , Quest Global
Date de publication: 2015/11/24
Sherif Ahmed
par Sherif Ahmed , Chief Technology Officer , Burgan National Information Systems

It depends on what you are trying to achieve, your goal. For example I was working on an application which is necessary to build a theming interface for the it and I was working on LESS and minifying it at run-time so I googled on how to build theming mechanism to support front-end interface for my client.

So one of the reasons on WHY you create your view engine is to be able to get your views from different locations rather than the default view enigne locations ('Views/CONTROLLER/VIEWNAME.cshtml' & 'Views/Shared').

 

Also one big advantage of creating your view engine, is generalizing your architecture to support plugins in an enterprise solution architecture.

 

One very rich MVC open-source application that support plugins and theming is Smartstore.net

More Questions Like This

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?