Stories recently tagged with 'DesignPatterns'

Entity Framework and T4: Generate Query Objects on the fly, part 1(ruijarimba.wordpress.com)

submitted by ruijarimbaruijarimba(81) 1 year ago

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

add a comment |category: |Views: 13

tags: another

Spearmen, Javelin Throwers, and the State Pattern, oh my!(squaredroot.com)

submitted by TroyMGTroyMG(2670) 2 years, 9 months ago

Jamie Farser & Ayende Rahein recently had a conversation about using the State Pattern for units in a game Jamie is building. I've been following along trying to figure my way through the state pattern as well, and decided to take a stab at my own solution to Jamie's problem. read more...

add a comment |category: |Views: 11

tags: another

Top 100 Best Software Engineering Books, Ever(noop.nl)

submitted by powerrushpowerrush(3873) 3 years, 11 months ago

In this post I proudly present the Top 100 of Best Software Engineering Books, Ever. I have created this list using four different criteria: 1) number of Amazon reviews, 2) average Amazon rating, 3) number of Google hits and 4) Jolt awards. read more...

3 comments |category: |Views: 846

tags: another

Implementing the Repository Pattern with Linq-to-Sql(codeproject.com)

submitted by powerrushpowerrush(3873) 3 years, 11 months ago

The Repository Pattern, according to Martin Fowler, provides a "layer of abstraction over the mapping layer where query construction code is concentrated", to "minimize duplicate query logic". In practice it is usually a collection of data access services, grouped in a similar way to the domain model classes. By accessing repositories via interfaces the repository pattern helps to break the dependency between the domain model and data access code. This is invaluable for unit testing because the domain model can be isolated. read more...

add a comment |category: |Views: 679

tags: another

Hidden Gem: Singleton Factory in C#(cognitivecoding.com)

submitted by shivashankarpshivashankarp(335) 4 years, 2 months ago

Simple and generic implementation of singleton factory in C#. read more...

5 comments |category: |Views: 343

tags: another

Hidden Gem: Singleton Factory in C#(cognitivecoding.com)

submitted by shivashankarpshivashankarp(335) 4 years, 2 months ago

Simple and generic implementation of singleton factory in C#. read more...

5 comments |category: |Views: 343

tags: another

Test Supported Development (TSD) is not Test Driven Development (TDD) (blog.troyd.net)

submitted by powerrushpowerrush(3873) 4 years, 3 months ago

"Test Supported Development" (TSD) intends to characterize the creation of tests during ANY/ALL stages of development, that is, tests are not necessarily created before their respective System Under Test (SUT), but not necessarily created as an afterthought, either... read more...

2 comments |category: |Views: 28

tags: another

Applying Design Patterns - Part I and II (amazedsaint-articles.blogspot.com)

submitted by powerrushpowerrush(3873) 4 years, 6 months ago

This article is expected to: [1] Introduce patterns to you in a simple, human readable way [2] Train you how to really 'Apply' patterns (you can learn patterns easily, but to apply them to solve a problem, you need real design skills) [3] Provide you a fair idea regarding the contexts for applying the following patterns - Builder, Observer, Strategy and Decorator (well, they are few popular design patterns) [4] Demonstrate you how to apply the Observer pattern, to solve a design problem read more...

add a comment |category: |Views: 35

tags: another

Model View * Patterns Series Complete!(aspadvice.com)

submitted by craigshoemakercraigshoemaker(835) 5 years, 1 month ago

The Design Patterns Bootcamp : Model View * Patterns series is now complete! The series features two audio pieces and five instructional videos. The audio portions take care of introducing the concepts and answering frequently asked questions, while the videos cover the following topics: 1. Implementing Model View Presenter 2. Supporting Windows Forms 3. Controlling User Messages 4. Data Sources, Service Layers & Maintaining State 5. Encapsultaing DropDownList Data Sources read more...

add a comment |category: |Views: 14

tags: another

I Heart Template Method(laribee.com)

submitted by laribeelaribee(720) 5 years, 2 months ago

Template Method is the old skool design pattern that rocks the party that rocks the party that rocks the party. Here's why I love it in a way that isn't natural. read more...

add a comment |category: |Views: 8

tags: another

Observer Pattern in C# = Events & delegates(spellcoder.com)

submitted by bashmohandesbashmohandes(3000) 5 years, 2 months ago

One of the most interesting patterns in Design Patterns is the Observer pattern which is listed under Behavioral Patterns, it is really important how to make other classes which are interested in the state of another object get notified when the state changed. read more...

3 comments |category: |Views: 1532

tags: another

Design Patterns for ASP.NET (Part 1)(devx.com)

submitted by rimsystemsrimsystems(6119) 5 years, 2 months ago

or the past year or so, I've been involved in documenting frameworks that help developers write better code, and create applications that are more efficient and easier to test, debug, maintain, and extend. During that time, it has been interesting to see the continuing development of best-practice techniques and tools at one of the leading software companies in our industry. Most of the work was outside my usual sphere of ASP.NET and web development, concentrating mainly on Windows Forms applications built using .NET 2.0. This is an area where standard design patterns that have evolved over many years are increasingly being refined and put into practice. read more...

add a comment |category: |Views: 11

tags: another

The Observer Pattern(thesprage.com)

submitted by Aaronls79Aaronls79(425) 5 years, 3 months ago

Implementing the Observer pattern in VB.Net. read more...

add a comment |category: |Views: 36

tags: another

Good Design Minimizes The Impact Of Changes(haacked.com)

submitted by jhol3990jhol3990(495) 5 years, 6 months ago

The title says most of what needs to be said ... a short article on how design patterns can make our code more maintainable. read more...

add a comment |category: |Views: 3

tags: another

The GOF Abstract Factory Design Pattern In C#(c-sharpcorner.com)

submitted by dalzieldalziel(6230) 5 years, 9 months ago

The abstract factory is a GOF (Gang of Four) creational pattern where the intent is to "...provide an interface for creating families of related or dependent objects without specifying their concrete classes". read more...

add a comment |category: |Views: 71

tags: another

Design Patterns in C#(dofactory.com)

submitted by j.montyj.monty(1868) 6 years, 2 months ago

The Gang of Four (GoF) patterns are generally considered the foundation for all other patterns. They are categorized in three groups: Creational, Structural, and Behavioral. Here you will find information on these important patterns. read more...

1 comment |category: |Views: 10

tags: another