Should i use placeholders?
-
I've been developing websites this year using ASPNET in my computing course. What I have found to be the best is to have one Default.aspx page and have a placeholder inside. This placeholder is then loaded on Page_Load with a web control by reading the query string after default.aspx. what do you think of this approach? I mean, it has worked for me by providing validators on each web user control to check the session (to deny acess when a user not logged in tries to enter member areas). but my lecturer has read somewhere that web developers frown on this kind of work? what do you think? thanks :D PS: I posted this here since I do not want actual ASPNET code... more like point of views. In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)
-
I've been developing websites this year using ASPNET in my computing course. What I have found to be the best is to have one Default.aspx page and have a placeholder inside. This placeholder is then loaded on Page_Load with a web control by reading the query string after default.aspx. what do you think of this approach? I mean, it has worked for me by providing validators on each web user control to check the session (to deny acess when a user not logged in tries to enter member areas). but my lecturer has read somewhere that web developers frown on this kind of work? what do you think? thanks :D PS: I posted this here since I do not want actual ASPNET code... more like point of views. In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)
If your assignment specification(s) DO NOT forbid you from using the approach you made then that should be fine. In any case, demand your lecturer provides you with evidence that web developers frown that kind of work, then you have the right to respond with alternate evidence.