Skip to content

Design and Architecture

Discussions on Design, Patterns and Architecture

This category can be followed from the open social web via the handle design-and-architecture@forum.codeproject.com

5.3k Topics 10.4k Posts
  • Business layer as a WCF service?

    wcf csharp com design game-dev
    3
    0 Votes
    3 Posts
    5 Views
    RaviBeeR
    gleat wrote: does it make sense to shield the WCF stuff from the web app via a facade layer? Absolutely, imho. The web app (or any client) shouldn't need to use WCF semantics or any other service implementation dependencies. This allows (1) easier construction of mock objects for client side testing and (2) replacement of the backend API (if needed) without having your clients retool their code. /ravi My new year resolution: 2048 x 1536 Home | Music | Articles | Freeware ravib(at)ravib(dot)com
  • ListView Scrollbar Crisis!

    help csharp c++
    5
    0 Votes
    5 Posts
    2 Views
    L
    Pete O'Hanlon wrote: The C# forum. And if that doesn't work, you can go here[^].
  • Adapter as a design strategy

    design regex json architecture question
    4
    0 Votes
    4 Posts
    3 Views
    S
    What I'm struggling with is keeping higher level policies from getting entangled with the low-level algorithms that do the work. if higher level polices are dependent on low-level algorithm and if low-level algorithm are changing...or if you want to make higher level polices independent of low-level algorithm then go for Strategy or Template Method.
  • 0 Votes
    4 Posts
    4 Views
    L
    Well I highly recommend everyone study Software Design Patterns but they have little to do with architectures and specifically Model-View-Controller is a design not a different kind of system. CRUD isn't really an architecture it's just an acronym describing basic Database operations. N-Tier is an architecture concept. It's not all that complex conceptually and it seems you might be over complicating this issue for yourself. Systems design and architecture should be based on requirements. Systems should, although don't always, have an architecture that meets the needs of the use model and any enterprise/network/platform that they are required to operate within. If you are having trouble consuming all these different terms and understanding them I highly recommend Wikipedia for introductory high level definitions of things like Design Patterns and N-Tier and CRUD etc. led mike
  • Reordering Components in the Container

    docker
    3
    0 Votes
    3 Posts
    3 Views
    S
    Sorry for being unclear, Im working with c# in vs2005. Im pertaining to the IDesignerHost.Container. I'm looking for example on how to rearrange the components in the container. thanks
  • Network Communication Library

    sysadmin json help
    3
    0 Votes
    3 Posts
    4 Views
    R
    That's disappointing. :( So the creationist says: Everything must have a designer. God designed everything. I say: Why is God the only exception? Why not make the "designs" (like man) exceptions and make God a creation of man?
  • Cursory Review: Technical Spec Outline

    database design csharp asp-net winforms
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Namespaces naming policy (English vs. native language)

    question c++ visual-studio
    9
    0 Votes
    9 Posts
    7 Views
    O
    :laugh: Perhaps we should organize a support group.
  • Classes and Composition

    help graphics tutorial question lounge
    2
    0 Votes
    2 Posts
    3 Views
    L
    Armond Sarkisian wrote: explain to me how the variable string gets shared between class A and class B string generateString() { static int ticket = 1; char buf[2] = {0}; itoa(ticket++, buf, 10); return buf; } led mike
  • Accessing Win32 handles in C#

    csharp c++ graphics game-dev
    3
    0 Votes
    3 Posts
    5 Views
    S
    pinhigh2k wrote: Basically, I would like to use a C# form (or other construct) to simply house an already existing OpenGL window class written in C++. Is it an ActiveX control? If it is it can be done easily. Steve
  • what to be a Architect? [modified]

    question
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Empty strings to null: A declarative approach

    design question
    7
    0 Votes
    7 Posts
    1 Views
    P
    Brady - If you are reading things in with a datareader, then one way would be to use some code to convert your DB null string to a null string. A simple function would cope with this: public string GetString(IDataReader item, string column) { int ordinal = item.GetOrdinal(column); if (item.IsDBNull(ordinal)) return null; return item.GetString(ordinal); } Deja View - the feeling that you've seen this post before. My blog | My articles
  • Specification Doc Assembly

    wcf help
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • how to develop multi user desktop application

    tutorial wcf game-dev sysadmin security
    2
    0 Votes
    2 Posts
    1 Views
    S
    Please don't cross post. It's considered rude and won't help you get an answer any faster. The original post is here[^]. Scott. —In just two days, tomorrow will be yesterday. —Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai [Forum Guidelines] [Articles] [Blog]
  • ELF parser

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Document Archiving

    csharp asp-net
    5
    0 Votes
    5 Posts
    2 Views
    B
    I'm quite lucky. Nearly all issues are logged internally, and only require a ten minute, in office, chat to sort out. At least we don't work off specs for this, the paperwork would be enormous.
  • Visio UML - add to the built in types.

    csharp question tutorial
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Web Service for DataBase call

    question database architecture
    3
    0 Votes
    3 Posts
    3 Views
    R
    Hi, Principally that of abstraction. The chances are that whatever it is that calls your webservice should not know about the database at the other end- ideally if there is even one. It should think in terms of calling something to get the data it needs. The webservice will form part of your middle tier, so should you change databases or decide to implement some caching etc, the client remain unaffected. Of course, if you want your application to work other the internet as well, then you need to do something like this or you'll have to open up firewalls to the database port which exposes a nightmare scenario of security risks. Regards, Rob Philpott.
  • ASP.net 3.5 and SQL Server Reporting

    csharp question asp-net database sql-server
    2
    0 Votes
    2 Posts
    3 Views
    P
    See the following links[^] Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush
  • Integration services

    css wcf help tutorial question
    2
    0 Votes
    2 Posts
    2 Views
    P
    There's a lot more to this question than this. Is this object going to be used on its own, or is it going to be in a collection? Instinctively I'd go with a normalised version of the object, but it really does depend on a lot of other factors. In the end, you're going to have to do a bit of profiling and work out what the size of the object you are going to be passing over the wire is, and if it's acceptable to you. Unfortunately, there's no magic bullet that we can apply here. This one's up to you. Deja View - the feeling that you've seen this post before. My blog | My articles