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
  • Need suggestion

    question
    5
    0 Votes
    5 Posts
    0 Views
    M
    Use standard ciphers. Fiddling with your own substitutions might accidently introduce weakness. The framework provides a whole bunch of CSPs you can use royalty free anyway - theres very little reason to implement your own cipher, and lots of reasons not to. Mark Churchill Director Dunn & Churchill Free Download: Diamond Binding: The simple, powerful, reliable, and effective data layer toolkit for Visual Studio.
  • What Questions To Ask?

    design question
    5
    0 Votes
    5 Posts
    0 Views
    M
    Does it satisfy the requirements of a good user interface (assuming it ultimately leads to software someone uses and not a machine or other software). I tend to think about the requirements and the user experience first, even mock up a UI on paper. Try to eliminate as much work or complexity on the part of the user as possible so that the user can focus on accomplishing *tasks* rather than manipulating data. Once I have that decided the rest is easy because it simply has to meet the criteria of satisfying the task oriented design decisions. If you start from the bottom up on the other hand then you are faced with uncertainty at every level and ultimately could end up with a very computer programmer oriented design but not a user friendly design. (i.e. the end user get's exposed too much to the inner workings of tables and databases and how the computer and software works instead of simply being able to view it as a machine that helps them accomplish the tasks they already know and understand). This is the essential pivot point between what users percieve as "good" software and what users perceive as "bad" software. "The pursuit of excellence is less profitable than the pursuit of bigness, but it can be more satisfying." - David Ogilvy
  • What is a properties file?

    question help
    2
    0 Votes
    2 Posts
    1 Views
    K
    If you don't know what a properties file is, how do you know that you're supposed to make one?
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • Requirements gathering tools

    data-structures business tools help question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • [Message Deleted]

    2
    0 Votes
    2 Posts
    0 Views
    L
    C. L. Phillip wrote: Just started working my current job in January Is that all you just started? Did you try this?[^] or maybe this[^], or this[^] Good luck, you're going to need it. led mike
  • Design Methods ? [moved]

    csharp design question
    43
    0 Votes
    43 Posts
    0 Views
    P
    Jeremy Falcon wrote: I've been hanging out on the Trugger list though Trugger? Don't think I know that one - I'll have to look into it. Jeremy Falcon wrote: What's going on in thine neck o' thy woods? Just been spending too much money. This week has seen birthdays for the wife and the daughters and my wedding anniversary. Jeremy Falcon wrote: Less short story is, broke but I'm doing something about it. Excellent. That's good to hear. Deja View - the feeling that you've seen this post before. My blog | My articles
  • XP vs Incremenatal development.

    visual-studio business question
    21
    0 Votes
    21 Posts
    5 Views
    P
    Hell - even Wikipedia has an article or two. Deja View - the feeling that you've seen this post before. My blog | My articles
  • Biztalk Developers/Architects?

    question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Writing Documentation

    csharp com business
    3
    0 Votes
    3 Posts
    0 Views
    V
    Perfect Thank you very much Sir Vuyiswa Maseko, Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding VB.NET/SQL7/2000/2005 http://vuyiswamb.007ihost.com http://Ecadre.007ihost.com vuyiswam@tshwane.gov.za modified on Friday, April 18, 2008 8:32 AM
  • how to: Pass status information through tiers?

    help question csharp design sysadmin
    7
    0 Votes
    7 Posts
    1 Views
    O
    A minor, but somewhat important nit to pick. When you talk about passing data between tiers, you imply that you are talking about physical machines. From your question, however, it would appear that you mean that you have three layers. Although it's possible, even likely, that each layer will be hosted on a separate machine, that is not a requirement of multi-layer design. (It's also possible, even likely that you'll end up with more than three layers, but its usual to only have three tiers. For instance you might have a UI Layer that hosts both a UI Component layer and an Application layer that serve both a Win and a Web version of the app.) Jon Smith & Wesson: The original point and click interface
  • UI creation patterns

    help design game-dev business beta-testing
    4
    0 Votes
    4 Posts
    0 Views
    O
    martin_hughes wrote: I went back to work Oh !@#$#@! Your post was great. Raised all sorts of questions in my head. Now I'm going to have to work on the answers? . . .Maybe I could post a PLS HELP URGNT about it. . . Jon Smith & Wesson: The original point and click interface
  • Good Design and Good Code

    design business question discussion
    4
    0 Votes
    4 Posts
    0 Views
    P
    jesarg wrote: "Although we agree that good design might be necessary for good code to be produced, good code is necessary for good design to be produced as well". "A chain is only as strong as its weakest link."
  • Exception Tolerance

    database testing beta-testing xml question
    7
    0 Votes
    7 Posts
    0 Views
    P
    Maybe have it raise events rather than throw exceptions, perhaps when in a "testing" mode or something. try { // Do something } catch ( System.Exception err ) { if Testing OnExceptionCaught ( err ) ; else throw ( err ) ; // Hopefully with additional info, of course endif }
  • Pattern for handling an ADO.net transaction

    question csharp regex learning
    3
    0 Votes
    3 Posts
    0 Views
    P
    Yes, and I do, but if it is null, I throw InvalidOperationException, because I feel that the caller should know about it. I don't want to continue as if everything was okey-dokey. I check the same thing in my Rollback method as well, which is causing the trouble.
  • Hey! There's a design and architecture message board...

    css design architecture
    3
    0 Votes
    3 Posts
    0 Views
    M
    Yeah I do. :) "The pursuit of excellence is less profitable than the pursuit of bigness, but it can be more satisfying." - David Ogilvy
  • Architecture 101....

    database design architecture tutorial question
    9
    0 Votes
    9 Posts
    1 Views
    J
    "there is nothing in my first reply that is not personable." Yeah, "There is also this thing called Google that will find information for you." Real personable.
  • 0 Votes
    3 Posts
    0 Views
    M
    Sounds almost like a search engine or document searching app that is querying a dictionary and matching document ID's. I've written one of those before although that's not entirely relevant, but what is is that all the hard work should be at the sql server, also it's potentially possible to do almost any query in one trip, not in a loop if you do some hard refactoring of the data and or add speciality tables just for this process. Those thousands of id's, that just sounds..well wrong. I would look first at the database and potentially refactoring it before I'd even consider anything else. You say you've been tasked with going to asp.net from classic asp, to be honest that's not related at all to the real problem, you need to find a solution that *doesn't* involve looping, separate queries with thousands of id's in the IN clause before you do anything else. And don't say you can't touch the data, there's always a way to simplify this stuff, sometimes building a separate table entirely from the existing data, who knows but what you are describing is just wrong. :) "The pursuit of excellence is less profitable than the pursuit of bigness, but it can be more satisfying." - David Ogilvy
  • Design Methods ??

    question csharp design business
    15
    0 Votes
    15 Posts
    1 Views
    P
    Yup. Ladylike she ain't. Deja View - the feeling that you've seen this post before. My blog | My articles
  • 0 Votes
    4 Posts
    1 Views
    P
    He keeps his website up to date - has a very active forum on it, and (if you use CodeSmith) you can get fairly up to date CSLA templates to generate your code. Deja View - the feeling that you've seen this post before. My blog | My articles