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
  • A doubt about 3 tire architecture.

    database csharp asp-net design business
    3
    0 Votes
    3 Posts
    2 Views
    B
    Your concept looks OK, but if your are really going to name classes DL and BL you are looking for trouble. I do not believe they are right who say that the defects of famous men should be ignored. I think it is better that we should know them. Then, though we are conscious of having faults as glaring as theirs, we can believe that that is no hindrance to our achieving also something of their virtues. - W. Somerset Maugham My New Blog
  • Loading Composite Object Model

    database regex tutorial
    3
    0 Votes
    3 Posts
    3 Views
    M
    Have a look at Active records in the Castle project[^] Magnus Sälgö Sälgö Consulting AB, Sweden
  • Request for help on architecture

    help database wcf sysadmin xml
    5
    0 Votes
    5 Posts
    6 Views
    L
    The remote object is hosted on a server therefore the database access is coming from that server not from the proxy object in the client.
  • New feature for building access control

    database wcf com design tools
    4
    0 Votes
    4 Posts
    3 Views
    V
    Leaving aside implementation specific details and assuming you have access to DB servers keeping this information. Whenever you get a request for monitoring someone you can create a trigger in the database. The trigger should get triggered when the employee uses his access card to enter the building. In the code for trigger you can do the necessary processing. In an even based programming model, you should have events for whenever someone enters or leaves the building (OnEnter, OnExit). When you get a request to monitor someone you can store that in DB, and when the onEnter event is triggered, you can check against the DB to see if this person is on the notification list. Of course you have to put in appropriate code to remove the trigger once the condition has been met. Hope this was helpful - Vivek
  • Multi Layered Architecture

    csharp javascript architecture help question
    2
    0 Votes
    2 Posts
    3 Views
    E
    well if you want examples then try these Microsoft .NET PetShop 4.0 http://msdn2.microsoft.com/en-us/library/aa479071.aspx[^] Stock Trader http://msdn2.microsoft.com/en-us/netframework/bb499684.aspx[^] Dinner Go .NET http://dinnernow.net/default.aspx?tabindex=0&tabid=1[^] All of these applications mentioned above use design patterns to implement n-tier style architecture. Hope this helps. Both the Stock Trader and Dinner Go sample applications are based on .NET framework 3.5.
  • Help with class Diagram methods

    database help question
    2
    0 Votes
    2 Posts
    3 Views
    L
    falles01 wrote: I know you usually have get and set methods Really? I do? I don't think so.[^]
  • Binary Data Storage

    database cryptography question
    7
    0 Votes
    7 Posts
    3 Views
    K
    We had a similar problem with large file distribution. I wrote a system where a client would download the file and then send broadcast messages out so that other local hosts could pick up the file and download it from the lan. Also if your using windows clients look at the Background intelligent file transfer. a programmer traped in a thugs body
  • 0 Votes
    2 Posts
    2 Views
    N
    Depending on how much time you are planning to invest in this, it may be more cost effective to get an off-the-shelf solution that can handle this type of skip logic. These types of product range in price from hundreds to thousands of dollars. *DISCLAIMER* I am the architect for a company that produces this type of software, but there are many options so you might want to check around. I can tell you from first hand experience that once you get into conditional logic and/or have to create and deploy multiple questionnaires you've got quite a bit of work to do.
  • Basic Class Design

    question csharp design help
    12
    0 Votes
    12 Posts
    7 Views
    E
    Cool. The best thing I like about a M:M relationship (link table) is that is easy to replicate that model out to other entities. i.e. Songs & Albums, Artists and genres, etc. One of the things that I quite enjoy is the fact that I can use a single link table for multiple relationships. This is because we use a GUID as a primary key due to our replication needs. Edward Steward edwardsteward@optusnet.com.au
  • [ Solved ] Autosave [modified]

    c++ css question
    5
    0 Votes
    5 Posts
    4 Views
    H
    Maximilien wrote: They do. It's in the menu bar. Sorry, I once, out of curiosity, downloaded the tiger version of MAC on a Vmware Hdd. I think it was illegal, so I deleted that. I had not enough time to investigate all parts of the OS. I couldn't see that button, and I don't remember where it was exactly. But you seems to have a good experience with that, so you're right probably. I'm sorry because of such a stupid mistake. Maximilien wrote: IMO, it's not a good idea to have an Autosave that replace a save (and "save as") command. You're right and I added that already today. It's almost a long time since I posted the comment today. Anyway, thank you so much for your help.:) // "Life is very short and is very fragile also." Yanni while (I'm_alive) { cout<<"I love programming."; }
  • singleton pattern example

    design regex architecture tutorial
    23
    0 Votes
    23 Posts
    26 Views
    E
    singletons are used when it only makes sense to have exactly one and only one of them... i am not sure the impact singletons have on multi-threaded apps either, you might want to do some research in that area as well. design patterns are an interesting concept... i always stick to the kiss principle.. and avoid over-engineering my code. sometimes you can get into trouble with singletons, because sometimes they are implemented with private a constructor and destructor, and some example implementations you find on the web have nearly undetectable flaws ... there are variations to this theme between java and c++, and i am not sure about python (or whether you even need to do it in python). be cautious and judicious in your decision making, kind regards, David
  • Release implementation

    sharepoint collaboration question announcement workspace
    4
    0 Votes
    4 Posts
    6 Views
    E
    use subversion for your cm tool, you can use it from the command line, or tortoisesvn (windows gui version), or subclipse (eclipse plugin). use trac to track progress, tasks, bugfixes, user docs etc... http://trac.edgewall.org setup subversion and trac on an apache webserver, and you should have no problem. make sure you identify two people to handle all the CM work, and appoint them as your official "build-meisters", set up nightly cron jobs for builds, etc. have two branches a delivery branch, integration branch, and make sure the developers create their own branches when they work on code. set periodic dates for builds, do code reviews and make sure your developers unit test their stuff before checking their code into to the integration branch. test everyones stuff together using the integration branch...make corrections, retest, repeat until you have something good...then merge it into the deliverable branch. reset the integration branch from that point on the delivery branch... and repeat... make sure the developers continually grab the latest from the integration branch if their stuff doesn't make the deadline or cut... they need to always play with the current stuff.. kind regards, David
  • Best tool for UML Deployment Diagram

    html com sysadmin tools question
    3
    0 Votes
    3 Posts
    3 Views
    E
    Try downloading some free visio templates -- make sure they are UML v2.0 rational rose sucks and it's way too expensive for most teams to justify the cost if u use eclipse there is the umlet plugin and you can run it standalone as well...you have to get used to it's odd user interface, but if you have the true personality of a software engineer you can figure it out...it also outputs your model diagrams in many file formats...it's free too. i personally like Artisan RT studio, but again it's tough to justify the costs of these tools. visio is virtually free if you have win-doz office junk... check out the omg sysml stuff too...it's interesting, and offers other diagrams as well kind regards, David
  • Low Level Design

    design
    2
    0 Votes
    2 Posts
    3 Views
    P
    This is just asking what you considered in your design, and why you chose the particular design you did. It's normally in there to show that you did consider alternatives and the design isn't just something that you threw together. Deja View - the feeling that you've seen this post before.
  • Message on user ingerface!

    database com design help question
    2
    0 Votes
    2 Posts
    2 Views
    P
    The convention for a file copy is to show a file being copied animation, and to provide feedback on the file being copied. For instance, if there are multiple files being copied you would normally tell the user where they are in the copying process, e.g. Copying 10 of 24 and it is common to show a progressbar detailing performance. Anyway, the standard way to design your application is to write the messages out in your own language (stored in a resource DLL), and then have someone translate the commands out in the relevant language. When it comes to standards, take a look at what the tools you use on a day to day basis tell you. What does Word say in these situations? Visual Studio? Explorer? It's generally best to follow what others have done rather than reinventing things yourself. Deja View - the feeling that you've seen this post before.
  • The "EGG" task

    help question
    2
    0 Votes
    2 Posts
    3 Views
    P
    Gosh. Cross posting homework. Excellent. Deja View - the feeling that you've seen this post before.
  • Mass mail sender app

    html design sysadmin question
    2
    0 Votes
    2 Posts
    5 Views
    L
    cross posting is discouraged here ( that means you posted this same message in more than one CP forum) 2) people don't like SPAM including the people at CodeProject However hope is not lost, since you think this is a "Web App" with any luck you will never get it to work.
  • Help on Design for Cross-Platform Application

    database csharp c++ java design
    6
    0 Votes
    6 Posts
    5 Views
    E
    How about FireBird[^] for the database layer, that's cross-platform and allows you to use SQL.  It has interfaces for Mono & MS.NET as well as C, C++ etc.  The upper language choices are really a matter of preference.
  • getting infragistics

    csharp com help question announcement
    4
    0 Votes
    4 Posts
    4 Views
    O
    He wants it free ... i.e. warez. Not only that but a cross post hehe.
  • Applications communication

    csharp c++ asp-net question
    2
    0 Votes
    2 Posts
    3 Views
    L
    You need Interprocess Communications[^]