A
Author
I happened to see this asp.net MVC tutorial at
http://www.asp.net/learn/mvc/tutorial-01-cs.aspx
Indeed as the author says it is gonna look like classic ASP at the
very beginning of this tutorial.
I think form post with an action (which is classic asp style) like
<form method="post" action="/Home/CreateNew">
the form to be posted goes here.
</form>
is OK to me, but as soon as I see embedded curly braces and ifs and
else's inside <% and %>, I am determined that I wanna stay far from
it.
I think embedding codes inside <% and %> like that of classic ASP and
JSP is notoriously hard to read and difficult to maintain, and error-
prone.
To my understanding, part of struts' functionality is to embedded
codes in JSP. I don't know why people wanna revert back to the old
coding style with asp.net mvc and your input is appreciated.
Or is it the case that such embeddings are not necessary with asp.net
MVC? If yes, then it may be worth looking into a little.
I searched a little in this group and found this:
http://groups.google.com/group/micr...5b2463d5?hl=en&lnk=gst&q=mvc#a2307ade5b2463d5
http://www.asp.net/learn/mvc/tutorial-01-cs.aspx
Indeed as the author says it is gonna look like classic ASP at the
very beginning of this tutorial.
I think form post with an action (which is classic asp style) like
<form method="post" action="/Home/CreateNew">
the form to be posted goes here.
</form>
is OK to me, but as soon as I see embedded curly braces and ifs and
else's inside <% and %>, I am determined that I wanna stay far from
it.
I think embedding codes inside <% and %> like that of classic ASP and
JSP is notoriously hard to read and difficult to maintain, and error-
prone.
To my understanding, part of struts' functionality is to embedded
codes in JSP. I don't know why people wanna revert back to the old
coding style with asp.net mvc and your input is appreciated.
Or is it the case that such embeddings are not necessary with asp.net
MVC? If yes, then it may be worth looking into a little.
I searched a little in this group and found this:
http://groups.google.com/group/micr...5b2463d5?hl=en&lnk=gst&q=mvc#a2307ade5b2463d5