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
  • Tool (and code) for Rotating/Shrinking multiple pictures ?

    question learning
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    4 Posts
    0 Views
    L
    abmv wrote: do u mean ldap querying? I was thinking of console-applications, running in a terminal. With AD, you're referring to the AD-datafile, not a directory-structure on the server? :) I are Troll :suss:
  • Practical steps for using Xml in an application?

    database xml design hardware json
    3
    0 Votes
    3 Posts
    0 Views
    C
    Okay, it's as I thought. Xml helps via common parsers, but it doesn't do much for discovering what's in the file to begin with - you just have to know. Or, for that matter, you have to care. thanks Charlie Gilley You're going to tell me what I want to know, or I'm going to beat you to death in your own house. "Where liberty dwells, there is my country." B. Franklin, 1783
  • Using DataTables against arrays

    csharp data-structures question
    3
    0 Votes
    3 Posts
    0 Views
    J
    Then I will study Generic.list first. Thanks for your reply.
  • Design & Architecture Help

    csharp database design asp-net sql-server
    2
    0 Votes
    2 Posts
    0 Views
    D
    And don't cross post in multiple forums. A guide to posting questions on CodeProject[^] Dave Kreskowiak
  • tool for real time graph plotting..

    csharp data-structures performance help question
    2
    0 Votes
    2 Posts
    0 Views
    L
    jainiraj wrote: I want a tool to plot real time graph for .net platform .NET isn't a "realtime" platform, nor is Windows. jainiraj wrote: The data which has to be plotted is continuously coming in some time interval.Is there any tool available? Write an application that handles the communication and stuffs the data in a queue. Have another one draw some nice graph using that data. There should be some articles on charts. Bars or pies? jainiraj wrote: Also Performance issue is there.Performance also matters when I am using the tool. Simple; don't use VB6 :) As a reminder; cross-posting isn't a nice thing to do. I are Troll :suss:
  • Modularizing Help

    help tutorial question c++ design
    4
    0 Votes
    4 Posts
    0 Views
    Richard Andrew x64R
    Aaronov wrote: What's an IPC? Inter-Process Communication Pipes, mailslots, memory-mapped files.....
  • Job Application Design

    database design discussion announcement career
    6
    0 Votes
    6 Posts
    0 Views
    H
    Hi, The system is already designed and almost going to be finish... from our experience with many clients when we set with the HR team and take all thier requirements. Yes, it is a standard procedures. Job Seeker Register -> update his profile (his personal details, contacts and address) --> build his cv (using cv builder) or upload a document (CV). when he attempt to apply he either apply with his current CV or upload new one. this standard functionality is already taken into the account of the system. What i wanted is just to collect thouhgts and feedback. But i raise just one point which is: when a job seeker update his CV using CV builder tool. Technically, he his editing the current record not keeping it as an old version CV and building a New CV from scratch (Adding new Record.). And whenever he want to apply with different cv he can do: 1. upload new cv when he attempt to apply for job (this is the easy way) 2. using cv builder to build a new cv (this will overwrite the existing one) then apply with his curent updated cv. that was my point bcz some of our client asked for copying the entire CV records againest the job and keep the orginal one unchanged. We are trying to come up with a general job application that fits most requirements. the point i mentioned. i felt it is not right. Hussain Mohammed Saleh Attiya ISP Technical Manager Atyaf Telcom - Bahrain
  • What tools do you use to design?

    design hosting cloud tools question
    12
    0 Votes
    12 Posts
    0 Views
    L
    No I didn't laugh. When needing rough sketches in a soft copy, I use MS Excel and MS Paint. The cell formatting in excel saves me the trouble of aligning text, filling color etc in paint. Paint is just to cut the big screen capture, organize the boxes and other things like lines etc. I have a couple of paints running. People may find this unproductive but they got to use it to see it. ...byte till it megahertz... my donation to web rubbish
  • 0 Votes
    2 Posts
    0 Views
    S
    struct IParameter { int m\_ID; virtual ~IParameter(){} }; class IParameterSetter { public: virtual ~IParameterSetter(){} virtual int SetParameter(IParameter \*pParam) = 0; }; class IFactorySpecific { public: virtual void Execute()=0; }; class ISubjectExecutor : public IFactorySpecific, public IParameterSetter { public: enum PARAMETERID { ID\_CLSID, ID\_Guids }; struct CLSID : public IParameter { CLSID(){m\_ID = ISubjectExecutor::PARAMETERID::ID\_CLSID;} int a; ..... }; struct Guids : public IParameter { Guids(){m\_ID = ISubjectExecutor::PARAMETERID::ID\_Guids;} int x; ...... }; }; class IWin32Executor: public IFactorySpecific, public IParameterSetter { public: enum PARAMETERID { ID\_FilePath, }; struct FilePath : public IParameter { FilePath(){m\_ID = IWin32Executor::PARAMETERID::ID\_FilePath;} char cszFilePath\[260\]; ..... }; }; class COMExecutor: public ISubjectExecutor { public: //void setCLSID(); //void setGuids(); int SetParameter(IParameter \*pParam) { switch(pParam->m\_ID) { case ISubjectExecutor::PARAMETERID::ID\_CLSID : ISubjectExecutor::CLSID \*pData = (ISubjectExecutor::CLSID \*)pParam; //...continue using pData, like pData->a return ...; break; case ISubjectExecutor::PARAMETERID::ID\_Guids : ISubjectExecutor::Guids \*pData = (ISubjectExecutor::Guids \*)pParam; //...continue using pData, like pData->x return ...; break; } } virtual void Execute(){.........} }; class Win32Executor : public IWin32Executor { public:
  • Getting the right stuffing.

    data-structures question
    2
    0 Votes
    2 Posts
    0 Views
    M
    Deciding if you want your server error (WCF) reported to the client. If you are passing objects/lists they will be strongly typed, if you need to pass back an error object then you are passing vanilla objects. We decided what breaks on the server stays on the server. Error trapping in general, you do NOT want to have to touch every method and class after you decide on your strategy. Never underestimate the power of human stupidity RAH
  • 0 Votes
    7 Posts
    0 Views
    K
    anjelone2 wrote: That is what relational databases are made for and allows scalability without much thought. It is also just good programming practice. Surely this alone is enough to win the argument? The counterarguments are pretty much just rubbish, as the other posters have just pointed out: anjelone2 wrote: it makes joins to the main table lengthy, especially if there are 6-10 lists to join to This is particularly offensive, anyone arguing this doesn't understand the nature of relational databases properly or is just plain idle. There is good, solid maths behind database design, if you understand this and apply it correctly your system will be much more scalable and robust. The only real problem with relational Databases is how to translate the real-world information into the abstract relational world, but all IT systems (except those modelling abstract systems themselves) inherently suffer from this problem. Sort of a cross between Lawrence of Arabia and Dilbert.[^]
  • 0 Votes
    3 Posts
    0 Views
    S
    you can store the value in a SQL Server Database table. Cache the data in application startup using ASP.NET cache engine. Make a SQL Server invalidation cache dependence over the cache, so whenever user changes the value in the table the cache gets invalidated. Repopulate the cache when there is a change in the underlying data table in SQL Server. So you are not pulling the data from SQL Serevr each time and only refresh the data in the cache whenever there is a change in the underlying data...as well as there will be no application restart requirement...a the cached data gets refreshed whenever there is a change in the underlying table....for information on SQL Server invalidation please refer the following link http://www.wrox.com/WileyCDA/Section/Using-the-ASP-NET-2-0-SQL-Server-Cache-Dependency.id-306459.html[^]
  • Search and Replace

    c++
    5
    0 Votes
    5 Posts
    0 Views
    P
    Use a regular expression to do this. It's hardly something for this forum though, is it? I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be Forgive your enemies - it messes with their heads My blog | My articles | MoXAML PowerToys | Onyx
  • Best UML Tool for Class Diagrams

    5
    0 Votes
    5 Posts
    0 Views
    P
    mohit`12 wrote: no doubt on using IBM Rational it's best in all way Dear lord no. Enterprise Architect is a much better (and friendlier) solution. I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be Forgive your enemies - it messes with their heads My blog | My articles | MoXAML PowerToys | Onyx
  • project

    design
    4
    0 Votes
    4 Posts
    0 Views
    L
    Go straight ahead and take a left. Go straight. Take a left. Go on for a while, then take a left and go straight until you find instructions written. Follow that. ...byte till it megahertz...
  • 0 Votes
    4 Posts
    0 Views
    L
    Native code will generally be faster than .NET, but of course the actual speed will depend on how well the code is writtem. Again it is impossible to know in advance which system will be better. It's time for a new signature.
  • Simple UML Question

    question
    4
    0 Votes
    4 Posts
    0 Views
    S
    classB depends upon classA [classB]-------->[classA] My Blog. My codeproject Articles.
  • What kind of Methodology more suitable?

    help question
    2
    0 Votes
    2 Posts
    0 Views
    L
    ASP.NET[^] It's time for a new signature.
  • Implementation MVC of problem

    help java asp-net architecture question
    2
    0 Votes
    2 Posts
    0 Views
    R
    I doubt that anyone will want to wade through your code on the off-chance it might be problematic. The purpose of the forum is to answer questions relating to specific issues not for peer review. "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