News in the Category: Patterns and Practices Subscribe to the rss of this category.

Total posts: 658 | Sort by Views | Sort by Hits

Display Checklists Using The Adaptor Pattern To Minimise The Number Of View-models Needed

The Code Project Latest Articles, March 18, 2015
Views: 77 | Hits 6

Display checklists using the Adaptor pattern to minimise the number of view-models needed....

Visitor Pattern - ReExplained

The Code Project Latest Articles, March 18, 2015
Views: 75 | Hits 9

Visitor pattern separates business logic form an data structure on which it operates which allows adding new operations to existing data structure without modifying it....

Roslyn Code Gems - Counting Bits

K. Scott Allen, February 19, 2015
Views: 98 | Hits 14

Back in the early days of computing, when machines were powered by coal-fired steam boilers the size of Liechtenstein, even the simplest operations were optimized by programmers toiling in the basemen...

How to use IObservable and IObserver

The Code Project Latest Articles, February 9, 2015
Views: 88 | Hits 13

Observer pattern using IObservable and I Observer...

How and Where Decorator Design Pattern

The Code Project Latest Articles, February 4, 2015
Views: 108 | Hits 19

Decorator Design Pattern...

PHP Adapter Pattern in Action

The Code Project Latest Articles, February 2, 2015
Views: 86 | Hits 1

Why and When to Use the Adapter Pattern in PHP Development...

Just forget that Repository<T> exists, please.

More Whidbey stuff, January 29, 2015
Views: 158 | Hits 25

If theres a class thats caused Orchard users more confusion, bugs, and disappointment than Repository<T>, Id like to know about it Generic repositories are a well-known anti-pattern, something t...

Much Ado About NULL

The Code Project Latest Articles, January 18, 2015
Views: 99 | Hits 10

Patterns to prevent null reference exceptions...

IoT for Home Automation

The Code Project Latest Articles, January 8, 2015
Views: 101 | Hits 20

I built my own Internet of Things, IoT, home automation system that is controlling 30 different things with 4 different types of microcontrollers with nearly 150 commands. This article talks about Io...

Route Resolve and Controller Activate in AngularJS

JohnPapa.net, December 27, 2014
Views: 137 | Hits 18

Angular route resolvers and controller activation. Two great options for running logic on entrance of a new View or route. I get a lot of questions about which technique to use. I’m using Angula...

Illustrating the State Pattern with a Very Basic Example

The Code Project Latest Articles, December 26, 2014
Views: 140 | Hits 25

A simplified example is used to describe the state pattern...

The sideways stack trace

More Whidbey stuff, December 22, 2014
Views: 100 | Hits 6

A common pattern in asynchronous programming is the callback pattern. Libraries such as async make use of that pattern to build asynchronous versions of common control flow structures. One unfortunate...

IoT for Home Automation

The Code Project Latest Articles, December 21, 2014
Views: 217 | Hits 37

I built my own Internet of Things, IoT, home automation system that is controlling 30 different things with 4 different types of microcontrollers with nearly 150 commands. This article talks about Io...

Structuring Angular with Dan Wahlin

JohnPapa.net, December 20, 2014
Views: 207 | Hits 21

The Adventures in Angular team gathered to discuss Structuring code in an Angular app on this week’s episode of Adventures in Angular. Join us and special guest Dan Wahlin for this episode as we...

Implementing Adapter Pattern and Imitating Multiple Inheritance in C# using Roslyn based VS Extension Wrapper Generator

The Code Project Latest Articles, December 16, 2014
Views: 155 | Hits 10

Using a single file wrapper generator to facilitate creating Adapter pattern and Multiple Inheritance...

Implementing Adapter Pattern and Multiple Inheritance in C# using Roslyn based VS Extension Wrapper Generator

The Code Project Latest Articles, December 8, 2014
Views: 131 | Hits 10

Using a single file wrapper generator to facilitate creating Adapter pattern and Multiple Inheritance...

Fluent asynchronous API 1: API requirements

More Whidbey stuff, December 5, 2014
Views: 110 | Hits 5

Today I built a fluent asynchronous API. This is hard to do if you want the API to remain as close as possible to a synchronous API, but still maintain reliable and consistent asynchronous behavior. T...

Unit Test Success using Ports, Adapters, and Simulators

