Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there any view engines for ASP MVC that are 'designable'?

Here's my problem:

I am disturbed by the "impedance mismatch" between what graphic/web designers actually produce, and what is needed by the standard ASP MVC view engine.

Basically there is no way to visually design a view i.e. the output of an action. No WYSIWIG designer. The only way to go from a static HTML design to an MVC app is by manually translating, and all the pain that brings.

What I have been dreaming of reccently is a view engine + designer tool that would let designers actually do their jobs, and for it to "just work" in the web app.

Something like what Blend does for WPF.

Yes, we had something similar in Web Forms but that had its own limitations and I still don't reckon it was usuable by most designers.

Surely a view engine + designer tool could be written, perhaps using a strict syntax (no abitrary code in templates), and allow the designer tool to mock your typed views and render dummy data for visualising output. And for designers to design an action - and have the tool indicate or breakdown the various visual elements on screen (sub views etc).

like image 347
Jack Ukleja Avatar asked Aug 13 '09 08:08

Jack Ukleja


People also ask

What are the types of View engine in MVC?

View Engine is responsible for rendering the view into html form to the browser. ASP.NET MVC includes two different view engines, the newer Razor View Engine and the older Web Forms View Engine.

What is the default view engine used for ASP.NET MVC projects?

ASPX or Web Form Engine is the default view engine for ASP.NET that is included with ASP.NET MVC from the beginning itself. The syntax used for writing a view with the ASPX View Engine is the same as the syntax used in the ASP.NET web forms.

Can we create our own custom view engine using MVC?

As you know MVC is highly extensible hence you can completely replace the Razor view engine with a new custom razor engine.


1 Answers

There is a rumour that Expression Web will support MVC...

like image 115
grenade Avatar answered Oct 02 '22 13:10

grenade