application-architecture

What is the best practices on Android to keep data between activities deathes/restarts for the whole application session?

We're designing an Android app that has several activities which are working in a wizard like way - user should pass from the activity #1 to activity #5 to get to the final activity (#6). Since we know an activity can be suddenly terminated by OS on low memory we used Application class as a static storage for keeping the data the user i...

Best Small & Mid-Size Application Arcitecture

I am Developing a mid-size application and want to implement Application Architecture, I've read some Architecture Books and Approach and think about AAFN (Application Arcitecture For .net) presented by Microsoft SOA SDLM SDO MVC and vice versa ... this is a web application that will extended with some other small application ( j...

Advice on Application Architecture

I am about to build a system that will have its own engine, as well as a front end user interface. I would like to decouple these two as much as possible. The engine should be able to accept commands and data, be able to work on this data, and return some result. The jobs for the engine may be long, and the client should have the abil...

Windows Workflow Foundation in ASP.NET 3.5 Web Application - Best Approach

Hi, What is the best way to use Windows Workflow Foundation in ASP.NET 3.5 Web Application. In my case there are several workflows(sequential) which includes numerous steps, user has the privilege to save and exit at any of these steps; the state must be persisted, possibly in SQL Server. Exposing workflows as web service is good i...

Objective-C: Best way to store error messages

What's the best way to store error messages (specially while developing with Xcode and Objective-C for Mac and iPhone): Creating a separate class that contains list of error code and corresponding messages .plist of error code and corresponding messages Localizable.string file with error code and corresponding messages (the applicati...

Newb SQL question: Is there a "foreign key" equivalent for referencing columns, or is it logical to store column names as strings in another table?

Disclaimer: I'm an SQL newb, just discovering the great possibilities of sqlite embedded in applications. I'm designing a small database for an application that primarily handles data storage for plotting. Say I have several instrument data tables (one for each type of instrument) with a column for each data field, such as pressure, ...

How do you design, sketch, and blueprint a complicated piece of software? What are some workflows or tools that can be used to do so?

Hi, I have been programming for a couple of years and am now studying computer-science at university. Every time I have coded something, I did so by starting up my editor and improvise. Writing methods, classes as I go. Off course, I think about it beforehand, I take out sketch paper and write my ideas down, do a little list of things t...

Should CRUD operation go always thru a BO ?

I have an architecture wich goes like this Repository -> BO -> WCF -> Web and vica verse Repository <- BO <- WCF <- Web My question is, if I have just simple CRUD operation like just delete a record by its Id, would it be acceptable to skip the BO and go straight to the repository ? Repository <- WCF <- Web ...

General Architecture of an Application based on a CMS

Hi All, I have just started to work on a Java Based CMS and I am trying to figure out how would my application architecture look like. To elaborate a bit, I have developed JEE applications using Hibernate ans Spring and I am now used to thinking in terms of a Presentation Layer --> Business Layer --> Database Access Layer --> Data...

java Database framework comparison

Hi, I want to create an application that synchronize a database to multiple databases(various type of databases). I'm looking for a framework that suitable to do this. I was looking for something just get the Object of the data (like a resultset) then copy that object to the destination database. Or comparing between 2 data. Any idea...

How to handle 30k files in a project which requires them?

Visual Studio 2010 RC -> Silverlight Application We have a library of images that we need to have access to. They are given to us from a vendor (through an installer) and they are not in a database, they are files in a folder (a very large monster of a folder). We do not control when the images change, so the vendor needs to be able t...

Resources how to architect a iPhone application?

What resources can you recommend for learning how to architect a iPhone application? Background of the question is that most of the resources explain the usage of a single class or concept (and i appreciate that a lot to learn something about the specific topic) but as far as i can see they lack unfortunately to describe how to put thin...

What should "Solution Architecture" document describe ?

We're going to build a Solution which includes acquiring data through mobile phones(J2ME) and laptops(browser based data acquisition), uploading the same data to back-end servers(built with J2EE) and then analyzing the same data including generating various types of reports. This solution will include a CMS for building the website and v...

how design architecture of .NET CF WinForm?

I'm starting with .NET CF WinForm application and I have some experience with .NET WinForm. What is better for UI, form for each dialog or one form and changing user controls on that form? I'm asking for that, because screen on mobile devices are very small and I designed more then ten different screens for my application. ...

Need help in Architecture design in java

Can anyone help in architecture design of one of my complex application. Requirement : In web based application, we need to generate Excel kind of report as HTML page and after that we need to perform different kinds of operations like Add manual rows Delete rows Edit rows adding comments based on each cell viewing the added comments....

Where should I define Enums?

Hi: I'm setting up a new app, with a Repository layer/assembly, a Services layer/assembly, and a UI assembly. So I end up with namespaces such as: App.UI App.Biz.Services App.Data.Repositories And then I have enums for the args that are used by all 3 layers. Only place that makes sense is to put them in the Cross cutting assembly. (d...

Design question for windows application, best approach?

Hello, I am in the process of designing an application that will allow you to find pictures (screen shots) made from certain programs. I will provide the locations of a few of the program in the application itself to get the user started. I was wondering how I should go about adding new locations as the time goes on, my first thought w...

Visual Studio: Creating several projects in ONE solution?

Hello, consider a mvvm/wpf application, what advantage has it to do for example 3 projects (View, ViewModel, Model) in a visual studio solution? ...

Relay WCF Service

This is more of an architectural and security question than anything else. I'm trying to determine if a suggested architecture is necessary. Let me explain my configuration. We have a standard DMZ established that essentially has two firewalls. One that's external facing and the other that connects to the internal LAN. The following...

Database layout for trading/exchanging stuff

Hi, I'm building a prototype for a project where you are supposed to exchange stuff. How would you suggest I layout the database for the easiest query to match users with items they want to trade (I want to get rid of this/I want to get hold of that)? Thanks in advance! ...