(Mark Goetsch) Associations are a key part of the UML lexicon. Use them to define the ways in which your application’s classes communicate. In this article you’ll see that adding a database introduces design patterns for the first time using the façade pattern.
Tag: Development
Using the Observer Pattern in .NET
(Michael Weier) I recently visited a friend who received a binary clock as a gift. Throughout the afternoon, I found myself almost hypnotized by the marching of the lights across the clock face. When I left, I was convinced that it would be a great example of the Observer pattern. This article demon
Why there’s no need to abandon .NET for open source
(Tony Patton) A client recently greeted me with a barrage of complaints about Microsoft, product costs, and so forth. They wondered aloud whether they ought to assemble a strategy for moving to an open source platform to save money. Now, I’m not one to start an argument about the merits of consumer
Lightweight UI Test Automation with .NET
(James McCaffrey) Manual user interface testing is one of the most fundamental types of software testing and it’s the kind of testing that most software engineers first experience. Paradoxically, automated user interface tests are probably the most technically challenging kind of test to write. The
The beauty of ones, zeros, and powers of two.
(John Sample) One of the most unused features in .NET I have come across is the ORing and ANDing of enum values. I’ve been finding myself explaining this technique several times in the last week, so I figured I’d write it all down here.
Avoiding Disaster: The Database Planning Process
(Mary Duffy) When it comes to databases, disaster is easy to come by. You may have heard (or experienced) the horror stories: you spend thousands of dollars on the database you think you want, only to find out that it isn’t compatible with everyone’s system, and it doesn’t track that one essential d
Discovering Visual Basic .NET: Using Functions and Arguments
(Bill Hatfield) In the previous article in this series, you discovered how to use variables to store information, do math and other operations, and how to display the results. In this article, you’ll explore the use of functions and arguments.
You’re Making it Up! Data Modeling – Analysis or Design?
(Graeme Simsion) “I confess that I thought you were a lunatic when I first heard about your conjecture many years ago” wrote modeling authority Alec Sharp in a recent email to me. He was not alone. In 1996 I wrote an article for Database Programming and Design which included the “conjecture”,
Design Patterns in PHP – Factory Method and Abstract Factory
(David Fells) In object oriented programming, object creation – also known as instantiation – is an implied requirement. Objects must at some point be created for use. Obviously, creating objects is not a difficult task and most languages, PHP included, have simple and intuitive syntax for doing so.
Custom Script Callbacks in ASP.NET
(Dino Esposito) ASP.NET client callbacks represent a neat and elegant way to execute server-side code without posting and refreshing the current page. I discussed ASP.NET callbacks in the August and December 2004 installments of Cutting Edge, considering them from the perspective of rendered pages m