DotNetShoutout - Stories tagged with Design Patterns
4
Shouts

Non-Virtual Interface Design Pattern

published 625 days, 10 hours, 39 minutes ago posted by BlackWaspBlackWasp 629 days, 23 hours, 44 minutes ago
Thursday, September 08, 2011 7:11:32 AM GMT Saturday, September 03, 2011 6:06:40 PM GMT
The non-virtual interface pattern is a design pattern that controls how methods in a base class are overridden. Base classes include public, non-virtual members that may be called by clients and a set of overridable methods containing core functionality. (more)
category: How To | clicked: 30 | 1 comment | | source: www.blackwasp.co.uk
tags: C#, Design Patterns
8
Shouts

The 4 Stages of Learning Design Patterns - Steve Smith's Blog

published 738 days, 11 hours, 16 minutes ago posted by StevesSteves 741 days, 9 hours, 18 minutes ago
Wednesday, May 18, 2011 6:34:38 AM GMT Sunday, May 15, 2011 8:32:09 AM GMT
Design patterns are general, reusable solutions that occur in software design, which can usually be adapted to fit into a number of different situations and applications.  Recently, I recorded a screencast interview with Carl Franklin on Commonly Used Design Patterns for dnrTV, and one of the things we discussed was the stages of learning design patterns.  I noted that, at least for myself, I’d found that I tended to go through four distinct phases during my learning process when it came to these pattern... (more)
category: How To | clicked: 7 | comment | | source: stevesmithblog.com
tags: Design, Patterns, Design Patterns
6
Shouts

Entity Framework and T4: Generate Query Objects on the fly, part 1 | Rui Jarimba

published 744 days, 8 hours, 45 minutes ago posted by http://ruijarimba.wordpress.com/http://ruijarimba.wordpress.com/ 747 days, 18 hours, 27 minutes ago
Thursday, May 12, 2011 9:05:18 AM GMT Sunday, May 08, 2011 11:23:45 PM GMT
Generate Query Objects on the fly for your Entity Framework entities using T4 templates. Don’t worry about LINQ, let the objects do all the work for you. (more)
category: Architecture | clicked: 7 | comment | | source: ruijarimba.wordpress.com
tags: .NET, T4, Entity Framework, C#, Query Object, Linq, Design Patterns
3
Shouts

Entity Framework and T4: Generate Query Objects on the fly, part 1 | Rui Jarimba

posted by http://ruijarimba.wordpress.com/http://ruijarimba.wordpress.com/ 747 days, 18 hours, 42 minutes ago
Sunday, May 08, 2011 11:08:13 PM GMT
Post navigation← PreviousEntity Framework and T4: Generate Query Objects on the fly, part 1Posted on May 9, 2011 by Rui Jarimba Generate Query Objects on the fly for your Entity Framework entities using T4 templates. Don’t worry about LINQ, let the objects do all the work for you. Table of contentsWhat is a Query Object?The Model – MVC Music StoreUsing T4 to generate Query ObjectsString propertiesDatetimes and numeric valuesAssociationsIQueryable (more)
category: Architecture | clicked: 1 | comment | | source: ruijarimba.wordpress.com
tags: .NET, Serialization, T4, Entity Framework, C#, Query Object, Linq, Design Patterns
6
Shouts

Improve your UI code with Strategy Pattern | Rui Jarimba

published 757 days, 3 hours, 15 minutes ago posted by http://ruijarimba.wordpress.com/http://ruijarimba.wordpress.com/ 760 days, 2 hours, 21 minutes ago
Friday, April 29, 2011 2:35:31 PM GMT Tuesday, April 26, 2011 3:29:02 PM GMT
Improve your UI code with Strategy Pattern - Posted on April 25, 2011 by Rui Jarimba This article is intended to provide a brief introduction to the Strategy Design Pattern, and how can it help us to improve our User Interface code. (more)
category: Architecture | clicked: 1 | comment | | source: ruijarimba.wordpress.com
tags: Strategy Pattern, Design Patterns
8
Shouts

