66020 members! Sign up to stay informed.

Sponsored Links


Resources

.NET Research Library
Get .NET related white papers, case studies and webcasts

News News News Messages: 1 Messages: 1 Messages: 1 Printer friendly Printer friendly Printer friendly Post reply Post reply Post reply XML XML XML

Better, Faster, Lighter Programming in .NET

Posted by: Dion Almaer on July 21, 2004 DIGG
There has been a large push to simplicity in the J2EE world. Justin Gehtland, coauthor of Better, Faster, Lighter Java, knows that these ideas are equally applicable to the .NET world. He gives examples of how you can write Better, Faster, Lighter, .NET code.

Justin's core principles

  1. Keep it Simple
  2. Do One Thing, and Do It Well
  3. Strive for Transparency
  4. You Are What You Eat
  5. Allow for Extension
As you can see, there is plenty of needless complexity piling up all over the development landscape, and one of the principal tasks of any programmer is recognizing the bloat for what it is, and avoiding it where possible. .NET is no more immune to this problem than Java is. For that matter, as my good friend Ted Neward points out in his blog, ".NET is Microsoft's solution to the bloat build-up in COM." If we know anything about the technology industry, it's that history repeats itself. Programmers need to take it upon themselves to limit the bloat, and prune the complexity that is keeping their applications from living the good life. I hope these five principles give you a starting point for examining the choices and assumptions you have made about your projects, and give you some ideas of ways to make your programming life more simple and fun again.
Read Better, Faster, Lighter Programming in .NET and Java
  Message #131383 Post reply Post reply Post reply Go to top Go to top Go to top

Better, Faster, Lighter Programming in .NET

Posted by: Manolo Gomez on July 23, 2004 in response to Message #131005
Excelent article! I specially enjoyed the Strive for transparency part and the NHibernate example (I just love that thing, highly recomended).

However I think the article is intended for people that are trying to do .NET not a la Microsoft, why? Here's my case.

I am currently taking certification curses to obtain an MCSD in .NET and I am almost done. For what I've read in the MOC Kits we're given, most of the examples are merely informative and the code of the example applications are severely bloated with wizard generated code and there's almost no reuse at all.

My advice here is that if you consider taking a .NET certification, go read a good book about Object Design first, then form an opinion yourself.

Right now I am banging my head against a wall studying the COM+ Enterprise Services Kit, you just can't believe the amount of nonsense atributes you are suposed to put in every class of the business logic, compared with the configuration of an Enterprise Service in Spring.NET for example.

It IS posible to create robust enterprise services without using what is provided in the platform as a default, and without Visual Studio.NET of course.

I am glad Justin Gehtland is active in the .NET world, we need more people like him.

 
New content on TheServerSide.NETNew content on TheServerSide.NETNew content on TheServerSide.NET

DSLs and language interop

Language "mashups" will become more prominent, and developers will become polyglots, one programmer suggests.

VS 2008 Resources

SearchWinDevelopment.com offers an introduction to the language, performance, testing and data management improvements in VS 2008.

VB code downloads home

VBCode.com code snippets cover all aspects of application development, from data binding to security to the user interface.

XAML Learning Guide

Get up to date on XAML best practices with a variety of articles, tutorials and webcasts. [SearchWinDevelopment.com]

Company uses VSTS DB edition to tame workflow

One team's experience with the VSTS DB edition suggests that it can improve workflow for dev teams. It also enhanced Agile efforts. (June 24, Article)

Book: Intro to DSL Tools

Microsoft has begun to include DSL tools in the VSTS kit. A new book by Steve Cook and other VSTS team members helps set the stage. (June 24, Article)

I See the Silverlight Shining!

Cartoon: Be it ever so humble there is no place like your home after you get a Microsoft Home Server . (June 18, Cartoon)

A look at .NET 3.5

Microsoft's Thom Robbins says new technology to highlight in NET 3.5 includes AJAX, LINQ for both C# and VB, as well as tooling enhancements intended to ease the task of building WPF, WF and WCF apps. (June 29, Podcast)

Venkat Subramaniam on AJAX

Venkat Subramaniam discusses AJAX bottlenecks, the tenets of Agile development and more. He spoke at the Ajax Experience. (June 25, Tech Talk)

Building a Claims-Based Security Model in WCF - Part 2

In the second of a two-part series, Michele Leroux Bustamente discusses design decisions related to the claims-based security model. Read the story and walk through the process for creating a set of claims-based utilities to encapsulate claims authorization at the service tier. (May 24, Article)

Introducing the Entity Framework

Understanding why the Entity Framework exists and learning where it can fit into your projects can get you prepared for the eventual release early next year. (May 10, Article)

WCF Security Learning Guide

Resource: This learning guide gives you quick access to useful links on Windows Communication Foundation security information. (April 24, Article)

Brad Abrams: Patterns for successful ASP.NET AJAX development

TSS.NET's Jack Vaughan spoke recently spoke with Microsoft's Brad Abrams to find out what he is seeing in the field and what the chefs in Redmond are cooking. Along the way he discusses patterns of AJAX frameworks. (April 11, Article)

Building a Claims-Based Security Model in WCF

In a two-part series, Michele Leroux Bustamente explains how claims-based security is supported by WCF, and how you can implement a claims-based security model for your services. (March 29, Article)

Authoring workflow using XAML

Windows Workflow Foundation is a new technology that many developers will need to get their heads around. In a brief excerpt adapted from Programming Windows Workflow Foundation: Practical WF Techniques and Examples using XAML and C#, K.Scott Allen considers aspects of workflow definition. (March 22, Chapter Excerpt)

News | Blogs | Discussions | Tech talks | Patterns | Reviews | White Papers | Downloads | Articles | Media kit | About
All Content Copyright ©2007 TheServerSide Privacy Policy
Site Map