architecture

Architecture: Pipelining concepts

Learning architecture and assembly language Can someone please explain in plain english what this is suppose to do? First one: Pipeline register containing source instruction: EX/MEM Opcode of Source instruction: Register-register ALU Pipeline register containing destination instruction: ID/EX Opcode of destination instruction: Regist...

Pre-generation of resource representation

The assumptions that I have are - Representations have a definition which have its last modified date. E.g., Script that generates a JSON representation of a resource has when the script has been last modified. Resource's persistent storage does not have any storage limitation Now the situation is that I have Resources for which thei...

Sun Certified Enterprise Architect Exam Crash Course

I decided to test the theory that work expands to fill the time given and give myself as little time as feasible to complete my preparation for this exam. My appointment is in exactly one week and I started preparing yesterday. I have a lot of experience designing web-centric applications but not that much in the way of EJB. My goal is t...

Qt Flowchart Application Architecture

I want to build a flowcharting application in Qt to get some practice modeling GUI applications. All it has are draggable boxes and circles that can be connected with straight lines. As this is my first GUI application, I am unsure how one typically designs such a project. Here are my two designs. 1) Build a bunch of model classes (Bo...

Reusing Monotouch code in Monodroid app

Hi, I'm currently implementing a Monotouch application that will eventually be ported to Monodroid. The application is just a client to an OData Web service. Nothing too fancy or performance critical. The challenge is to reuse as much code as possible. I'm aware that the UI APIs for Monotouch and Monodroid are quite different, but I'm...

Methods of reducing URL size?

Hello... So, we have a very large and complex website that requires a lot of state information to be placed in the URL. Most of the time, this is just peachy and the app works well. However, there are (an increasing number of) instances where the URL length gets reaaaaallllly long. This causes huge problems in IE because of the URL l...

Mips Architecture Pipelining forwarding

Mips Architecture Pipeline fowarding: Out of ten instructions, I don't understand these two Can someone explain? First one: Pipeline register containing source instruction: EX/MEM Opcode of Source instruction: Register-register ALU Pipeline register containing destination instruction: ID/EX Opcode of destination instruction: Register...

architectural design

I am designing an Invoice Management system... Its an intranet system. I am writing technical specification document. The document has description of architecture. So my architecture has 3 layers.. 1. Database layer. 2. Business Logic layer. 2. User Interface Layer. Do I need to include another layer "Intranet/internet layer" in between...

Tips or Guidelines on Designing and Building J2ME Applications

Are there guidelines or tips on designing and building J2ME applications? ...

Observable tree - which events would expect?

I have a custom tree data class, following the standard Composite pattern. I obviously don't want the GUI and the model to be too closely tied, so the GUI should be an Observer of the model, and changes should be done through the model layer. I'm implementing observable support using C# events - so far, so good, and I have a working syst...

Serve static content in a web server and dynamic content in tomcat is still a good performance practice?

In old versions of tomcat (like 3.2) you can find the recomendation to serve static content in a apache web server and leave the dynamic content to the tomcat itself. At the new versions of the tomcat docs you cannot find any reference to this practice even at the mod_jk configuration tutorial. So I am wondering. Is still true that tom...

Change the T4 POCO Entity Framework Template to inherit from my base class.

I'm trying to create a solution with layered architecture and self tracking entities. I used the Entity Framework C# POCO Entity Generator i download from Extensions Online Gallery. I separated the context.tt with the entities.tt on they're own class libraries. Mapped the entities.tt to the Model. Now i need to make these classes inherit...

Abusing domain driven design

How can people abuse of Domain Driven Design ? too much too little information in the domain, what would you consider an abuse? In your design experience did you run into any situation that you considered that the design is just too much ? -Ken ...

DAL/BLL and Client/Server: Should the client use BLL or DAL objects for presentation? Or maybe another layer (data transfer object?).

Hi, I'm writing a client/server system. The server has a DAL/BLL design. The client is responsible for presenting the data objects and providing dialogs and wizard to allow the user to update these objects (i.e. adding/editing a user). Initially I thought I'll just make the DAL objects have a universal data provider object so they can...

Is setting properties on the Window object considered bad practice?

I'm writing a quite complex JavaScript application that has an MVC architecture that I'm implementing using Prototype's Class support and the Module pattern. The application uses AJAX and the Observer pattern. I create my controller instance when the DOM has loaded, pass it a view and some models created from JSON data and away it goes. ...

What is the best practice to create an ASP.NET portal and modules?

Recently, our development team was approached by a representative from one of the departments at our institution looking for a web based solution to help out with their workflow. A few weeks later, another person from that department approached us concerning another solution for a completely different workflow process. Then after that .....

Good practices for building web application that can later have and mobile(Android/iPhone) version

Hi, can you advice me a book or something else containing good practices about how to build/structure a web application in a way that will be easy to extend it with an Android/iPhone version later. I am currently trying to get into Django so it will be nice if the practices are related to it, but every hint will be appreciated. ...

Opting for a messaging system over web services such as SOAP

I'm working on a project at the moment that involves building a system in conjunction with another technical partner. The system will provide "monitoring" type functionality and operations will be long running with numerous "events" being returned and processed / returned to the user. My initial reaction was to build a web service that...

DAL: Is it ok to incapsulate several data sources access in one module?

Application I develop requires several data sources (2 RDBMS and one file storage) to operate. I'm going to incapsulate datasources with DAL library & Business Logic layer. Would you personally create several DAL libraries (each per data source) and cooperate several DAL instances in Business Logic Layer or create monolith DAL library,...

ASP.NET MVC 2 Architecture and LINQ data model

I am creating my very first larger ASP.NET MVC application. After thinking about the application architecture for some time, I thought I would hear some other opinions. I am using LINQ-SQL for my data layer. However, I am not planning on using the LINQ objects throughout the application, since I would like some more specific data types ...