modeling

Can we draw sequence diagrams if we don't have classes in a program?

I have a program I made in C++ that does not use classes, just simply functions and main(). I want to know what kind of diagrams I can draw for it. Here are a couple of things I have in mind. Activity diagram Sequence diagram class diagram - obviously can't draw this because I didn't use classes system architecture state diagrams use ...

Ruby model with an array as an attribute

Hello, I am currently trying t implement a model to simplify graphical chart creation. However, one of the attributes must be an array of attributes. For example: "Chart_Series" has a "name" which would be a string and a data field which would be separated by dates which is an array of arrays [[Date1, Value1],[Date2,Value2],[Date3,Value...

modeling a "one-to-one" relation in a database is the same than modeling "inheritance"?

Hi, i was wondering if there's a difference between modeling a one-to-one relation and a inheritance relation (Table-Per-Type) In both cases we add a foreing key with a UNIQUE constraint, or somethimes the FK is part of the PK It seems to me that the table structure is the same, but maybe i'm missing something. Thanks in advance. ...

Get existing or create new App Engine Syntax

I came across this syntax browsing through code for examples. From its surrounding code, it looked like would a) get the entity with the given keyname or b) if the entity did not exist, create a new entity that could be saved. Assume my model class is called MyModel. my_model = MyModel(key_name='mymodelkeyname', kwa...

What's the difference between Data Modelling and Domain Modelling?

By the way - with reference to data modelling I'm referring to logical or conceptual data models - not physical ones. The question came up during a discussion at work; naturally I leapt to Wikipedia to get some basic definitions in place - hoping that they might clarify the difference - but they didn't... A conceptual schema or conc...

DDD modeling, interaction between aggregate roots

Marked my aggregate roots with 1;2;3. Looks quite nice - almost like grapes. Thing I dislike is an entity that's marked with red arrow. Let's imagine that: AR #1 is company AR #2 is office AR #3 is employee Entity marked with red arrow is named Country Company sets the rules from which countries it hires employees (on hiring...

Persisting Event Listener Pattern

I have implemented the event listener pattern in PHP, and setup a test case to validate that it is working within a single call to a URL. I'd like to be able to persist this state between calls while avoiding setup/teardown of all of the events within the application. I'm hoping that by persisting the state, when an event is fired, the ...

How can I do modeling in reverse by parsing a C program and turning it in to a circuit diagram to be displayed.

How can I do modeling in reverse by parsing a C program and turning it in to a circuit diagram to be displayed. Example Except this is psedocode. ...

Tools to create interactive system diagrams?

I am looking for a tool that would not only allow me to create a system diagram but also allow me to give it some "brains". For instance, lets say I have 2 main parts of a system depicted by 2 blocks. I want to simulate what would happen if one of the parts went out so I right click on one of the boxes and select terminate. The box th...

Does visual studio 2010 unlimited modeling project do reverse engineering?

Does visual studio 2010 unlimited modeling project do reverse engineering? How about code generation from the UML models? I am playing around with it and it makes beautiful UML class diagram but I can't find any options to create code templates based on them. ...

Microsoft modeling language?

I remember reading about a modeling language developed by Microsoft as a UML alternative, and it wasn't 'M' or 'Oslo'. Can anybody tell me the name? ...

In an activity diagram, are there two initiating events allowed?

Hello, I want to model an activity, where there can be two several initiating events. These events has two several responsible actors. Is it allowed that a UML activity-diagram could have two initiating events and only one end? Could the action-flow be joined? I want to know if I defy against the UML-modeling principles, if I do this. ...

What should my ASP.NET MVC Controllers represent - "real world" application.

I have an established web application built as an ASP.NET 3.5 Web App. We recently modified it to mix MVC into the app for some new functionality. Now that it's in there, we want to leverage MVC wherever possible to begin to "transform" the app from clunky webforms to a more maintainable and testable MVC app. The question that just cam...

Solution finder algorithm based on answers to a given questionnaire

Consider the following scenario: Potential customers are presented with a questionnaire where they can select none, one or multiple answers for every question. An automated algorithm should recommend the optimal solution based on the customers' answers. Example: There are 3 possible solutions S1, S2, S3 The questionnaire contains 1...

Modeling business procces, which techniques are there?

I'm not sure if this is the right place to ask this question but here goes. I'm currently looking into some different techniques to model a business proces. I need to find a suitable option for my company which develops all kind of web applications. What i have found so far: UML, specificly the activity diagrams Flow charts Windows ...

Modeling a complex Ads application

Greetings, I'm looking for some more experienced insights into my current problem; a short description: The setup and a simplified model. The goal of the web application is to provide a platform for posting, searching and reacting on ads. The ads themselves fall into roughly 3 large categories: Real estate Cars Various (basically a...

Could you pls comment before we start our mobile+server project?

Hello All, We are a team of four CS undergrad seniors developing a mobile app (+ the web-based servicing architecture ofcourse) with the following intentions: (1) Its our Degree Project (Thus comes, UML Modeling, Documented Testing & other specification reports) (2) Our chance to learn & solve issues ranging from UI, data mining, AI, TO ...

What's the best language for physics modeling?

I've been out of the modeling biz, so to speak, for a while now. When I was in college, most of the models I worked with were written in FORTRAN, which I never liked. I'm looking to get back into science, so I'm wondering if there are modern languages with feature sets suited for this kind of application. What would you consider to be an...

Evaluating the performance of a software architecture?

I'm looking for tools that help me evaluate the performance of a software architecture. For this specific project I need to model a [distributed] system of a modest size that is comparable to message oriented middleware (MOM). Based on a model I'd like to measure the system's performance under certain circumstances. Also, the tool(s) ...

Algorithms needed on filtering the noise caused by the vibration

For example you measure the data coming from some device, it can be a mass of the object moving on the bridge. Because it is moving the mass will give data which will vibrate in some amplitude depending on the mass of the object. Bigger the mass - bigger the vibrations. Are there any methods for filtering such kind of noise from that dat...