Eric Gunnersons C# Compendium, December 1, 2014
Views: 125 | Hits 4

There is a very cool pattern called Port/Adapter/Simulator that has changed my perspective about unit testing classes with external dependencies significantly and improved the code that Ive written qu...

Crockfords 2014 object creation pattern

More Whidbey stuff, November 19, 2014
Views: 111 | Hits 10

Douglas Crockford has long advocated for relatively unusual object creation patterns that do away with the new, and now the this keywords altogether. While watching a recent talk that he gave about th...

Fun with word mincing: whats global?

More Whidbey stuff, October 24, 2014
Views: 111 | Hits 2

I had a fun discussion with Rob on my last post, which led me to think about global variables and what we mean by “global”. Rob was arguing that a Node module is not strictly speaking glob...

AngularJS Patterns: Clean Code Released!

JohnPapa.net, October 8, 2014
Views: 50 | Hits 1

I’m happy to announce that my newest course is now available at Pluralsight. AngularJS Patterns: Clean Code is a melding of patterns, tips and what I call “readable code” all rolled ...

AngularJS Patterns: Clean Code Released!

JohnPapa.net, October 8, 2014
Views: 624 | Hits 28

I’m happy to announce that my newest course is now available at Pluralsight. AngularJS Patterns: Clean Code is a melding of patterns, tips and what I call “readable code” all rolled ...

ASP.NET MVC Dynamic Routing

The Code Project Latest Articles, October 2, 2014
Views: 577 | Hits 17

Learn how to route variable URL patterns to fixed Controller/Action...

Javascript design patterns and IIFE

The Code Project Latest Articles, September 21, 2014
Views: 834 | Hits 11

This article will explain a JavaScript design pattern called the Revealing Module Pattern....

Repository pattern, done right

The Code Project Latest Articles, September 9, 2014
Views: 999 | Hits 56

This post aims to explain why the Repository Pattern can still be a great choice....

Angular Function Declarations, Function Expressions, and Readable Code

JohnPapa.net, September 6, 2014
Views: 55 | Hits 1

We spend more time reading our code than writing it. That’s why it makes sense to write code that is easier to read. The good news is that there are a lot of really simple things that can make y...

Angular Function Declarations, Function Expressions, and Readable Code

JohnPapa.net, September 6, 2014
Views: 921 | Hits 14

We spend more time reading our code than writing it. That’s why it makes sense to write code that is easier to read. The good news is that there are a lot of really simple things that can make y...

View-View Model based WPF and XAML Implementational Patterns. (WPF and XAML Patterns of Code Reuse in Easy Samples. Part 2)

The Code Project Latest Articles, August 4, 2014
Views: 989 | Hits 15

View-View Model based implementational patterns...

Introducing K-Pattern: A Rapid Way to Make CRUD Operations with Entity Framework

The Code Project Latest Articles, July 28, 2014
Views: 1,097 | Hits 47

This article is all about of my developed entity framework pattern named K-Pattern...

On Programmers Productivity

Brendan Tompkins, July 9, 2014
Views: 865 | Hits 2

This morning I stumbled onHow to destroy Programmer Productivity by George Stocker, andFire And Motion by Joel Spolsky. These posts talk aboutProgrammer Productivity, especially the killing productivi...

WPF Control Patterns. (WPF and XAML Patterns of Code Reuse in Easy Samples. Part 1)

The Code Project Latest Articles, June 29, 2014
Views: 928 | Hits 5

Article describes WPF and XAML patterns for code and functionality reuse....

6 Rules of Thumb for MongoDB Schema Design: Part 3

The MongoDB NoSQL Database Blog, June 11, 2014
Views: 903 | Hits 2

By William Zola, Lead Technical Support Engineer at MongoDBThis is our final stop in this tour of modeling One-to-N relationships in MongoDB. In the first post, I covered the three basic ways to mode...

String formatting in JavaScript

The Code Project Latest Articles, May 20, 2014
Views: 708 | Hits 9

String.Format creates strings from a pattern and values....

A Few Thoughts on Better Unit Tests For AngularJS Controllers

K. Scott Allen, May 15, 2014
Views: 544 | Hits 7

There are a few aspects of unit testing AngularJS controllers that have made me uncomfortable over time. In this post I’ll describe some of these issues and what I’ve been trying on my cur...

