background preloader

DesignPatterns

Facebook Twitter

Nocturn vision » Blog Archive » Design principles. Recently, I was asked which patterns and principles I would use in an OO-project.

Nocturn vision » Blog Archive » Design principles

As I started summing them up, I noticed the person who asked getting a StackOverflowException . LINQ Framework Design Guidelines. Writing applications that interact with data sources, such as databases, XML documents, or Web Services such as Flickr or Amazon, is made easier in the .NET Framework 3.5 with the addition of a set of features collectively referred to as LINQ (Language-Integrated Query).

LINQ Framework Design Guidelines

In what follows, we start with a very brief overview of LINQ, followed by guidelines for designing APIs in relation to LINQ. 1. A Brief Overview of LINQ Quite often, programming requires processing over sets of values. Some probably well known examples include: extracting the list of the most recently added books from a database of products; or finding the email address of a person in a directory service such as Active Directory; or transforming parts of an XML document to HTML to allow for web publishing; or something as frequent as looking up a value in a hash table. Principles_and_Patterns.pdf (application/pdf Object)