Monday, December 19, 2005 |
|
|
Professional ASP.NET 2.0 provides a great overview of ASP.NET 2.0, even for someone with minimal ASP.NET programming experience. It is also reasonably well organized for a book written by five people. Here are some of the features I learned about:
- Encrypting Web.config sections (to hide connection strings, etc.)
- Easy support for user login and personalization
- Automatically building code in the App_Code directory
- Cross-page posting (supplies back-reference to previous Page object)
- Precompiling the Web application
- <asp:Literal Mode="Encode"> (for automatic HTML encoding)
- Focus method (sets the default focus for the Web page)
- AutoCompleteType (auto-complete support for edit boxes)
- OnClientClick event (easy support for client-side click handling)
- Lots of ways to do hyperlinks and/or images (Image, ImageButton, ImageMap, Hyperlink, etc.)
- Lots of ways to render simple lists (DropDownList, ListBox, BulletedList, etc.)
- <asp:Xml> (for easy XML transformation)
- Master pages (shared content for different pages on the same Web site)
- New binding syntax, including XPath binding
- HttpContext.Current.Items (for per-request storage)
- Using out-of-proc session state during development (to ensure that you can switch from in-proc if necessary)
- Post-cache substitution (minor additions to otherwise cached pages)
- WebPageTraceListener (sends normal trace messages through ASP.NET tracing)
- Debugger.Launch (to easily attach the debugger)
- System.Net.Mail (for easy e-mail support)
- RegisterClientScriptResource (for including .js files from an assembly)
- Adding information to Web service SOAP headers (e.g., user credentials)
- WebConfigurationManager.AppSettings (easy access to application settings)
- Class properties with public getter and more restricted setter
|
12/19/2005 10:43:44 AM (Pacific Standard Time, UTC-08:00) | | Books
|
|
|
|
Wednesday, December 14, 2005 |
|
|
I really enjoyed reading The Wisdom of Crowds, by James Surowiecki. The premise of the book is that, under many circumstances, large groups of people make better decisions than a few experts. He argues that the group is even smarter than the smartest individual in the group, and provides many good examples. One of the first examples is the counting of jelly beans in a jar; the average of all of the guesses will be closer to the truth than the closest answer of any individual. Of course, everyone can think of examples where crowds (or committees) have made very poor decisions; the book describes the circumstances in which groups of people are smarter than individuals.
To make good decisions, a group needs diversity. A group can know as much as all of the individuals in the group put together. Different perspectives make it most likely that the best solution will be found, because diversity adds new information to the group. (This topic applies directly to hiring practices; by hiring people that are different than the people you already have, you're making the group even smarter, even if the new people aren't as skilled.)
Another requirement is independence. The best decisions are made by groups of people that aren't simply "following the leader." It is important that some members of the group "buck the trend," even if their opinions are wrong, not only because the "errors" can average out in the end, but because reserved people with good opinions are more likely to speak up if they see others doing so.
Decentralization feeds both diversity and independence; when people are spread out, they are more likely to come up with different solutions. The final key component is thus aggregation; you need a way to collect all of the solutions of all of the members of the group to generate the final answer. |
12/14/2005 1:55:56 PM (Pacific Standard Time, UTC-08:00) | | Books
|
|
|
|
|
|
|
| Archive |
| March, 2008 (1) |
| January, 2008 (1) |
| September, 2007 (1) |
| July, 2007 (1) |
| June, 2007 (3) |
| May, 2007 (2) |
| January, 2007 (2) |
| December, 2006 (1) |
| November, 2006 (2) |
| August, 2006 (6) |
| July, 2006 (3) |
| May, 2006 (4) |
| April, 2006 (2) |
| March, 2006 (1) |
| February, 2006 (1) |
| January, 2006 (1) |
| December, 2005 (2) |
| November, 2005 (5) |
| October, 2005 (11) |
| September, 2005 (7) |
| August, 2005 (1) |
| July, 2005 (2) |
| June, 2005 (2) |
| April, 2005 (5) |
| March, 2005 (11) |
| February, 2005 (6) |
| January, 2005 (2) |
| December, 2004 (1) |
| November, 2004 (1) |
| October, 2004 (3) |
| September, 2004 (1) |
| August, 2004 (5) |
| July, 2004 (10) |
| June, 2004 (3) |
| May, 2004 (5) |
| April, 2004 (3) |
| March, 2004 (10) |
| February, 2004 (10) |
| January, 2004 (15) |
| December, 2003 (1) |
| November, 2003 (2) |
| October, 2003 (13) |
| September, 2003 (20) |
| August, 2003 (24) |
|
|
|
|