Browse by Tags

All Tags » Application Design (RSS)
I was going back through an application I am currently working on for a client and trying to come up with a way to bridge a gap between that application and a new web site they want, which has two separate application architectures and ORM solutions....
Posted by bmains | with no comments
Filed under: ,
I been thinking about when I should differentiate between methods and properties. For instance, suppose that I have the following class: public class OrderProcessor { public bool RoundToNearestCent { get; set; } public bool RoundDown { get; set; } } This...
Posted by bmains | with no comments
When designing your applications to expose list-based data, there is a difference between styles of programming. For instance, suppose you wanted to expose a collection of objects to the consumer. This could be simply done using the following class: public...
Posted by bmains | with no comments
This is one common variant to the strategy/state pattern that I commonly use. It varies in that I use a second object to actually figure out which stategy/state pattern object should be used in a given situation. For instance, suppose we had the following...
Posted by bmains | with no comments
Filed under: ,
You may have noticed that I tend to shift subjects quite a bit. I talked about Agile a while ago, and have moved away from talking about it. I needed to grow and learn about the processes, which I have done a little. I'll always be a student in this...
As software developers, we try to keep reusability in mind. To figure out whether a particular solution is reusable, take a look at what you have to do to use it. For instance, if you are developing an ASP.NET user control, does the developer who consumes...
Posted by bmains | with no comments
Filed under:
Whenever it comes to determining whether a business object meets a certain state, I like to do create a property or method for this. For instance, evaluate the property below: public bool IsCompleted { get { return this.CompletedDate != null; } } The...
Posted by bmains | with no comments
If you haven't heard about the series I'm doing, the Calendar Day View project is one that I'm trying to use TDD practices to show the process creating a custom control. However, there are times when TDD breaks down, not because TDD fails...
Posted by bmains | with no comments
Filed under:
So, to start out, I thought a little bit about the initial setup for how I could do some testing on the server side of the control. You have to understand the inner workings of server controls to understand. At the end of the process, no matter whether...
I've come up with some preliminary design specs of the initial functionality that I want in this control. I've included some of the interactions that can happen in the control, and the basic view (once I figure out how to attach an image, I'll...
Posted by bmains | with no comments
Customers are an important part to Agile development. A portion of the Agile Manifesto reads: "Business people and developers must work together daily throughout the project." This is a key part ot the software development process, and I'm...
Posted by bmains | with no comments
Filed under:
I'm going to stray from LINQ to SQL to talk a little bit about software development in nature. In software development, developers are trying to achieve a goal of the customer you are working with. During requirements gathering, you find out all the...
Posted by bmains | with no comments
Filed under:
You may have noticed that the Page has an items collection. This items collection can store any information, as it's a local dictionary. I could not find anywhere where the dictionary is serialized and stored, so the dictionary is only temporary and...
Posted by bmains | 13 comment(s)
Filed under: ,
As a general recommendation, I would pass in object references to DAL, BAL, or other methods in your application, rather than passing in individual properties. The reason is you can conceal the properties you need in your code. For instance, look at this...
Posted by bmains | 1 comment(s)
Filed under:
If you like architecture, you may realize there are some challenges that come into play when you try to bind data to the interface controls in ASP.NET. Because data is often normalized, and this data is structured in several parent-child relationships...
Posted by bmains | 2 comment(s)
Filed under:
More Posts Next page »