architecture

How to resolve communication between my WPF application and a hosted IExplorer?

Hi, For a rather large project i have to figure out how (if possible) to resolve this problem. I have a full screen WPF application doing a slideshow - following an interval of e.g. 20 secs per slide. Now I have to investigate into the possibility of replacing the slideshow with a URL instead and have the user navigate the slides instead...

The need of at least one state of the art project

  I want to talk to one of my current employers about the need of having, at least one state of the art project, keeping in mind that this company have some very bad projects, bad when you think about the archtecture, bad in usability, bad when you think about code's elegance.   I would love some opinions, as although he's a great guy an...

Mid-Tier Help Needed

Hello All, In one sentence, what i ultimately need to know is how to share objects between mid-tier functions w/ out requiring the application tier to to pass the data model objects. I'm working on building a mid-tier layer in our current environment for the company I am working for. Currently we are using primarily .NET for programmi...

DTOs and interfaces

I recently ran across this pattern(?) in our code and wondering how it is useful, if at all. We have a Spring app and a Flex front-end using BlazeDS. It was decided that we use interfaces on our DTOs, like so: Java public interface ISomeDTO { Integer setId(); void getId(Integer i); } public class SomeDTO implements IS...

Application architecture for Codeigniter - multiple domain, single codebase, multiple databases

I've developed a website with the idea of using a single codebase for multiple sites each with their own DB. Currently one is live, with many (up to 100) to follow. My question is about the ideal, best-practice way of managing this kind of architecture (not necessarily the easiest or most realistic, but the ideal from which I can work b...

How are instructions dispatched to devices in a computer?

This is my mental image of what happens and I am hoping for some corrections, clarifications and maybe even more details. Basically, when the computer is powered on, the BIOS loads all devices on the PCI bus and makes them available at a certain pre-determined addresses. The same occurs with the PCI-express bus. So each device can rece...

What are changes in the application would create a new tier?

Its all about N-Tier architecture. In my web application I had an requirement to use JSON in a page.So I introduced one tier called as DTO. So My question is is it right or wrong. what are the similar changes that would introduce more tiers to an application ...

WCF contract for Field level update

I'm developing an application that does some CRUD operations through a WCF service. The read method returns a complete entity, the update is performed through a legacy system, and only the changed values should be updated. What is the best way to design the data contract for this scenario without simply sending a dictionary of key-value...

zend models architecture

Let's say I have two tables in a database: projects and users. I create two models, that extend Zend_Db_Table_Abstract: Model_DbTable_Users and Model_DbTable_Projects. Now, is it a good pattern to create an instance of Model_DbTable_Projects inside the Model_DbTable_Users class ? In other words: is it OK to put any logic in this model, ...

DTOs : Several DTO (and Assemblers) for the same resource

Hi, I often need, depending on cases, of several DTOs for a same resource. Take the example of photo Albums. Depending of what i want to display, i'll need different data into my DTOs (creation thru a form, list, details, etc.). I will have an albumFormDTO to create an album, an albumDTO collection for a list of albums, and an albumDe...

Help designing my own rough DataContext

Hi All I've done a bit of Linq programming with TDD ASP.Net MVC and loved it. Digressing, I'm now learning webforms against stored procs and cannot use linq. I would like to retain some of the loose coupling and testability enjoyed with MVC. I didn't have the time to learn and setup a dependency injection infrastructure so instead ...

Agents in minority games: inheritance hierarchy, pluggable behaviour through interfaces or some pattern?

I'm currently building a library to allow a wide variety of different minority games to be simulated. This involves agents choosing between two choices, say, A and B so the primary functionality of an agent is to choose. An agent wins a point for a turn in the game if it ends up in the minority group after all agents have chosen. There ...

x86 assembly on x64 operating systems

Hello Recently i decided that it was worth getting a try on basic x86 assembly so that it would be easier to debug programs, etc, etc. So I started (about a week ago) learning x86 assembly, in that time, I upgraded my computer to 8GB ram, so obviusly my x86 Windows XP installation was wasting up all that memory, now, I'm running a x64 W...

Design question: Dynamically changing GUI -> sending implementation classes as soap attachments.

Here's a scenario: I have a java front end (RCP/SWT) app which currently has no authentication support. I have to however, add security to this application so that it gets deployed in different enterprise envinronments. I have a few approaches which I thought I would share with you all here and take your inputs. Please note that there a...

Pattern to build a large hierarchy of objects

I have a problem that involves a relatively large object hierarchy as follows: game has one community manager community manager has one network network has many players network has many friendships player has one strategy manager player has one memory player has one neighbourhood neighbourhood has many players strategy manager has many...

Using webservices to connect front-end and back-end, a good idea?

This project runs the front-end web server on one JVM and the back-end on another. In order for the web to call any biz-logic methods in the back-end, it has to make that call over web services (JAX-WS). I can understand that for parts of the application that will need to integrate with other systems, distributing a service through the ...

Flash MMO for facebook Architecture

Can someone please help in the architecture of the social multiplayer browser game with flash. I would thankful if there is detailed process for developing these games and guidance. thanks in advance ...

What is the best architecture for tracking field changes on objects?

We have a web application that is built on top of a SQL database. Several different types of objects can have comments added to them, and some of these objects need field-level tracking, similar to how field changes are tracked on most issue-tracking systems (such as status, assignment, priority). We'd like to show who the change is by,...

Large-scale jQuery Architecture

I do a lot of work on large-scale ecommerce systems. Our backend-code and html are fairly compartmentalized into large chunks based on functionality for the major sections of the system - product (browse, detail), account, checkout, etc. There are section-specific files for JS, but they are currently being concatenated and minified into ...

Component Development with PHP ?

Edit: The question concerns 100% web development only. Please do not relate the question to desktop development. Please read the entire question before responding. I am certainly interested if there is currently any interest in developing PHP applications in a more desktop-like fashion. I mean something like the classic WebForms impleme...