Design view for MVC its now 2015
-
using MVC for visual studio 2013, suddenly realized that there is some limitation when it comes to how controls are rendered. there appears to be fierce debate on a design view and why its needed, but if there is a tool that does design view, where is it? I would tend to use webforms and put everything in absolute position because it would never be resized and never used on mobile. now? it has to be modern and mobile ready. mvc is new, i had not needed to know CSS in depth. Trying to place controls on a simple Create page? horizontal layout, labels on the left then input boxes on the right of that with mostly empty space, the labels word wrap. it would be nice to see where its defining the margins, it cannot be that hard to make some tool that at least gives a snapshot with design grid lines. the original comments i am reading are from 2010 and 2011 where some say the design view is almost here? now its 2015, and others say its just too hard to make this kind of tool. or why do you need a designer anyway? whats wrong with counting pixels? is there some good reason why the designer or some snapshot is not needed? guessing at where the controls will land is not a waste of time? im grateful for any guidance on this
-
using MVC for visual studio 2013, suddenly realized that there is some limitation when it comes to how controls are rendered. there appears to be fierce debate on a design view and why its needed, but if there is a tool that does design view, where is it? I would tend to use webforms and put everything in absolute position because it would never be resized and never used on mobile. now? it has to be modern and mobile ready. mvc is new, i had not needed to know CSS in depth. Trying to place controls on a simple Create page? horizontal layout, labels on the left then input boxes on the right of that with mostly empty space, the labels word wrap. it would be nice to see where its defining the margins, it cannot be that hard to make some tool that at least gives a snapshot with design grid lines. the original comments i am reading are from 2010 and 2011 where some say the design view is almost here? now its 2015, and others say its just too hard to make this kind of tool. or why do you need a designer anyway? whats wrong with counting pixels? is there some good reason why the designer or some snapshot is not needed? guessing at where the controls will land is not a waste of time? im grateful for any guidance on this
I've never used design view...when it doesn't crash VS it is slow and just doesn't work. I just have my browsers open and view the site in them as I make changes. It is hard to get working design pages because you can't emulate all browsers.
-
I've never used design view...when it doesn't crash VS it is slow and just doesn't work. I just have my browsers open and view the site in them as I make changes. It is hard to get working design pages because you can't emulate all browsers.
when i try with the browser? placing components is just a guess. make a change, refresh it moves a bit more, bit more then all the way to the edge of the wrong side. take back the value and it jumps to the wrong place. hours trying to use the browser. i made a webform to use the design view, created the control, set it to absolute, etc copied the html into the MVC view page im working on? and it lands where ever it wants. inline style position absolute, size this/that. page does not place it where it seems it should go. not trying to be negative but unless im missing something obvious its frustrating and seems to be arbitrary, dont know how others can put controls that way. all i am asking for is some way to snapshot what the coordinates cause on the result. viewing on the browser? full 15 seconds until it displays, just to chase a control on the screen takes ALOT of time
-
when i try with the browser? placing components is just a guess. make a change, refresh it moves a bit more, bit more then all the way to the edge of the wrong side. take back the value and it jumps to the wrong place. hours trying to use the browser. i made a webform to use the design view, created the control, set it to absolute, etc copied the html into the MVC view page im working on? and it lands where ever it wants. inline style position absolute, size this/that. page does not place it where it seems it should go. not trying to be negative but unless im missing something obvious its frustrating and seems to be arbitrary, dont know how others can put controls that way. all i am asking for is some way to snapshot what the coordinates cause on the result. viewing on the browser? full 15 seconds until it displays, just to chase a control on the screen takes ALOT of time
The proper effective use of css is a skill, no doubt about it, a skill that takes a long time to master, or even get good at. These days most companies employ people just to do css so they can focus on that and ensure it works on all browsers. Luckily this means I haven't had to touch css is about 10 years :) Your main problem might be the fact that you're thinking about web pages like windows forms, where things are positioned. Instead you need to think about html like a giant game of Tetris where the elements "flow", and find their place like throwing objects into a bucket. You need to think about margins and padding as a way of keeping things distant, with floats dictating if everything stacks on top of each other like a tower, or if they can fall beside each other.
-
The proper effective use of css is a skill, no doubt about it, a skill that takes a long time to master, or even get good at. These days most companies employ people just to do css so they can focus on that and ensure it works on all browsers. Luckily this means I haven't had to touch css is about 10 years :) Your main problem might be the fact that you're thinking about web pages like windows forms, where things are positioned. Instead you need to think about html like a giant game of Tetris where the elements "flow", and find their place like throwing objects into a bucket. You need to think about margins and padding as a way of keeping things distant, with floats dictating if everything stacks on top of each other like a tower, or if they can fall beside each other.
thanks thats a good explanation. i used this in years past and didnt have to worry about mobile browsers or resizing much; fitting and floating... well i still wish to have a snapshot of what the browser will "think" about the resulting program like that mode in Word where you turn on the hidden characters. i read about Microsoft folks saying in 2010 or 2011 how they will have a design view soon; i just cannot fathom why its so hard. i do think about things from win forms or labview styling. but your comment helped