Browse by Tags

All Tags » Architecture » DRP (RSS)

Common Bits&Bytes Patterns - Decorator Pattern, Part II (2 of 2)

Continued from http://dotnet.org.za/willy/archive/2008/06/23/common-bits-amp-bytes-patterns-composite-pattern-part-ii-1-of-2.aspx . Category Structural design pattern Intent Attach additional behaviour or capabilities to an object dynamically. Applicability Use this pattern to: Add responsibility to object dynamically Allow withdrawal of responsibility Avoid explosion of subclasses Class Diagram Source Code Example 1: using System; 2: using System.Collections.Generic; 3: using System.Linq; 4: using...
Posted by willy | with no comments

Common Bits&Bytes Patterns - Composite Pattern, Part II (1 of 2)

Composite Pattern? During the next short burst of patterns, continuing from http://dotnet.org.za/willy/archive/2008/05/23/common-bits-amp-bytes-patterns-factory-pattern-part-5-of-5.aspx , we focus on the composite and the decorator pattern. As always, for detailed information on patterns refer to the Gang of Four (GOF) publication, a software engineering book titled Design Patterns: Elements of Reusable Object-Oriented Software ISBN 0-201-63361-2 authored by Erich Gamma, Richard Helm, Ralph Johnson...
Posted by willy | 2 comment(s)

Common Bits&Bytes Patterns - Factory Pattern, Part 5 of 5

Continued from http://dotnet.org.za/willy/archive/2008/05/20/common-bits-amp-bytes-patterns-iterator-pattern-part-4-of-5.aspx . Factory Pattern The last of this short series is the factory pattern, whereby we will cover the Abstract Factory and the Factory Method in future posts. Category Creational design pattern Intent Define a common interface for object creation, delegating the instantiation of object to sub classes Applicability Use when a solution needs independence of how products are created...
Posted by willy | 1 comment(s)

Common Bits&Bytes Patterns - Iterator Pattern, Part 4 of 5

Continued from http://dotnet.org.za/willy/archive/2008/05/18/common-bits-amp-bytes-patterns-strategy-pattern-part-3-of-5.aspx . I was recently asked to give an example of where I used the patterns introduced so far, namely the Singleton, the Template Method and the Strategy patterns. The singleton pattern is probably the most widely used pattern, used typically to initialise and make available an instance of specific state, i.e. configuration state in a class, or to implement a service, which requires...
Posted by willy | 1 comment(s)

Common Bits&Bytes Patterns - Strategy Pattern, Part 3 of 5

Continued from http://dotnet.org.za/willy/archive/2008/05/16/common-bits-amp-bytes-patterns-overview-amp-template-pattern-part-2-of-5.aspx . Strategy Pattern Category Behavioural design pattern Intent Define a family of algorithms, each encapsulated and interchangeable Applicability If different variants of algorithms are needed, related classes differ only on their behaviour or if an algorithm uses data that should be hidden. Notes The strategy pattern is a variant of the template method pattern...
Posted by willy | 2 comment(s)

Taking a step back ... Database Normalisation 1NF, 2NF, 3NF, BCNF and 4NF (Part 2)

In part 1 we covered chaos to 3NF normalisation. We can go to higher levels of normal forms ... although this is not my area of expertise at all, let's explore BCNF and 4NF. --------------------------------------------------------------------------------- Boyce-Codd Normal Form (BCNF) The BCNF normal form is a special case of 3NF and BCNF can only be violated if a 3NF compliant table contains more than one candidate key. A candidate key has the same characteristics as a primary key, but for whatever...
Posted by willy | with no comments

.NET Enterprise Solutions .... Best Practices for the Connoisseur Book available for download

We are please to announce that the following book can be downloaded for free from www.drp.co.za and www.saarchitect.net : .NET Enterprise Solutions ... Best Practices for the Connoisseur ISBN: 0-620-33013-9, published September 2004. Authors: James Pereira, Willy-Peter Schaub Contributions: Ernst Marais, Peter Scheffel, Rooan Vos, Oliver Bischoff, Caspar Lessing, Russel Davidson, Louis Lewies, Peet van der Walt, Marius Smit, Christoper Penkin, Paul Vick, Vince Risi and Hennie van Dyk Publisher: Barone...

