architecture

Open source software for building/designing a house?

Are there any open source tools for building or designing houses? Does it have many features, like calculating costs or simulating extreme weather conditions/aging, etc? I had the idea to start up a project like this, or join it; I think it would be really neat, but I couldn't find anything on it. ...

Storing Images for Multiple Users

The platform isn't really as important as the theory. For the record, it is ASP.NET (C# on 3.5 SP1), SQL Server 2005. For the sake of argument, I have unlimited space (filesystem and database) and unlimited bandwidth. I am working on a project that would allow multiple users to upload their own images which could be managed by that us...

What's the best way to structure a project ?

Hi, I was wondering about how I should structured my projects. We have some projects that are (re)use in other projects. I mean, our data project and model project are use in one-to-many other projects. What I really what to know is how to structure this type of project, what the best way to name it ? In a standard 3-tier applicatio...

Is "Dying is Awesome" preferred?

Recently I attended Jeffrey Richter's training courses about .NET. He mentions one strategy of coding "Dying is awesome". That is, don't write "catch (Exception ex)" even at the root of program or event loop. If some exception thrown that is not handled, just let the process die. I'm not sure this is right. Personally, I prefer to have...

how do you folks handle complex state situations where order of operations is important?

Hello, I'm getting in to a situation where I have several interacting widgets (on a web UI), all of whom can be in multiple different states, and whose behavior depends on others the others. I'm running in to situations where, for example, a set of data gets sorted twice, or the data gets displayed before it's sorted, rather than the oth...

Big class decomposition in Java

I have just started to learn Java and is curious is it any good practice in Java for good object decomposition? Let me describe a problem. In big software project it's always a big classes like 'core' or 'ui' that tends to have a lot of methods and are intended as a mediators between smaller classes. For example, if user clicks a button ...

Software Architecture and Database Design: One database/web application per each company or one database/web application for all companies?

Hello gurus, I'm designing a web driven SQL database application from ground up. The application will manage information for clients that are in the same type of industry. In other words, the information (entities and relations among them) regarding each client does not vary too much from one to the next. However, the volume of the i...

Addressing scalability ,performance in a .net web application

Hi, I'm working on a .net portal which would be having lots of concurrent users. so scalability,performance need to be addressed in the design and architecture. We plan to use load balancing in the application. Keeping this in mind,what would be the best way of communicating between IIS web server(hosting aspx,aspx.cs files) and applic...

Two projects referring to one project.

I have a project Foo#1 that refers to a project Utilities#1 I want to add a new project Foo#2 that inherits from Foo#1. I need the functionalities of Utilities#1 and also want new functionalities that are specific to Foo#2. What kind of project layout/architecture should I approach for the above solution? I can keep Utilities#1 common...

Space-based architecture?

One chapter in Pragmatic Programmer recommends looking at a blackboard/space-based architecture + a rules engine as a more flexible alternative to a traditional workflow system. The project I'm working on currently uses a workflow engine, but I'd like to evaluate alternatives. I really feel like a SBA would be a better solution to our b...

How do patches and service packs work?

How do patches or service packs work? I don't know how to explain my question but I will give a try Take Windows for example. It has files which altogether consume 100s of MB. Now a single service pack (may be 300 MB file) updates the whole windows OS. Similarly I have seen updates happening for softwares like adobe reader etc. In all ...

is my php architecture solid?

I'm trying to design a solid server side architecture and came up with this : http://www.monsterup.com/image.php?url=upload/1235488072.jpg The client side only talks to a single server file called process.php, where user rights are checked; and where the action is being dispatched. The business classes then handle the business logic an...

Structuring a database where products have multiple packaging types from multiple vendors

Let's say I have a Products table, and there is a "default" unit the product is sold in (EA let's say, for individually). The product is also available from some vendors as BX (box) and CT( carton), each containing a certain amount of the "default" unit (in our case let's say a box is 6 and a carton is 12). The product has a regular ...

Subclassing classes with completely independant inheritance trees that cannot be modified

How would someone join two classes each with independant inheritance trees to bridge context boundaries, given the restrictions that nether class's inheritance trees can be modified to inherit from the other ie if a item that is an entity saved to a database lets say public class Stockitem : StockItemBase { ... } needs to be display...

What do you think of the "Don't catch unexpected Exceptions" best practice?

I've read a lot of times that one should never blindly catch exceptions. Some people say it's ok to wrap your Main() into a catch block to display errors instead of just exiting (see this SO post for example), but there seems to be a consensus that you should never let your program running if something unexpected occurred, since it's in ...

Huge web sites

Huge web sites such as facebook, and wikipedia, are they entirely programmed in php? Or do they use some other technology behind the scenes If you know about other huge sites, could you please add site name, url, and technology used? ...

WPF ControlTemplate How to

I am very new to WPF, about 4 hours new. I am coming from ASP.net and Masterpages. I was looking at examples of Control Template that can used to template a window so all windows look the same. Other post Can some direct me to an example of how it is accomplished or sample code from start to finish? Second part: Is the ControlTemplat...

Which language would you recommend for me to build a webportal?

I'm very new at webprogramming, but got quite a lot of experience building applications with C++ and C# (winforms and WPF) on various OS'es (Windows, linux, vxworks). Currently Im also taking courses in Java and various client-side web-languages (html, css, xhtml, javascript etc.). Now, some friends of mine decided to build a commercial...

Access the same running code from a Windows Service and a console application?

I have an application that is built as a Windows Service and a c# library assembly (.dll.) In order to manage and maintain this service, I'd like to add the ability to run a command-line application that tells the last time the service archived files, the next time it's scheduled to do so, the status of the last run, and the location of ...

Does n tier architecture break OO concept of encapsulation

I have an n tier application with presentation layer, business layer, DAL and business objects layer. Separating the objects and the operation written on the objects break the object oriented concept of encapsulation. ...