A Basic IoC Container (C#)

published 944 days, 20 hours, 23 minutes ago posted by BlackWaspBlackWasp 946 days, 21 hours, 3 minutes ago
Saturday, October 23, 2010 9:27:43 PM GMT Thursday, October 21, 2010 8:47:16 PM GMT
Inversion of control (IoC) containers provide a specialised form of the service locator pattern that simplifies the way in which dependencies are registered and later resolved. This article describes how to create a basic IoC container using generics. (more)
category: How To | clicked: 4 | comment | | source: www.blackwasp.co.uk
tags: IoC, C#, Design Patterns
7
Shouts

Service Locator Design Pattern (C# Examples)

published 948 days, 22 hours, 41 minutes ago posted by BlackWaspBlackWasp 949 days, 22 hours, 35 minutes ago
Tuesday, October 19, 2010 7:09:13 PM GMT Monday, October 18, 2010 7:15:23 PM GMT
The service locator pattern is a design pattern that is used to decouple a class from its dependencies. Rather than the dependant class instantiating its dependencies directly, they are requested from a centralised service locator object. (more)
category: How To | clicked: 64 | comment | | source: www.blackwasp.co.uk
tags: C#, Design Patterns
2
Shouts

Introduction to the Template Pattern : The CodeGain

posted by codegaincodegain 970 days, 16 hours, 32 minutes ago
Tuesday, September 28, 2010 1:18:07 AM GMT
In an operation that has an algorithm, define the skeleton of an algorithm by deferring some steps to client subclasses. Template Method lets subclasses redefine certain steps of an algorithm without changing the algorithm’s structure. (more)
category: How To | clicked: 1 | comment | | source: www.codegain.com
tags: .NET, C#, Design Patterns
3
Shouts

introduction to the Command Design pattern : The CodeGain

posted by codegaincodegain 977 days, 16 hours, 41 minutes ago
Tuesday, September 21, 2010 1:09:33 AM GMT
The Command pattern creates distance between the client that requests an operation and the object that can perform it. (more)
category: How To | clicked: 0 | comment | | source: www.codegain.com
tags: C#, gof, Design Patterns
4
Shouts

Dependency Injection (C#)

posted by BlackWaspBlackWasp 986 days, 9 hours, 49 minutes ago
Sunday, September 12, 2010 8:01:36 AM GMT
Dependency injection is a technique used in object-oriented programming languages. It promotes loose coupling of components by passing dependencies to an object, rather than having an object instantiate its own dependencies. (more)
category: How To | clicked: 1 | comment | | source: www.blackwasp.co.uk
tags: C#, Design Patterns
3
Shouts

Better Web Forms with the MVP Pattern !!! « DpTechyTalks

posted by Freddy_KhalafFreddy_Khalaf 996 days, 8 hours, 4 minutes ago
Thursday, September 02, 2010 9:46:12 AM GMT
« Cant wait till 23/08/2010 ;) – Visual Studio® LightSwitch™ | Home Better Web Forms with the MVP Pattern !!! Nice article written by Dino Esposito talking about Model View Presenter pattern , i hope you like it … you can find it @ http://msdn.microsoft.com/en-us/magazine/ff955232.aspx Enjoy Leave a CommentClick here to cancel reply. Name (required) E-mail (required) Website Formatting your comment(Close)Formatting Your Comment The following XHTML tags are available... (more)
category: Web Dev | clicked: 2 | comment | | source: dptechytalks.wordpress.com
tags: Object Oriented Design, model view presenter, Web forms, Design Patterns, MVP
10
Shouts

Repository and Unit of Work T4 Template for Entity Framework - Gil Fink on .Net

published 1054 days, 3 hours, 11 minutes ago posted by gilfgilf 1055 days, 6 hours, 28 minutes ago
Tuesday, July 06, 2010 2:39:43 PM GMT Monday, July 05, 2010 11:22:30 AM GMT
Two weeks ago I wrote the Revisiting the Repository and Unit of Work Patterns with Entity Framework post. One thing that I thought would be nice was to have an automatic code generation that will help me to build these patterns without sweating. So I sat down and created a T4 Template to auto generate the same patterns... (more)
category: How To | clicked: 21 | comment | | source: blogs.microsoft.co.il
tags: Repository, Entity Framework, Unit of Work, T4 Templates, Design Patterns
5
Shouts

Architecture & Stuff : Windows Azure Design Patterns

published 1149 days, 3 hours, 23 minutes ago posted by wzackwzack 1149 days, 20 hours, 20 minutes ago
Friday, April 02, 2010 2:27:29 PM GMT Thursday, April 01, 2010 9:30:09 PM GMT
Windows Azure Design Patterns One of the challenges in adopting a new platform is finding usable design patterns that work for developing effective solutions. The Catch-22 is that design patterns are discovered and not invented. Nevertheless it is important to have some guidance on what design patterns make sense early in the game. Most presentations about Windows Azure start by presenting you with a bewildering set of features offered by Windows Azure, Windows Azure AppFabric and SQL Azure. ... (more)
category: Architecture | clicked: 1 | comment | | source: blogs.msdn.com
tags: Windows Azure, Windows Azure AppFabric, SQL Azure, Design Patterns
9
Shouts

WCF Ria Services For Real - Jesse Liberty

published 1159 days, 5 hours, 3 minutes ago posted by jantujantu 1161 days, 5 hours, 3 minutes ago
Tuesday, March 23, 2010 12:47:27 PM GMT Sunday, March 21, 2010 12:47:54 PM GMT
In my previous post I discussed creating the database and tables for the Silverlight HVP configuration data.  All that was great, and worked just dandy until it was time to get the data from the database server to the application running on the client. “But,” I thought, “How hard can it be?”  I’ve done a few mini-tutorials… should be straight-forward… And it was… sorta.Getting Going The steps are pretty straight forward:Create an entity data model that corresponds to the t... (more)
category: Metro | clicked: 0 | comment | | source: blogs.silverlight.net
tags: Mini-Tutorial, slhvp, Best Practices, data, HyperVideoProject, MVVM, Videos, Linq, Data-Binding, Design Patterns, WCF-RIA-Services
7
Shouts

WCF Ria Services For Real - Jesse Liberty

published 1164 days, 5 hours, 9 minutes ago posted by jantujantu 1165 days, 21 hours, 27 minutes ago
Thursday, March 18, 2010 12:41:05 PM GMT Tuesday, March 16, 2010 8:23:45 PM GMT
my previous post I discussed creating the database and tables for the Silverlight HVP configuration data.  All that was great, and worked just dandy until it was time to get the data from the database server to the application running on the client.“But,” I thought, “How hard can it be?”  I’ve done a few mini-tutorials… should be straight-forward… And it was… sorta.Getting Going The steps are pretty straight orward:Create an entity data model that corresponds to the t... (more)
category: Metro | clicked: 0 | comment | | source: blogs.silverlight.net
tags: Mini-Tutorial, slhvp, Best Practices, data, HyperVideoProject, MVVM, Videos, Linq, Data-Binding, Design Patterns, WCF-RIA-Services
5
Shouts

MVVM - Creating ViewModel : wrap your business object (solution 1 of n)

published 1184 days, 17 hours, 21 minutes ago posted by jmix90jmix90 1186 days, 2 hours, 43 minutes ago
Friday, February 26, 2010 12:30:00 AM GMT Wednesday, February 24, 2010 3:07:41 PM GMT
When you create WPF applications, you may (or you should !) use the M-V-VM pattern and so have to use/create ViewModel. The viewModel job is mainly to expose properties of your businessObjects to your views, ready for binding. Here is a first solution to create ViewModel from your model. (more)
category: How To | clicked: 0 | comment | | source: blog.lexique-du-net.com
tags: C#, WPF, howto, how to, Design Patterns
7
Shouts

Silverlight Test Driven Development – Part II - Jesse Liberty

published 1198 days, 5 hours, 58 minutes ago posted by jantujantu 1200 days, 9 hours, 28 minutes ago
Friday, February 12, 2010 11:52:09 AM GMT Wednesday, February 10, 2010 8:22:54 AM GMT
At the end of Test Driven Body Snatchers I promised to follow up with a walkthrough of real-world Test Driven Development. What gets into me? Well, a promise is a promise.  Walking Through Test Driven Development The set up is this: We’ve designed the  Silverlight HyperVideo Platform using the MVVM pattern. We’re going to take a trip in the way-back machine, and design  the ItemsViewModel class (the VM in MVVM)  using Test-Driven Develo... (more)
category: Metro | clicked: 0 | comment | | source: blogs.silverlight.net
tags: Mini-Tutorial, Test-Driven, Getting-Started, Related-Skills, Design Patterns
5
Shouts

Test Driven Silverlight Body Snatchers - Jesse Liberty

published 1203 days, 6 hours, 31 minutes ago posted by jantujantu 1204 days, 7 hours, 4 minutes ago
Sunday, February 07, 2010 11:19:44 AM GMT Saturday, February 06, 2010 10:46:45 AM GMT
This posting is part of the Silverlight HyperVideo Platform documentation and a Silverlight Mini-tutorial. The information in this posting, however, should be of interest to anyone writing meaningful Line of Business applications with Silverlight.[This is the first of two parts on Test Driven Development. Part 2 will walk through creating Unit Tests in “real time”]The premise of the classic 1956 film Invasion of the Body Snatchers is that there are “p... (more)
category: Metro | clicked: 0 | comment | | source: blogs.silverlight.net
tags: Mini-Tutorial, Test-Driven, HyperVideoProject, MVVM, Design Patterns
7
Shouts

MVVM – It’s Not Kool-Aid* - Jesse Liberty

published 1211 days, 1 hour, 25 minutes ago posted by jantujantu 1212 days, 3 hours, 36 minutes ago
Saturday, January 30, 2010 4:25:23 PM GMT Friday, January 29, 2010 2:14:02 PM GMT
Okay, first, understand that I’m in the position of running through the streets yelling at folks “c’mere! ya’ gotta see this!” and what I’m pointing to is the incredible new invention of… a laptop computer. Something that is undeniably amazing and cool, but everyone else on my block has already got one.Second, and much worse, I’m about to show you how I used a “pattern” that you either have already embraced, or that you’ve been avoiding like the plague beca... (more)
category: Metro | clicked: 1 | comment | | source: blogs.silverlight.net
tags: Mini-Tutorial, HyperVideoProject, UI / UX, MVVM, Design Patterns
9
Shouts

Configuration & Decoupled Modules - Jesse Liberty

published 1216 days, 5 hours, 39 minutes ago posted by jantujantu 1217 days, 6 hours, 48 minutes ago
Monday, January 25, 2010 12:11:40 PM GMT Sunday, January 24, 2010 11:02:49 AM GMT
Two architectural demands for the Silverlight HVP, which are common to many larger applications, came together this week and crystallized into a design that looks to solve a couple other, unanticipated requirements.   Specifically, we knew that (1) we wanted to have configuration files and that (2) we wanted each module to be created independently of all the other modules. After some discussion, thrashing, input from some great folks at CodeMash, and further review,... (more)
category: Metro | clicked: 0 | comment | | source: blogs.silverlight.net
tags: Mini-Tutorial, MEF, HyperVideoProject, Related-Skills, Videos, Design Patterns
Previous 1 2 Next