application-architecture

Best performance comparison website or resource for .Net Web Applications?

Hi all, I am the .Net specialist in a consultancy with many difference flavors of developers using many different languages and frameworks. Because everyone is pretty much trying to push their own agendas with our different clients in terms of what technology to propose, I'm constantly finding myself in the classic arguments with them a...

Generate webpages directly from database or cache?

[I'm not asking about the architecture of SO, but it would be helpful to the question.] On SO, when a user clicks on his/her name and clicks on "responses" they see other users responses to comment threads, questions, and answers in which they have participated. I've had the sneaking suspicion that I've missed certain responses out ther...

Logical versus physical design

I have a very general design question, but I'll frame it in concrete terms with an example. Suppose you're working on embedded software for a digital printer. The machine has 4 print heads (for each of the C, M, Y, K colors). Each print head performs the same task: fetching toner and putting it on the page. At runtime, we could organ...

Does everything go through the bus?

We have introduced BizTalk into our organization as a Service Bus, it is linking a new Web GUI to numerous existing back end systems. We have wrapped our existing systems as Services (WCF) and connected them to the BUS. We are also replacing some of the legacy system GUI's with our new web GUI (ensuring we replicate existing functionali...

Where should secondary data (such as authorization / identity) be handled in an application

When creating a website my pattern often is the following: Controllers (application services) Services (domain services, infrastructure services) Repositories Controllers talk to domain services or infrastructure services, and domain services may talk to repositories, infrastructure services will wrap things like smtp etc. Currently...

Enterprise, Systems and Application Architecture (Best Practise?)

I am currently tasked with creating a documented, consistent Architecture guide for software development. We have a lot of smart people doing the right things, but just not consistently and repeatably. We are using Microsoft’s Application Architecture Guide 2.0 as a starting point. Hence coming up with an Application Architecture is fai...

Handling multiple forms in C# app

I'm trying to modify a C# WinForms application that uses multiple forms. At startup, a login window will be shown. If the user logs in with a correct user name and password combo a form with three different tabs will be shown as a sort of administrators view. If no password or user name is supplied, a much simplified GUI will be shown. I...

What is the best way to design an application with entities that can be extended with additional attributes?

Looking for advice, links, design patterns, etc. on the best way to design an application where entities and related screens could be extended with additional attributes/related lookups via metadata/without recompile, ideally by end users. I'm thinking something very similiar to how Dynamics CRM 4.0 works with extension tables/dynamic p...

What should be included in an Application Architecture checklist?

I'm trying to come up with a checklist or set of questions/criteria to assess and evaluate proposed or emergent architectures (perform architectural reviews). What are the most important questions you ask when trying to plan, assess or review an architecture? I know this is a large topic so I'd like to constrain it to a single end-to...

Design patterns for JEE application

We are starting a new JEE project and am looking for suggestions regarding design patterns to expose the backend interfaces. It would be preferable if the backend logic can run seamlessly on Tomcat, other JEE5 containers. We are currently veering towards JEE5, EJB3, JPA and the preferred deployment platform is JBoss 5 AS. We would expe...

How should I have my game entities knowledgeable of the things around them?

Every enemy type in my game is a different class, and the instances are stored in a C array. In the main game loop update() is run for each enemy/item instance, and draw() is run. Some of the update() commands require knowledge of where the main player is. What would be the best route to get that information to the instance? I don't thin...

How to consume legacy business logic from a silverlight application?

Hello Everyone, I have an XBap system designed as a 3-layer application. The XBap client consumes the logic through a WCF Service using netTcpBinding. For easy of databinding and to be able to re use data validation built-in my business objects, I choosed to reference the business objects library from the xBap client instead of generat...

Winforms Application Architecture using LinqToSql

Hi there. I am starting a new Winforms application, and I've always used traditional ADO.NET methods in my DAL (...yes, hardcoding!) I have used Linq on many ocassions previously, but more for adhoc queries, so I have some experience with it and I loved how easy it was to write querying code. What I would like to perhaps do is replace ...

Programming design architecture for my application

I have the need from an asp.net web site to send out many SMS messages at once, and also poll a POP3 account for an incoming mail, and then SMS that out to many recipients, one at a time. The way I am thinking of doing this is a windows service that would connect to my sql back-end to see if there are SMS messages to be sent out, like e...

Windows Forms Chart Controls and Automatic Build

I ask about where and how to add those controls to a Windows Forms Project. I want to know if is considerable to create interfaces and static classes for call methods for build these controls and use extenders for data binding. Note the namespace assigned for that class : namespace SResocentroAnalytics.Controls.WinForms.Chart { ///...

IDs for Information on More Than One DB/Server

I'm working on a project that I want to have be as flexible and scalable as possible from the beginning. A problem I'm concerned about is one best described by Joshua Schacter in Founders at Work, who noted it as one detail he wish he would've planned for ahead of time. Scaling past one machine, one database, is very challenging, eve...

Are there any lightweight publish/subscribe libraries for intra-app communication?

At work the product i get to maintain has a lot of "moving parts" one of the main sticking points I have with how its architected is that should ten different locations need to know that a new item in a list is selected, a direct code path must be coded. For example in the following layout. Form1 ...

Building app to Classify / Describe Products - Overwhelmed somewhere between planning & execution

Greetings! I recently started working for a company that carries a line of 20,000 Surgical Instruments. Our data on all items is currently spotty and chaotic at best. I intend to fix this. I have been tasked with redesigning the web site. As part of the project, I'm building an app to classify and describe all products. We don't do any...

Patterns for building social network type applications?

I need to design / architect / develop a web based social network type application. Basic functionality: - users create accounts on the system - users agree to "friend" each other - users create content within system - users specifies which friends may view/edit content that they created Surely this core functionality has been cr...

asp mvc: database calls and caching, introducing a 4th entity?

Here's the architecture of my app: I have a data access layer in a seperate assembly, with a class containing methods such as List_XYZ, Insert_XYZ, Update_XYZ etc. All methods return or use objects from an object model I've created, which also resides in the data access layer assembly. Inside my mvc app, I've created views, controller...