modelling

Problem with EER specialization

Hi folks :) I made this case: One "entity" can be a "corporation" or an "individual" but this same "entity" can be also a "customer" or a "supplier" I don't know how to make an EER model, but i tried this: img199.imageshack.us/img199/923/eerg.png And the physical model: img704.imageshack.us/img704/2861/modelb.png So gu...

Comparison of GAMS versus AMPL Algebraic Modelling Languages

I'd be interested in getting the opinion from users of GAMS and AMPL on what the strength and weaknesses of each these languages are. ...

Visual modelling of permissions

I have come into the habit of hand-sketching various diagrams for software I create. My software is mostly for the web. I use E-R diagramming for the data logic (model of MVC) , and a personally invented diagram style for the interactions -- what pages lead to which other ones and what do they do, i.e. the views & controllers of MVC. Th...

Data modeling of interdependent hierarchies

I'm trying to make a sales report based on the following: DColor IdColor ColorPalette ColorName 21 Vibrant Blue 22 Nature Brown 23 Vibrant Red 24 Nature Black 25 Vibrant Yellow ... ... ... DFurniture IdFurniture FurnitureType FurnitureName 43 ...

Should a Scheduler be an actor in a use case diagram

Lets say a scheduler which is part of the system is responsible for sending weekly emails to users. Should the "scheduler" be treated as an actor or should this modeled as a use case? Guidelines for choosing actors say: If: its an actual person interacting with your system. If "Yes" its an Actor Else: Is it something you can change with...

How should I model associations between classes.

I am modelling the domain model in my application. Obviously, some of the object relationships are assocations, but those associations also have attributes. For example: Foo can have one-to-many Bars. However, the association has attributes, such as a date range for how long that association is valid. So, the way I have done this is...

Modelling problem - Networked devices with commands

I encountered a head scratching modelling problem today: We are modelling a physical control system composed of Devices and NetworkDevices. Any example of a Device is a TV. An example of a NetworkDevice is an IR transceiver with Ethernet connection. As you can see, to be able to control the TV over the internet we must connect the Devi...

Implementing Domain Driven Design

Is anyone using the techniques from Domain Driven Design? I've recently read the Eric Evans book of the same name (well, most of it!) and would be interested to hear from anyone who's implemented all/some of it in a project (particularly in C#/C++) I've kept this question open ended as I'd like to see as many comments as possible, but I...

GUI designers! - got suggestions for a GUI modelling diagram language?

Refering to this question I asked a while ago: UI functionality modeling languages It looks like there is no good-enough solution. I decided to develop one. (and prepare a set of elements for DIA or something) I'm sure it will require a good insight in peoples' experiences and problems in designing functionally complicated GUIs. I've...

How to convert EER to SQL Table?

I have no problem with converting ER to SQL tables, but I don't know how can I convert EER to SQL tables? as you Know that EER has "is a" specification and inheritance, but I don't know how relational databases can connect with inheritance specification ...

Can we count Processing as Environment for Mathematical Modelling and Programming?

Can we count Processing as Environment for Mathematical Modelling and Programming? And If yes can we do the same for Eclipse (Java)? ...

strategies for learning complex software packages

I am a fairly novice Java programmer and I am currently working on a project to extend a piece of software that has been developed over a few years. So it has pretty big code base and the previous developers knew it well, so extending it is not going to be easy without a thorough understanding of the structure and function. 1) I had beg...

Example where Up-Front Design (Would have) Saved You Time

In various places I've seen the claim that by designing a system up-front, you can significantly reduce development time. I.e. by spending an hour designing you can save a week coding. My problem is that I have never seen a situation where I found this to be true. So I want to know of any examples out there that people have where this wo...

Composition in Grails: addTo* in Constructors

I have the following simplified model in Grails: A DataBlock consists of a number of sorted ConfigPreset objects. In ConfigPreset I have static belongsTo = [dataBlock: DataBlock] and the DataBlock class contains: List presets static hasMany = [presets: ConfigPreset] DataBlock() { addToPresets(new ConfigPreset()) } The over...

Modelling database entites using text only

Back in the day, there was a standard that I was taught a standard for modelling database entities using text only, I can't remember the name of the standard but it looked somehing like TableName, Key, Column Anybody know what that form was called? ...

Should I use Enumeration or Class stereotype in UML to represent a type directory table?

Let's take 2 UML class model entities: One represents an actual Order and another represents an Orede Type. Any Order corresponds to one Type. A 2-way-naviglabe many Orders to one Type relation is meant. Order Type instances are, for example, "Request availability", "Request price", "Preorder", "Buy", "Cancel", "Request support", etc. O...

How should I start playing with 3D ?

I'm a developer for just about 6 months now, and since I enjoy programming I've started little programs such as encripters, calculators, tools, stuff to play with DropBox (hehe), stuff that play with bitmaps, drawing graphics, and even a program to update the MSN display image according to the artwork of the music you're listening yo on...

Good "Modelling & Simulation" book recommendations for programmers?

I'm a programmer, and have completely forgotten all the advanced engineering Math I studied ~20 years ago at school. I now have an urgent need to learn about Modelling and Simulation. Though the present context is Disease Modelling, I'm not sure if there's such a thing as 'general' modelling and simulation... with concepts / techniques /...

DJANGO complex modelling

Hello. I have such model now: receipt contains components. component contain product. The difference between component and product is, that component has quantity and measure unit: eg. component is 100g sugar - sugar is a product. So I need to make lots of components to satisfy different recipes - 100g sugar is not equal 200g sugar ...

Enterprise Architect Vs IBM InfoSphere Data Architect

We are primarily going to model databases (mostly sql,db2) for our SOA intiative applications organisation wide. Let me know the highlights between choosing either of this tool and the recommendations out of your expereinces Aspects we see like 1. Repository 2. Integration with VS, TFS. 3. Collaboration 4. UML, code generation capabili...