modeling

How to create pages with different permissions' views

你说的曾经没有我的故事 提交于 2019-12-07 02:44:31
I need some help to create pages with different views. Don't get me wrong, I don't want anyone to write code for me, I just want to know what I'll need to implement. I'll detail what I need: Ex: Facebook page. If I'm at my profile's page I have one type of view, I can edit all my data, see even not set data and add more information. If I'm visiting a friend's page I can only see what he wants me to and interact with his pages as far as he allowed me. Ex2: One user posted info on some blog. He and all the people with privileges can edit that info, the other can only read and post comments as

How to model a (Java) Enum in a Database (with SQL92)

Deadly 提交于 2019-12-06 14:00:03
Hi am modelling an Entity with a column named "Gender". In the application code, the gender is supposed to be an (Java) Enum type, with 2 values (MALE and FEMALE).. how would you model it, knowing that Enums as Datatype are not part of the generic SQL (language) 92. It the data model would have to be portable, in order to be used by several DBMS (Mysql, Oracle, Derby) and several persistence provider (JPA, Hibernate, JDBC). I feel, it hits at 2 levels: - first the level of the Schema and the entity (store the enums as -VAR-CHAR or INT) - second the level of the app code (JDBC doesn't support

Software structure versus Software architecture [closed]

a 夏天 提交于 2019-12-06 08:46:33
Closed . This question needs to be more focused . It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post . Closed 5 years ago . I can't get the precise differences between software structure and software architecture A simple example explains the precise differences would be very appreciated BTW,I use UML for representing architecture Software architecture and Software structure overlap between them. Software architecture is a set of important aspects and decisions in relation to a software system (simply

How to categorized the UML diagrams based on priorities/ levels?

蓝咒 提交于 2019-12-06 06:16:44
I am new to UML. I have studied more tutorials.I learned two broad categories like, UML Diagrams: 1. Structural Diagrams Class diagram Object diagram Component diagram Deployment diagram 2. Behavioral Diagrams Use case diagram Sequence diagram Collaboration diagram Statechart diagram Activity diagram But I dont know which one is high level design and low design. Anyone list out the UML diagram types based on priorities. (high-level diagrams to low level) There is not really a well-defined order of higher-level versus lower-level diagram languages in UML. The same diagram language (e.g. class

Do experienced programmers still use flowcharts to work out the order of operations, or do they do it in their heads? [closed]

你说的曾经没有我的故事 提交于 2019-12-06 06:14:06
Closed. This question is off-topic . It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . Is this a legit tool or is it a crutch that I will eventually grow out of needing? Update : By order of operations, I mean: launch app read prefs calculate value from prefs write prefs to file... Right now, I draw diagrams at the method level as well as the app level when I'm having trouble visualizing the program flow. I use flowcharts all the time to map out orders of operations. If you mean "order of

Enterprise architect shows weird symbol. What does it mean?

萝らか妹 提交于 2019-12-05 19:19:52
sometimes a red triangle appears over some (not all!) of my requirement artifacts that I have constructed before starting more detailed UML work and development. I have no idea what causes it or what it is meant to express. What's more, I cannot get rid of it. ;) As far as I know this has nothing to do with the UML or SysML specification - or does it? Can anyone explain? Thanks :) It has nothing to do with UML or SySML. What is says is that someone bookmarked the element. You may have done so by accident by pressing shift-spacebar. If you search the help file for "Manage Bookmarks" you will

Three.js - Scale model with scale.set() or increase model size?

a 夏天 提交于 2019-12-05 11:33:24
问题 What is the best practise for scaling 3d models in Three.js (or other 3d renderers)? Here is an example I just faced: I load a model in and realise the size of the model is too small. I then scale the mesh using mesh.scale.set(2,2,2); and it is perfect size. What action should I take in this scenario, do I leave it scaled like that (programatically scaled) or do I go back to my 3d modelling software and double the size of the model? Thanks 回答1: It is not a matter of best practice but rather

Keyboard friendly light weight UML modeling tool? [closed]

时间秒杀一切 提交于 2019-12-05 06:06:45
Closed. This question is off-topic . It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I'm looking for a free UML tool that runs on Windows and lets me create simple diagrams very fast, with as little mouse fiddling as possible. I have no need for code generation or fancy stuff, just UML style boxes with arrows. What I would like is something that for example lets me add a new class with a keyboard shortcut and lets me enter the name without having to double click the added class or something like

How do I import a SysML model (in XMI format) to Papyrus?

牧云@^-^@ 提交于 2019-12-04 23:42:09
问题 I have an XMI 2.1 formatted SysML model, exported from Enterprise Architect. I'm evaluating Papyrus as an alternate model IDE. I'd like to import my XMI file into Papyrus, including all structural and behavioral blocks. Here's what I've tried: Create a new Papyrus project. Right-click on project, select Import, and browse to my XMI file. However, this just includes the XMI file in the Papyrus project. If I open it, I see the model elements as XML. Does Papyrus support importing XMI, and if so

Is there a visual diagram format for gui event mapping?

僤鯓⒐⒋嵵緔 提交于 2019-12-04 17:39:54
Does anyone know of any kind of UML variation which can map events in a GUI system? I have a quite complex event driven GUI system and I would like to create a diagram so new developers can easily get an overview of events fired by various views and what models/controllers or view are instantiated/effected by these events. I was looking for something that would look more like a mind map which branches all over the place rather than linear scenarios. Does anyone have any ideas? Regards, Chris State diagrams. Old and pricey, but here is a great text on modeling user interfaces with state charts.