design

Air app rendering under windows bottom gap ?

Greetings, Hi have this super simple Air app code Winxp Flexbuilder Flex 3.4 <?xml version="1.0" encoding="utf-8"?> <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:ViewStack id="viewStates" height="100%" width="100%" borderStyle="solid" borderThickness="2" borderColor="red"> <mx:Canva...

Xml schema to separate 'data' from 'preferences'

I'm designing an XML document to store some data, that can also have some settings/customisation on it set by a user. I'd like to keep the data stuff that the system defines separate from the customisation by the user. Apalling example: <example> <data> <fruit name="apple" maxCount="20" /> </data> <settings> <fruit name=...

Purpose of final and sealed

Why would anyone want to mark a class as final or sealed? ...

WPF making templates for editing

Hi, Im building a small digital signage system to run on internal machines. I would like to provide the editors (non tech people) with some template to choose the layout from. Something in the line of: It should be easy for me to maintain the templates and to create a new template i.e. just create the XAMl markup. Any ideas on how t...

DDD Modeling question

Hi, I have these two structures in my domain: Exercise (with subjects, solution, difficulty ext.) and Subject which has a name and a father subject. Subject is defined by its attributes so in that sense it's a value object, However even if my current data store has nothing associated with a particular subject, that subject existence sti...

Does MS Visio support sequence diagram?

Does MS Visio support sequence diagram? ...

Fixed Width, Large Data Problem

I'm currently designing a web application which may be viewed by people in all kinds of resolutions 1024..1920 or even larger resolutions. I've opted for a fixed-width design (as many other popular websites are, e.g. StackOverflow, CNN, Mint, WSJ, BofA etc.) with the lowest common denominator fitting in, meaning 1024. Now a problem is...

Sharing my Paint Brush Application over a network

I have made a very basic paint brush application in java. I want to enhance this application to be shared across users on the internet so that we can simultaneously share the instance and work collaboratively on the paint screen. [i got this idea form the doodle work env in yahoo messenger] I am not sure if this would be acheived by ne...

What is the basic idea behind Plugins?

Wether you call it Addons, Plugins or extra peices of code that is connected with the original software later, it really doesn't matter. I would love to understand how they work, there has to be a simple explanation of how to design a Plugin System. Unfortunately, I never understood it, and there remains a lot of open question in my mind...

How best to create custom fields per user/customer?

Hi all, I've got an application which is sold as a SAAS to multiple customers. Predictably, sometimes customers want to customise some areas of the application by adding their own fields, specifically the area relating to Action/Project tracking. We allow a small amount of this currently. It is handled by storing the names of additional...

Database design for tags and URL

I'm building simple application for myself in JSP which stores URL for me and finds it based on tags. For which i want to design a database. I'm limited with my knowledge of SQL. But still i want to learn by doing. I want to create database that stores tags for the URL and the URL itself. The URL could be text(50) or more in a table co...

Some kind of Data persistency

Hi to all, Basically what I need to know is this: I have to show a drop down list of countries to my users each country also has a code associated to it. I will have to work with both the country and the code What would be the best approach: -We (the dev.) are thinking about a table in our app database with this data, or XML file. -O...

Transform source file to different format for target system

Hi, I need to design a system which will process hundreds of source files (different format fixed width and delimited files) and convert to one target files. There should be two interfaces one is command line other web user interface? Command line interface to run the transform job though batch and web user interface to define the fo...

Guidelines for designing HTML for easy CSS customization

I am doing a Saas project, and we want each customer to be able to upload a css page for "his" web site. (Although actually, all of the customer's sites are hosted by us using virtual hosting). What are good guidelines when designing the html of a page so that css can be applied a posteriori. ...

What is the most elegant and efficient way to model a game object hierarchy? (design bothers)

I've got the following code, think simple shooter in c++: // world.hpp //---------- class Enemy; class Bullet; class Player; struct World { // has-a collision map // has-a list of Enemies // has-a list of Bullets // has-a pointer to a player }; // object.hpp //----------- #include "world.hpp" struct Object { virtual ~Object...

Designing a flexible user repository

Hi all, I'm trying to design and build a flexible user repository (as an extension to Zend Framework) that I can easily drop in new projects. What I have in mind are the following classes: UserRepository UserRepository_Adapter_Interface UserRepository_Adapter_DbTable implements UserRepository_Adapter_Interface UserRepository_Adapter_T...

Do you employ any tools for managing technical debt?

The site I work with on a day-to-day basis has its share of shortcomings and we often make design decisions to "get us by right now" with the intention of fixing those up later. I've found that making the time to actually go back and fix them, let alone remembering what the full list of to-do items is can be challenging at best. Can yo...

Particle System Design ?

Hello, I'm designing my own particle System engine, this is for learning purposes, I don't really want to use an existing engine. Right now I generated beautiful particles, but I want to layout the engine to make it easier to work with them. I have been thinking on a Class "Particle System", that class would contain the following refe...

Why are controls within custom panel (C# winforms) disappearing in designer?

I have been able to create a custom C# winforms control that is basically a panel with a fixed banner (header/footer). I want to base other user controls on this "banner panel". I've gotten past the problem with the designer here. I can successfully add controls to the inner content panel. Everything looks fine while designing. Howe...

Software Design is Trial and Error Approach, how true is this statement?

Dear Stackoverflow Readers, Please comment your votes on how true is following statement: "Software Design is Trial and Error Approach" Regards, Rachel ...