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
  • SiteMaps a lost cause!

    question csharp design help
    5
    0 Votes
    5 Posts
    15 Views
    I
    The fact that they used a provider pattern makes sense and I have no problem with that aspect. However, the idea that the component can only model Trees is a bit limited. Many sites typically have more complex connectivity then a tree is able to describe. Any resolution to this will always seem forced and cumbersome. :| nothing
  • SSL and __VIEWSTATE

    sysadmin security question
    4
    0 Votes
    4 Posts
    13 Views
    D
    Keep in mind that viewstate also slows down the transmission time and increases the bandwidth usage because it makes your page larger. .NET holds the viewstate information in a hidden form field so the text for that data is sent on each page request. Because of this, the user could try to modify the viewstate and send it back - so keep sensitive data in the session or in some data store on the server. Dirk Watkins
  • network simulator aches

    csharp c++ sysadmin
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • PPT image problem

    help
    2
    0 Votes
    2 Posts
    8 Views
    P
    Suggesting you to post this question in General discussions[^] forum. Prasad Notifier using ATL | Operator new[],delete[][^]
  • Design a mathematical module

    design regex architecture help question
    5
    0 Votes
    5 Posts
    14 Views
    D
    Take a look at Math.Net[^]. "Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
  • Best book for Design patterns.

    csharp learning design tutorial question
    13
    0 Votes
    13 Posts
    36 Views
    D
    Hi karam chandra, Finally i got the book from here. It's free. If u find useful. regards, Divyang Mithaiwala Software Engineer
  • n-Tiered - .NET across multiple servers [modified]

    database csharp com sysadmin
    7
    0 Votes
    7 Posts
    20 Views
    O
    Isolating the business logic behind the firewall may be an attempt to reduce the attack surface of the application. The risk is that once a web server is attacked, the attacker can then discover the attack path through the firewall. Another reason to use an n-tier infrastructure is to reduce the load on the web server. The risk in this scenario is that a performance bottleneck can be created between web server and app server by relatively slow network technology. .NET remoting does not require the HTTP protocol, and therefore, has no requirement for a web server. One way to think of .NET remoting is an evolution of the COM/DCOM model. The risk here is that you are restricted to Microsoft technologies on both communication endpoints. Web services requires a web server, and is restricted to the HTTP protocol. If you really want to start to understand the ins and outs of n-tier development in relation to .NET, locate a copy of "Microsoft® .NET Distributed Applications: Integrating XML Web Services and .NET Remoting" by Matthew McDonald copyright 2002 It references ASP.NET 1.x, and it provides examples of how to evolve a VB6/COM application to .NET. This is an easier said than done process. HTH, onemorecoder
  • 3tier app in vs 2005

    csharp database visual-studio winforms wcf
    8
    0 Votes
    8 Posts
    24 Views
    A
    thanks, remoting is the answer I was looking for. Anyway, with framework 3.0 maybe the right way is to use WCF windows communication foundation that seems to combine webservices and remoting in a unified skeleton thx
  • From Database To Object Oriented

    database help csharp oop
    4
    0 Votes
    4 Posts
    11 Views
    D
    What you describe is a tree. Depending on the direction you want to go in the tree you should choose 2 or 3: 2 if you go from the root to leafs (you have the house and you want the rooms) or both ways (previous + you know the room and want to find the house it belongs). Choise 3 is more complete and memory used to keep the pointer to house is small 4B. Usualy I do like this: a row in a table contains all the members of a class - each row = object; procedures that insert/update/delete in the database are methods of the class, each method calling corresponding stored procedure. Columns (members of classes) are accessed (read/write) through properties or functions offering a good consistency check even from the input of data.
  • SSL and ASPNET session id cookie

    security question asp-net
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Deployement strategy

    workspace csharp java dotnet business
    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • which design pattern to use?

    design regex architecture question learning
    2
    0 Votes
    2 Posts
    8 Views
    L
    Maybe the "Course" class has a collection of Course class references or Course class unique id's. led mike
  • 0 Votes
    6 Posts
    19 Views
    J
    Hi Dan, Yes, you are right with the first one: I mean web server as in Apache, IIS etc. The second one I simply mean a server application that can render the RIA client without running on a web server. I will try to explain be telling you about the scenarios I see: Scenario 1 (main): The user downloads the application and deploys it on a webserver, so that the application is available for all users on the intranet (through the RIA client) Scenario 2: The user which will be one that decides that the application should be downloaded and tested on the company's own data before purchase, should be able to deploy it on his own computer/laptop as a standalone application with a database connection to the company's own production/test databases. This computer/laptop will normally not have any webserver locally installed and we cannot expect that the user will be interested or have the skills/patience to install the local IIS (or other Web server) before he can test the application. Therefore the application must be able to be deployed as a "standalone" configuration without a webserver to render the client. I hope this clarified my requirements. In the meanwhile I have found a class in .NET 2.0 (HttpListener) which can implement a web application without a web server. I appreciate more comments and ideas. Jay
  • A library/design and storage question

    question design csharp database xml
    2
    0 Votes
    2 Posts
    8 Views
    L
    http://en.wikipedia.org/wiki/Model-view-controller[^] Model The domain-specific representation of the information on which the application operates. The model is another name for the domain layer. Domain logic adds meaning to raw data (e.g., calculating if today is the user's birthday, or the totals, taxes and shipping charges for shopping cart items). Many applications use a persistent storage mechanism (such as a database) to store data. MVC does not specifically mention the data access layer because it is understood to be underneath or encapsulated by the Model. led mike
  • Fat file system design

    design learning
    2
    0 Votes
    2 Posts
    10 Views
    S
    There was a book which presented a DOS compatible operating system, but I think it's out of print. However, you could look here[^] where you can download a copy of the FAT32 specification from Microsoft. Steve S Developer for hire
  • A Question of Object Architecture

    architecture question csharp sales help
    9
    0 Votes
    9 Posts
    26 Views
    C
    Roger Wright wrote: full of unused fields, duplicates, and unnecessary data I've worked with a dozen or so elec utilities, EVERY one had the same issues, as well as unfilled fields - which can be the most frustrating. Roger Wright wrote: The more important task is probably to clean up the mess in the GIS schema Another common phrase heard at utilities everyware. :) Roger Wright wrote: should probably be treated as a super-inventory I view the GIS as the asset management system vs the inventory management system you're developing. The main problem i've seen with IT systems developed in utilities is one that is forced on management. Usually the initial project is funded by capital funds and can be as big as needed, but after that any further work is funded by the yearly O&M budget which is much smaller. As a result they try to cram everything they can think of in the initial phase. Unfortunately after a year or so, upon reflection, it is obvious that a lot of things could have been done better, but now there are stuck with a bad design that they have to work around for the next 5yrs - at which point they replace the GIS again :) ... and so the cycle continues. Roger Wright wrote: standard drawings in AutoCAD format Also fairly common. As you mentioned it should be fairly easy to link these to a db. What you really want to go for though is having a design interface in the GIS that allows your engineers to place prelim plant and be able to query the standard drawings. This GIS interface would also give the eng the ability to select (by region or piece) the prelim plant and generate a BOM. What i'm trying to point out is that the acad-db combo is just a data source, it's useless on its own, you still need to design/develop the interface to it in a GIS design module. This design interface will likely be (should be) different than that used by the digitizers to place designed plant. What GIS are you using (ArcInfo, Smallworld, AutoMap, Intergraph, ...) ? If you have any questions, or want to bounce some ideas around feel free to post them or email me, i find all this stuff fascinating (well i guess i should, it's my job as well :)). ...cmk Save the whales - collect the whole set
  • 0 Votes
    1 Posts
    4 Views
    No one has replied
  • NDIS Miniport Driver

    help wpf wcf hardware question
    2
    0 Votes
    2 Posts
    6 Views
    P
    Errm. This is the wrong forum. It's about application design and architecture. the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer Deja View - the feeling that you've seen this post before.
  • DIME, Binary SOAP - sending email with attachment problem

    wcf xml help question
    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • Questing regarding a triggered execution system

    question html database design tutorial
    2
    0 Votes
    2 Posts
    7 Views
    P
    This article might be of some help. Razor Framework.[^] the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer Deja View - the feeling that you've seen this post before.