Using Unit of Work Pattern in ASP.NET MVC and Entity Framework

DotNetBips.com Latest Articles, April 15, 2014
Views: 435 | Hits 39

Recently I wrote an article explaining the Repository Pattern and its use in ASP.NET MVC. This article builds on that article and explains another related design pattern - Unit of Work. The Unit of Wo...

Using Unit of Work Pattern in ASP.NET MVC and Entity Framework

BinaryIntellect.net :: The .NET Code Gallery, April 15, 2014
Views: 203 | Hits 14

Recently I wrote an article explaining the Repository Pattern and its use in ASP.NET MVC. This article builds on that article and explains another related design pattern - Unit of Work. The Unit of Wo...

Reusable Chain of responsbility in C#

The Code Project Latest Articles, March 14, 2014
Views: 235 | Hits 18

This article explains how to make chain of responsiblity pattern reusable with the help of specification pattern....

UI Object Connector Implementation of Mediator Pattern

The Code Project Latest Articles, March 7, 2014
Views: 189 | Hits 2

UI Object Connector Implementation of Mediator Pattern...

ExtJS Not Using autoLoad Best Practice

peterkellner.net, March 6, 2014
Views: 135 | Hits 2

The typical usage pattern in Senchas ExtJS for loading data into a visual control such as a grid is to assign a grid to a store, then let the store have autoLoad: true which means that when the store ...

ExtJS Not Using autoLoad Best Practice

peterkellner.net, March 6, 2014
Views: 207 | Hits 3

The typical usage pattern in Senchas ExtJS for loading data into a visual control such as a grid is to assign a grid to a store, then let the store have autoLoad: true which means that when the store ...

Relationships, Love and Expectations

Peter Brombergs UnBlog, March 5, 2014
Views: 50 | Hits 1

Many people drift through life hoping that love will ""find them"" like some sort of gift from God. It rarely works out that way. One must be actively engaged with new people and actively looking,...

Relationships, Love and Expectations

Peter Brombergs UnBlog, March 5, 2014
Views: 204 | Hits 5

Many people drift through life hoping that love will ""find them"" like some sort of gift from God. It rarely works out that way. One must be actively engaged with new people and actively looking,...

Design Patterns in ASP.NET

The Code Project Latest Articles, March 3, 2014
Views: 237 | Hits 18

Part 1 of design patterns in .NET...

EdisonJS Organized Routing for Complex Single-Page Applications

Enterprise jQuery, February 11, 2014
Views: 246 | Hits 5

Over the past few years, “single-page applications” have steadily grown in popularity within the web development industry. As developers have grown accustomed to placing the bulk of the re...

Factory Method Pattern vs. Abstract Factory Pattern

The Code Project Latest Articles, January 27, 2014
Views: 288 | Hits 54

In this article we will learn difference between Factory Method Pattern and Abstract Factory Pattern....

Appendix: The Fix It Sample Application

ASP.NET Daily Articles, January 8, 2014
Views: 271 | Hits 12

The Building Real World Cloud Apps with Windows Azure e-book is based on a presentation developed by Scott Guthrie. It explains 13 patterns and practices that can help you be successful developing ......

More Patterns and Guidance

ASP.NET Daily Articles, January 8, 2014
Views: 262 | Hits 12

The Building Real World Cloud Apps with Windows Azure e-book is based on a presentation developed by Scott Guthrie. It explains 13 patterns and practices that can help you be successful developing ......

Queue-Centric Work Pattern

ASP.NET Daily Articles, January 8, 2014
Views: 322 | Hits 10

The Building Real World Cloud Apps with Windows Azure e-book is based on a presentation developed by Scott Guthrie. It explains 13 patterns and practices that can help you be successful developing ......

Distributed Caching

ASP.NET Daily Articles, January 8, 2014
Views: 225 | Hits 9

The Building Real World Cloud Apps with Windows Azure e-book is based on a presentation developed by Scott Guthrie. It explains 13 patterns and practices that can help you be successful developing ......

Transient Fault Handling

ASP.NET Daily Articles, January 8, 2014
Views: 218 | Hits 4

The Building Real World Cloud Apps with Windows Azure e-book is based on a presentation developed by Scott Guthrie. It explains 13 patterns and practices that can help you be successful developing ......