Geeks With Blogs
David Williams Who's scruffy looking? October 2010 Entries
Please Pray For Amy
For those who said they were praying for Amy, and little more detail is in order. Amy has a mild form of narcolepsy. Officially she is diagnosed as “Idiopathic Sleepiness”, however it amounts to the same thing. Ever since she was pregnant, she has not been able to take stimulants to help her stay awake. As a result, she is much more tired than usual, and has particular trouble taking the kids places. If you know Amy you know she is very active-very type “A” personality, so as you can imagine this ......

Posted On Tuesday, October 26, 2010 8:49 AM

Why I Am No Longer Afraid of JavaScript Development
Before working with MVC, I would claim to be somewhat intimidated by JavaScript development. Not that I did not know how to use it, however I found that is was much more bug prone and harder to develop against. Having the .Net compiler was a nice safety net-I did not have to worry about variable name mismatch, typos, not to mention the .Net framework itself. In a recent ASP.Net project we used the MS AJAX update panel to implement interface changes that could easily be implemented via client side ......

Posted On Thursday, October 21, 2010 1:17 AM

Standard ASP.Net vs. MVC: Modal dialog with client side logic, server side logic, and partial page update.
Sometimes it seems implementing functionality in ‘standard’ takes several times longer than with MVC. In my case, I wanted to do the following when changing a checkbox on a form page (page uses partial page update). Note that I needed to use both client side and server side functionality, and the page updates only part of the page. On checkbox changed, display an “are you sure” popupup. On ‘Ok’, call server method to modify data on the backend, re-bind part of the page. On ‘Cancel’, close ......

Posted On Monday, October 18, 2010 10:37 PM

MVC tiers
At a high level, this is how I understand the different MVC tiers: Model: Data libraries such as entities, Linq to SQL classes, or any other data library. View: The .aspx/.ascx pages. The classic ASP style code goes here. I have heard this layer referred to as a ‘report’ where you have as little logic as possible, and only that related to the display of the page. Controller: If you are coming from ‘standard’ ASP.Net and are new to MVC, You could say the controller is what replaces the code behind. ......

Posted On Thursday, October 14, 2010 9:46 PM MVC everyday and twice on Sunday.
Someone asked me the other day, between Standard ASP.Net and ASP.Net MVC, which do I prefer and why. Although I have long been an ASP.Net developer, I have to say that I easily would choose MVC over standard any day (and twice on Sunday). I feel this for the following reasons: Separation of interests: The three sections of MVC are logically separated: Model(Data), View(.aspx page), Controller (Code that feeds data to view). NO VIEWSTATE: If you are new to MVC, you think this is a bad thing, ......

Posted On Thursday, October 14, 2010 6:19 PM

Copyright © David Williams | Powered by: