architecture

Spring, Hibernate, Java EE in the 3 Tier architecture

Hello! I need to get a start as to where I put those technologies in the 3 Tier architecture: This is what I have... presentation layer: HTML, JSP app. layer: Java EE, Spring data access layer: Hibernate, PostgreSQL database ...

Sharing data between nodes (app servers) in cloud

I'm building a Python/Pylons webapp that has been served by single server so far, now I want to investigate how it would scale among several servers with some kind of load balancer in front. The main concern is server-side state, of course. It includes user session data, user uploaded data (pictures and the like), and cache. I want app...

Tracking changes in complex object graph

I started to think about tracking changes in complex object graph in disconnected application. I have already found several solutions but I would like to know if there is any best practice or what solution do you use and why? I passed same question to MSDN forum but I received only single answer. I would like to have more answers to lear...

How to convey the importance/role of application architecture to business heads & junior developers.

Hi there, This question is subjective and can reasonably only be answered by those seasoned developers with leadership experience and management personnel with a sound technical proficiency. For the past year I've pursued educating myself extensively in OOD to become a stronger programmer. In particular, reading and applying knowledge ...

Where do I set common data for header in Pylons?

This is rather a general question about MVC. I have a set of templates for multiple controllers and their actions. All of them inherit from a overall template that contains footer/header. I want header to render email of currently logged in user. Common task. All tutorials are too simple to have basic example of how and where do I pa...

Should we start with multiple small-grained databases for an app that may scale massively

We're developing a new eCommerce website and are using NHibernate for the first time. At present we are splitting our data into multiple SQL Server databases, divided per area of functionality. So we have one for UserInfo, one for Orders, one for ProductCatalogue and so on... Our justification for this decision is twofold really: th...

Building blocks for a mobile solution

Hi, I am completly new to mobile devlopemtn and I need to work on mobile solution sitting on top of already existing Asp.net portal. I am interested to know 1 What are the building blocks of a mobile solution? I can think of few as listed below. Please help me expand my horizon a. Authentication b. UI c. Content provider ...

A good approach to write a cms application/software

Hi Experts! I want to know some tips of good approach to write a cms application/software. Its not related to coding etc but please give tips for seo, designing architect, what could be the database model etc? ...

Design Patterns: Do you use them in your projects?

How do you decide on which design pattern to choose for? My approach to development projects has always been. Take down business requirement. Design the database. Decide on technology (This decision is almost always driven by the client.) Start developing a prototype. Get prototype approved. (iterative) Build the application. Release ...

Suitable architecture / language for sclabale twitter / facebook / myspace activity database

Quick intro I've built a system which requests stats from social network apis for 1000s of different subjects every 20mins. So I do a call to each social network for each subject. This means im making 1000s of http requests for each 20 mins slot. The results are then processed in a separate task. Current solution I'm running php from ...

WPF & MVVM : best architecture for Time-consuming search results ?

I am designing the architecture for a module where a search takes place. the search takes some time, and I would like to have the UI to be responsive, so I get to delegate the retrieval of the data to a class that will do the search on a separate thread. Then, I can think of two options : either 1° : the search method returns a view...

programming language with granular method and property access

Hi, imagine something like this: import class B.*; interface A supports A.testSum { int sum( int a , int b ) access from B.calculator; testSum() { Assert(sum(1,1)==2); } ........ class B ... { void calculator() { A.sum(3,5); //ok } void someOtherMethod() { A.sum(0,3); //compile error } the idea of the "supports" is s...

GUI: Decoupled view and design patterns for RIA

I made some GUI desktop applications on my first years of development, but my experience and practice have changed, so now I'd like to retake this subject with better knowledge. Most of my experience has been web since then. I've been reading about GUI Architectures, and several related questions here on S.O.. I know I'm still not in ...

How can DDD be applied to smart clients?

Almost all examples of DDD within the Alt .NET community are applied to web development; what I would like to see are some examples of DDD applied in scenarios where the client handles most of the business logic and the server is simply a web service for CRUD using DTOs [1]. I'm currently working on a product that has an anemic domain m...

How to show Enterprise Architect diagrams in Power Point in an appealing way?

I create my diagrams in Enterprise Architect. Sometimes I need to embed them in Power Point presentations but it does not look good in the UI as it would if I would write them there from scratch. Is there a way to do it nicely? Which tools would you recommend to manage a long persisting architecture and also present it nicely in present...

How can I plan my software to avoid excessive rewriting and interdependencies

I'm writing a motor controller that has a couple of interfaces (buttons, Bluetooth, haptic knobs) which is a task that is steadily growing to be a larger than I figured. I've tried to just go at it by starting with low-level modules (e.g. write code to talk on the I2C bus), then ones above that (code to talk to a particular device on th...

MVC Architecture

I know similar questions have been posted before, but I have specific requirements that make this as far as I can find unanswered. The project wants to have a typical 3-tier architecture, but they want the data layer to be abstracted by Entity Framework, the presentation layer to be MVC 2 and the application layer to be simple class lib...

Domain Driven Design in Performance Sensitive Platform (ex: mobile device)

Helo Guys, Currently I am looking to domain driven design and I hope You could give me some advice. Domain design seems a good thing since the business logic is implemented in the domain. It looks easier to be maintained once I have a good design. However I have problem to implement them in mobile application. This is a sample case. M...

How to recreate faulted WCF proxies stored within a presenter/controller?

Question regarding patterns involving Model-View-Presenter, IOC and WCF (although I imagine the same would apply to MVC): Working on a large-scale Windows Forms implementation using a MVP (Supervising Controller) pattern plus IOC, where Presenters get their dependencies injected. One common type of dependency is a WCF Client Proxy, crea...

Architecture that displays messages (like downtime) in application

I'm thinking of a architectural way of displaying messages in our application (Flex-Asp.NET-SqlServer), mostly messages that announce for instance a downtime. Currently I was thinking of creating a table FlexMessage that holds the name of a message (based on that name I now where to put in Flex) and the value (the message itself). As a ...