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

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

New book : Beginning SOLID Principles and Design Patterns for ASP.NET Developers

DotNetBips.com Latest Articles, June 20, 2016
Views: 129 | Hits 8

Our New Book, Beginning SOLID Principles and Design Patterns for ASP.NET Developers, is now available. Covers SOLID principles, all GoF design patterns, a select PoEAA and popular JavaScript patterns....

New book : Beginning SOLID Principles and Design Patterns for ASP.NET Developers

BinaryIntellect.net :: The .NET Code Gallery, June 20, 2016
Views: 103 | Hits 6

Our New Book, Beginning SOLID Principles and Design Patterns for ASP.NET Developers, is now available. Covers SOLID principles, all GoF design patterns, a select PoEAA and popular JavaScript patterns....

Everything You Need To Program Components In Angular 1.5

K. Scott Allen, May 12, 2016
Views: 118 | Hits 13

The 1.5 release of Angular JS is a release you should take a close look at if you, like me, still have some Angular 1 work to do. The new component based programming model simplifies application devel...

Easily delete files recursively matching a pattern on a Mac

Sahil Malik - blah.winsmarts.com, May 5, 2016
Views: 99 | Hits 3

SharePoint Training: more information I find myself doing this a lot, so w...

My DAL Design--- ASP.NET MVC

The Code Project Latest Articles, March 21, 2016
Views: 129 | Hits 13

Repository Pattern with Generic Interface and Dependency Injection...

Port/Adapter/Simulator: read-only and write-only dependencies

Eric Gunnersons C# Compendium, February 24, 2016
Views: 76 | Hits 1

When dealing with many external dependencies, the Port/Adapter/Simulator pattern works great. But what about dependencies that are read-only – such as consuming an information feed from another system...

Web Page as a Set of Components - Part 1

The Code Project Latest Articles, February 24, 2016
Views: 140 | Hits 6

A design pattern to separate the concerns in a web page. Here, each part of the page is considered as a component which is inherently reactive and provides an unified way to interact with other compon...

Use Lazy Initialization to Delay Object Instantiation

DotNetBips.com Latest Articles, February 22, 2016
Views: 157 | Hits 8

It is a common practice to declare object variables as the class members and initialize them in the constructor of the class. At times, however, you need to delay the object instantiation until its fi...

Use Lazy Initialization to Delay Object Instantiation

BinaryIntellect.net :: The .NET Code Gallery, February 22, 2016
Views: 148 | Hits 5

It is a common practice to declare object variables as the class members and initialize them in the constructor of the class. At times, however, you need to delay the object instantiation until its fi...

You suck at TDD #4 External dependencies

Eric Gunnersons C# Compendium, January 26, 2016
Views: 66 | Hits 2

When I started doing TDD, I thought it was pretty clear what to do with external dependencies. If your code writes to a file system for example you just write a file system layer (what would typical...

Integrating AngularJS with ASP.NET MVC

The Code Project Latest Articles, October 3, 2015
Views: 218 | Hits 15

Single Page Applications and the Model View Controller Design Pattern...

How many assigned users do i have? The Graph API has the answer

<ChristophDotNet, September 2, 2015
Views: 203 | Hits 5

My last post about Azure AD was about enabling single sign-on by letting your customers provision your application into their Azure AD tenant. SSO is important to make the end user login experience se...

Showing Dialogs When Using the MVVM Pattern

The Code Project Latest Articles, June 25, 2015
Views: 261 | Hits 10

A framework to solve the problem of opening dialogs from a view model when using the MVVM pattern in WPF....

Using CQRS for Event Sourcing

DevX: .NET Feed, June 17, 2015
Views: 16 | Hits 1

Learn more about how the CQRS pattern works and in which scenarios it is appropriate....

Node dependency injection library extracted from DecentCMS

More Whidbey stuff, June 2, 2015
Views: 276 | Hits 2

There are quite a few DI libraries for Node, I know, and I evaluated many of them before building my own. Its not that the others are bad, its just that I needed a few unique features that I couldnt f...

A n-level Nested Directory Tree WPF Demo

The Code Project Latest Articles, May 16, 2015
Views: 335 | Hits 10

Example of data binding for nested tree structure, and MVVM pattern....

Why the Repository Pattern

The Code Project Latest Articles, May 1, 2015
Views: 535 | Hits 32

After the incredible reaction to a recent blog post, Entity Framework Beginner?s Guide Done Right, I feel like before writing some more code to further the basic example, I?ll take a step back and exp...

Unstructured Blob Storage

ASP.NET Daily Articles, March 30, 2015
Views: 192 | Hits 1

The Building Real World Cloud Apps with 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 web apps......

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

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

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: 386 | Hits 13

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: 408 | Hits 15

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: 399 | Hits 18

Observer pattern using IObservable and I Observer...

How and Where Decorator Design Pattern

The Code Project Latest Articles, February 4, 2015
Views: 411 | Hits 22

Decorator Design Pattern...

PHP Adapter Pattern in Action

The Code Project Latest Articles, February 2, 2015
Views: 398 | Hits 5

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: 471 | Hits 28

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: 473 | Hits 12

Patterns to prevent null reference exceptions...

IoT for Home Automation

The Code Project Latest Articles, January 8, 2015
Views: 496 | Hits 22

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: 458 | Hits 23

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: 470 | Hits 27

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

The sideways stack trace

More Whidbey stuff, December 22, 2014
Views: 445 | Hits 9

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: 593 | Hits 39

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: 543 | Hits 23

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: 525 | Hits 11

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: 456 | Hits 11

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: 434 | Hits 17

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: 581 | Hits 6

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: 400 | Hits 12

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: 413 | Hits 4

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: 361 | Hits 6

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: 1,049 | Hits 41

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: 907 | Hits 19

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: 1,199 | Hits 13

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: 1,473 | Hits 57

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: 376 | Hits 5

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: 1,227 | Hits 16

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: 1,300 | Hits 17

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,418 | Hits 49

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

On Programmers Productivity

Brendan Tompkins, July 9, 2014
Views: 1,139 | Hits 3

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: 1,229 | Hits 8

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: 1,360 | Hits 4

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...