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
  • Challenges in storing files in ftp path

    security question
    4
    0 Votes
    4 Posts
    6 Views
    L
    sexy girl,video for adult , more than 30 videos,just for make money from sharecash.org while you download the files.http://sharecash.org/download.php?file=2531204
  • Nekustamais īpašums

    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Employee Portal

    business asp-net database com design
    8
    0 Votes
    8 Posts
    0 Views
    R
    I was being sarcastic. BTW: you shouldn't put your email address in a post: you'll get spammed. "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me
  • Diagramming Standards?

    database xml question
    8
    0 Votes
    8 Posts
    0 Views
    N
    UML has evolved since it was first defined. It is a very powerful tool. Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
  • 0 Votes
    4 Posts
    0 Views
    L
    Ambe wrote: I have designed a tree view with say some 5 children to it, each having the option of getting deleted. At the same time for the whole tree view, I have the option of Saving the changes performed to the tree and Reset them to previous state.   I need a suggestion, is it wise to restore a deleted child, during the RESET of the tree view? I can foresee a design flaw in this. Not during the reset, but after. I'm usually copying the complete internal state into a Memento-pattern, simply restore from there when required. Yes, users can undo after they saved, marking the document dirty again. Bastard Programmer from Hell :suss:
  • 0 Votes
    28 Posts
    0 Views
    R
    I still missed the big point but if you do get around to writing the article, It would be interesting. I guess your talking about some kind of interface that both person and customer implement. Anyway I've just spent the last month discovering values such as the "delivery contact name" being stored in the weather_sunny field. :mad: So I'm a bit paranoid about such things at the moment. "You get that on the big jobs."
  • Best place to encrypt passwords

    question design algorithms business
    18
    0 Votes
    18 Posts
    0 Views
    W
    CDP1802 wrote: At work it is just as boring for me Sorry to hear that. :(( I like the controls that you have made for your UI, really cool.:cool: You're character names are nice, especially their friends(James Bond - Walther PPK, Vodka - Q - None) :laugh: You should keep us posted on what is happening with the project. When I was a coder, we worked on algorithms. Today, we memorize APIs for countless libraries — those libraries have the algorithms - Eric Allman
  • Design decision in a larger class hierarchy

    design architecture workspace csharp wpf
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Sliding Scale Solution

    performance database sales help tutorial
    12
    0 Votes
    12 Posts
    0 Views
    L
    No problem. And your result is correct; you should have done it by hand though in order to learn something. There basically are two approaches (although they do in essence the same thing): 1. Manually, write down the three (or N) equations. Then replace one by a linear combination of (some of) the others in such a way that one variable disappears; if you do that for all but one of the original equations, always getting rid of the same variable, you end up with n-1 equations in n-1 unknown values (and one of the original equations); you solve that in the same way, so iteratively you get at a single equation, a single unknown. 2. Theoretically, and progrsammatically, you would formulate the set of N equations using a N*N matrix (in the example the coefficients would be 1,1,1, 1,2,3, 2,3,5) and a size-N array with the known values. Then solve that with one of the known algorithms, Gauss-Seidel is one way, LU-decomposition another (it basically does what the manual approach does, with the added benefit that the intermediate steps get recorded in the L- and U-triangle you obtain. Using those, you could quickly solve any similar problem having the same matrix coefficients but different known values. :) Luc Pattyn [My Articles] Nil Volentibus Arduum
  • Design Quandary - v2

    workspace design regex discussion
    5
    0 Votes
    5 Posts
    0 Views
    realJSOPR
    GParkings wrote: I forget what technology you are using It's WinForms. GParkings wrote: as it is, how are you enforcing the behaviour of selecting 1 colour from 2 lists? and would a colour palette of some sort not be more appropriate? I pass the entire list of available colors to the form. Each color item has a flag that indicates whether it was an environmental match. All environmentally matched colors go in the first color listbox, and the rest go in the bottom one. When one is selected from either listbox, the other listbox's selected item is cleared. I want the user to be more apt to select from the environmental matches (that's the whole point of the app, afterall), so it's placed above the remaining colors listbox. I've got it pretty much wired up at this point, and it's a lot cleaner than what I tried to do before. ".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997
  • Design Quandary

    design regex discussion
    17
    0 Votes
    17 Posts
    0 Views
    P
    Sorry, just got back from lunch. Anyway, what you have got there seems a reasonable compromise. Forgive your enemies - it messes with their heads "Mind bleach! Send me mind bleach!" - Nagy Vilmos My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility
  • 0 Votes
    10 Posts
    0 Views
    S
    There are some software design practices available, some of them are related to the industry that the applications are designed for, for instance there are specific IEEE standards the apply to medical devices. As for standards specific to documentation I'm not familiar with any standard, as long as the software practices are applied correctly. However a good luanching point would be a site such as the IEE computer society. Here they provide some good information. http://www.computer.org/portal/web/swebok[^] The FDA also provides some guidance as to what should be documented for software requirements and design descriptions. Here is a link to a pdf file from the FDA: General Principles of Software Validation[^] Cheers! It was broke, so I fixed it.
  • Code Signing

    cryptography
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    3 Posts
    0 Views
    L
    Homer77 wrote: Seems kind of messy so i wonder how others have dealt with this scenario Normalization, to BNF (3NF+); following those steps always leads to a decent relational design. Bastard Programmer from Hell :suss:
  • SOA design tools

    design tools question
    2
    0 Votes
    2 Posts
    0 Views
    P
    At present there are no established tools available for SOA design. IBM has a tool but dont know how successful it is. This may be an interesting read for you: http://soadecisions.org/soad.htm[^] Eclipse also has a product on this: http://www.eclipse.org/stp/[^] I have not used a pure SOA design tool as such, still using the CASE\UML tools to define the design. I believe it would still take some more time to have a well defined SOA tool.
  • Need suggesion in deciding a software architecture

    c++ com regex architecture help
    3
    0 Votes
    3 Posts
    0 Views
    P
    Thanks
  • To Link or Not To Link? (Question of Efficiency)

    help question json lounge
    9
    0 Votes
    9 Posts
    0 Views
    J
    Xpnctoc wrote: I also did specifically mention video games and real-time simulations. amic calls. Could be mistaken though. Presumably you are familiar with 'video drivers' on PCs? The things that directly drive all the video on the box. They are pluggable components in the OS.
  • Website design help

    python database wcf design help
    6
    0 Votes
    6 Posts
    0 Views
    D
    Is replication an option in this case? Hopefully this is ok. If not, sorry. http://www.sql-tutorial.net/sql-replication.asp[^]
  • RE:Design website

    com design performance
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • About designing for "change"...

    business design architecture question
    14
    0 Votes
    14 Posts
    0 Views
    G
    I would say that the book is correct on the assumption that the requirements analysis is of a suitably high standard to correctly ascertain 'future-proofing' requirements. By that, i mean: If you have spent enough effort in requirement analysis to be confident of where change is and is not a risk and to what degree change may occur and have subsequently included specific requirements for change 'suitability' then by all means code to these requirements alone. If, however, you have vague and ambiguous requirements that are unlikely to have considered future requirement changes, i would recommend erring on the side of caution and spending a bit of extra effort to make the design as flexible as possible But as someone else has pointed out, you deliver what you are contracted to deliver. As developers we have an obligation to advise on the best course of action when setting out requirements and, if we feel there is need to facilitate future changes, this should be pointed out tot he client. If the client can be persuaded then, effectively, the requirements have been updated and you are still following the book. If the client declines, well you did your best but its their (now informed) choice. That said, unless the client has stuck their oar in as to how the technical design should be, there is nothing to stop you 'choosing' to implement a somewhat 'future-proof' solution (in terms of code layout, don't go slapping in superfluous functionality) if it does not impact your budget/time constraints. In most cases designing code that facilitates change is synonymous with designing code that facilitates maintenance and is, therefore, good practice regardless of your change-supporting requirements