Taking a step back ... Database Normalisation 1NF, 2NF, 3NF, BCNF and 4NF (Part 1)

I am not as passionate about databases as I am about many, many other things, but database normalisation has kept me interested for some time. I was recently faced with explaining database normalisation from chaos to X-Normal Form (NF), so let me try and summarise my understanding for the benefit of others who might be wondering. Part 1 looks at chaos to 3NF, while part 2 looks at Higher-Level Normal Forms. --------------------------------------------------------------------------------- Initial...
Posted by willy | with no comments

Why the heck should I use Team Foundation Server ... a common question

Although I am most likely opening a can of rattle snakes, I will finally give my view on why we should be using Team Foundation Server as one of the possible supporting solutions for our solution team environments. We will keep a bomb disposal unit in close vicinity, in case the topic becomes explosive... Context: Do I make money made from TFS sales? ... No Is TFS the one and only solution? ... No Should TFS, in my humble opinion, be considered as a supporting solution? ... Yes My view: I created...
Posted by willy | 1 comment(s)

DRP Technology Readiness News Snippet - December 2006 Summary

Sessions covered this month We have completed overview sessions on Windows Workflow (WF), Windows Communication Foundation (WCF) and Reporting services (Friday), as well as a WF drilldown and a WCF demonstration during December. Both the Windows Workflow and Windows Communication Foundation technologies have been identified as new and strategic technologies and we are hoping that the demand for drill-down sessions will allow us to jointly explore the technology and build the communities experience...
Posted by willy | with no comments

Technology Readiness Quick Reference Posters

We are working on ways to make the indexing of our quick reference posters easier for members on www.drp.co.za . It is important to emphasise that the PDF formats are suitable for on-screen viewing, whereas the JPG formats are intended for high-quality prints from A4 to A2 in size. Herewith a list of all the available posters for slightly easier indexing than the site currently allows We have also been asked on a number of occassions if these posters can be re-used at events, training and other exciting...

We are excited to announce our new Developer Readiness series, Technology Readiness 2007

Have a look at our event announcements on http://www.drp.co.za/Events/tabid/75/Default.aspx , our event list on http://www.drp.co.za/Events/TechReady/tabid/74/Default.aspx and our event calendar on http://www.drp.co.za/Events/EventsList/tabid/53/Default.aspx . The events are hosted at BB&D and we are reserving two (2) seats for registered saArchitect members. We are using the public http://www.drp.co.za website to ensure that "everyone" has access. Please register for the events and...

Errata: .NET Enterprise Solutions … Interoperability for the Connoisseur

Our second book is finally available and shipping. Packed with a wealth of information covering interoperability it is also littered with TLAs. For those that hate TLAs (three lettered acronyms) as much as I do, we extend an apology for undocumented TLAs within the book. Here are two of the TLAs and their actual meaning: POX – P lain O ld X ml describing basic XML. WXS - W 3C X ML S chema, used to express shared vocabularies, allowing machines to carry out rules defined by humanoids. Share...
Posted by willy | with no comments

Test Driven Development … A silver Bullet?

Based on some good critique and comments, this is iteration two of my TDD focused post. Thanks Kevin for your comments ... I hope this iteration explains my thoughts a bit better. In this weeks VSTS bootcamp I was asked whether test driven development really works and whether we have seen any improvements in our development environment. Well … in my humble opinion and experience no methodology has proven to be a silver bullet for anything and while both scrum and test driven development have...
Posted by willy | with no comments
Filed under: , ,

“.NET Enterprise Solutions … Interoperability for the Connoisseur (Book 2 Ready)

The BB&D DRP book 2, titled “.NET Enterprise Solutions … Interoperability for the Connoisseur”, ISBN: 0-620 34680-9, is complete and currently on the printing press. We thank the authors, the contributors, the coordinators and the reviewers for sharing their knowledge and experience, for finally completing this mammoth project and are looking forward to the final product. Books can be pre-ordered by emailing your details and number of copies to be reserved to drpsupport@bbd...
More Posts Next page »