architecture

Event driven architecture...infinite loop

I have an event driven architecture where A is waiting for a change from B and B is waiting for a change from C and C is waiting for a change from A, forming a cycle. Now, if B changes, then A fires an event to C, which fires to B, which fires to A, which fires to C...ad infinitum. I can change my program right now to not contain thi...

When should I use an object database?

I have been using relational databases for some time now and recently came across a different type of database: object database. One of the products built around this idea had a description: A scalable, "post-relational" database with a multidimensional data and application server for distributed web applications. This makes me wonder,...

Are there any differences between partitioning and layering terminology?

MSDN have some word docs on how to correctly partition and layer an application. However, what, if any, differences exist between partitioning and layering? Thanks ...

Fastest integer type for common architectures

The stdint.h header lacks an int_fastest_t and uint_fastest_t to correspond with the {,u}int_fastX_t types. For instances where the width of the integer type does not matter, how does one pick the integer type that allows processing the greatest quantity of bits with the least penalty to performance? For example, if one was searching for...

Question about Factory Design Architecture

Consider this example The Interface interface IBusinessRules { string Perform(); } The Inheritors class Client1BusinessRules: IBusinessRules { public string Perform() { return "Business rule for Client 1 Performed"; } } class Client2BusinessRules: IBusinessRules { public string Perform() { re...

Designing a generic cancellable async operation interface

I've been considering a general purpose generic / cancellable interface for asynchronous request / responses. The requirements are as follows, it must: Support asynchronous calls Be cancellable Be generic Support request / response Support either returning in the current thread or processing the response in another response So here's...

Html Browser: best practice to pass user SID to server-side

Legacy application (win32 clients + centralized db) has 40+ installations in a company & lacks the ability to be extended by plugins. Legacy authentication system relies on computer name, user name & user SID (there is no single DOMAIN server in a company, there are dozens of workgroups). I'm going to build stand-alone intranet site th...

What's the benefit of using another model with Entity Framework in DDD

When looking at some application designs for DDD, I see that the objectgenerated from the entity framework are only used to access the data store. Once the data is loaded it's mapped to another POCO object defined in the model of the application. Is this just good design and is done for the sake of design? Or is there some added value ...

What exactly is EPIC architecture?

EPIC- Explicitly Parallel Instruction Computing How is it going to make RISC and CISC obsolete? Came across this paper ...

Architecture for application that supports multiple user-input properties

I've been puzzling over how best to architect an application I'm due to begin work on shortly and nothing simple is coming to mind. Maybe someone else can see something that I'm missing. The objective is pretty simple -- construct an app in C#/WinForms to allow the user to specify a file to be loaded, then visualize that file's content...

Can an ORM be use for a system where the access is thru methods that returns DataTables ?

We have a system (third party) where we access a web service to read data from its underlying database that returns .Net DataTable objects and in some cases even DataSet. The system sometimes (depends on the web method) accepts the modified DataTable/DataSet to update/insert/delete data. Other times, some web methods only have paramete...

CodeDomSerializer Serializes a new Instance of the user class when changing Designer Laguage.

Hi, I have a usercontrol “DataDesigner” that is more or less like an DataSet Designer. In this Control I define the Database Structure in my own classes. Ever Form has a FormDescriptor, each FormDescriptor can have multiple TableDescriptor and each TableDescriptor can have multiple FieldDescriptor. All of this classes have a lot of ...

Ways to handling huge transactions on any database?

I have a data transformation product, which lets one select tables in a database and transform row data in the source database to a destination database. This is handled in the current product (java based workbench and engine) by processing 1000 rows at a time and doing it 10 threads parallely. This approach works fine on smaller data ...

RIA Services and the BLL

I'm currently looking at RIA services, in order to speed development of Silverlight enterprise applications. It's clever and powerful, but it seems to me that you are invariably going to collapse your business logic into the presentation layer. Is there any place for a classic BLL (business logic layer) when using RIA? Update: Did some ...

Best Design Pattern for Generating the UI dynamically

I am planning to generate the UI from database. The platfrom will be ASP.net. Can anyone help in identifying the best design pattern/Architecture that suits for generating the UI and events dynamically. ...

Is R "that bad" that it should be rewritten from scratch?

In the past week I've been following a discussion where Ross Ihaka wrote: I’ve been worried for some time that R isn’t going to provide the base that we’re going to need for statistical computation in the future. (It may well be that the future is already upon us.) There are certainly efficiency problems (speed and memory...

When is domain-driven design adequate?

Most books about DDD talk about aligning the tech to the business. So you have orders and payment business rules and such. What if I write a technological applicaiton. For example if I author a visual studio like app. Is DDD not relevant, or can I say that my domain is "application development" and identify the players ("solution", "fil...

What is my WCF application architecture and configuration?

I am going to develop a WCF service that connects back-end system with two e-commerce websites. Back-end system sits behind the internet as opposed to other components. Each website has a SQL database with identical schema. The back-end system acting as inventory master will be the service consumer and will be pushing product data to eac...

Frontend architecture

For now we have very heavyweight frontend (frontend+backend in one application actually). Frontend contains all the logic: UI, business logic, persistence logic and so on. It's very complicated and hard to maintain, because of some platform problems (it's written in PHP) like absence of connection pooling, for example. So I came up with...

A way to execute the backend code in the web browser instead in a web application?

Is there a way to execute the backend code (ruby) in the web browser instead in a web application (rails)? Cause I wonder why all the code should be executed in the server, isn't it bad architecture. It's like the same concept of SVN, it is very dependent of the server, rather than having a more distributed architecture like Git, every...