Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Sunshine

Pages: 1 ... 4 5 [6] 7 8 ... 34
76
General Board / Re: MVC
« on: December 31, 2016, 06:37:18 am »
Remember patterns are ideas of how to do things that have consequences and that you often have to mix and match or modify in various circumstances. Your problem may be the same as what Martin is suggesting so a fat model may be valid. On the other hand you may have different circumstances in which case MVC plus something else may be a better choice. Don't know what your problem is so can't provide advice however, I've found Martin Fowler to be one of the pioneers of thinking in patterns and have a number of his books. This particular book was one of my favourites and is worth getting a copy to gain a more comprehensive understanding of enterprise application patterns. Suggest you get a copy and read it to gain a better understanding.
http://www.martinfowler.com/books/eaa.html

By the way referring to an earlier post on this thread, Martin Fowler retired the  MVP pattern some time ago.
http://martinfowler.com/eaaDev/ModelViewPresenter.html

Another useful link for a more comprehensive list of patterns can be found here
http://martinfowler.com/articles/enterprisePatterns.html

Don't think of MVC being split into layers M, V and C that isn't correct. In an n-tiered system all MVC objects belong in the UI layer. The business layer would have the business logic and the data layer would have the storage.

Hope that helps

77
General Board / Re: MVC
« on: December 29, 2016, 05:56:23 am »
Martin Fowler has written some good stuff on patterns and the UI architecture patterns can be found here
http://martinfowler.com/eaaDev/uiArchs.html

78
Yes if you import the Visio BPMN diagram in as UML activity you can then create a JScript or VBScript in Sparx EA to translate the UML object type to BPMN object type and stereotype.
Do a search on the forum and you'll find some code examples;
Here are some I've posted in the past
http://sparxsystems.com/forums/smf/index.php/topic,31109.msg225449.html#msg225449
http://sparxsystems.com/forums/smf/index.php/topic,30653.msg223132.html#msg223132
Just change the Conversions array at the top to do your mappings from UML activity to BPMN
Code: [Select]
Conversions[0] = new TypeConversion("Class", "ArchiMate_Requirement", "Class", "Requirement");Where
TypeConversion parameters are sourceObject, sourceStereotype, targetObject, targetStereotype
Add more conversions in the array to deal with events, activities, gateways etc.
Code: [Select]
Conversions[1] = new TypeConversion("Class", "ArchiMate_Actor", "Actor", "Actor");
You could always write some SQL too which would be faster to execute.

79
General Board / Re: Roadmap Options
« on: October 07, 2016, 03:29:33 pm »
You could try creating a diagram the with roadmap options as desired then export  as XMI and use the MDG wizard to create a new diagram with all the roadmap options enabled.
I couldn't see anything in the help about settings on the diagram stereotype that would enable the roadmap options for the MDG.

80
General Board / Re: Performance of Sparx EA under Linux Wine
« on: September 15, 2016, 10:44:38 am »
Used Sparx on Mac OS (BSD Linux) on WINE and seems to work fine. Only things I found that didn't quite work
Colour picker couldn't pick colours. This has been reported to sparx
When using a secondary monitor it wouldn't show. Think this is a problem with WINE.
Other than that all good.

81
Uml Process / Re: CSV export with notes
« on: September 12, 2016, 09:56:38 am »
Not sure if it will address your problem but there is an Office MDG you could try the export facility to excel in that. You can down load a trial version to see if works for you.

82
General Board / Re: DDL change scripts
« on: September 08, 2016, 07:42:26 pm »
The Database Builder does support synchronizing the DBMS structure with change scripts. I suggest you have a look at the example in the whitepaper and webinar covering the Database Builder:
http://community.sparxsystems.com/white-papers/933-introduction-to-the-database-builder
http://www.sparxsystems.com/resources/webinar/database-engineering/database-builder-intro/database-engineering-in-enterprise-architect.html
Thanks for bringing that to our attention. Didn't know it existed.

83
Uml Process / Re: Specification Manager
« on: September 07, 2016, 07:52:19 am »
Quote
If you are using EA version 13, then tagged values can be added as follows:
Ahh V13 we are all waiting for it with its new UI and features but its taking a bit of time to get out of beta aye?

84
FYI - %APPDATA% is in a hidden folder so to see it you need to tick the "hidden items" in Windows file explorer and that is why you had trouble locating it.

85
General Board / Re: DDL change scripts
« on: September 07, 2016, 07:31:41 am »
As mentioned Sparx only generates DDL for the whole database not changes. However what you could do is use that to create a new database then use one of many tools out there to compare the two databases and create change scripts to apply to the first database.

I know other tools like Sparx provide that capability so you might like to put a feature request in to Sparx Systems and if your lucky they might implement it some time in the future. Doesn't help you immediately I know but would help others in the future.   

86
General Board / Re: Link element to continue on another diagram
« on: September 07, 2016, 07:22:38 am »
Here is a thought and common pattern used for managing large amounts of classes. You group them into domains, subject areas or what ever you want to call them.
If you put each diagram in a package with the elements for that domain. You can create a parent package that allows you to drill down to the domains by putting all the packages (domains) on to the parent package.
In each domain diagram you can add hyperlinks to the other diagrams so you can navigate between them. The hyperlink can be created by dragging the target diagram in the browser on to the diagram canvas or via the toolbox in  the common partition and navigating to the diagram.

So the pattern is something like  this
Parent Package
   Parent Diagram with domain packages to drill down
   Domain Xpackage
      Domain X Diagram
      Class A
      Class B
      etc
   Domain Y package
     Domain Y Diagram
     Class C
     Class D
     etc

In your diagram of Domain X it shows relationships to other domain classes which you can distinguish via some means like colour or using a boundary.
    Class A -> Class B -> Class C [Next to Class C you put a hyper link to Domain Y Diagram showing the other relationships to Class C]


87
General Board / Re: Visualizing element complexity
« on: September 07, 2016, 07:04:03 am »
Or the easy way is just add a diagram legend and use auto legend to set up a colour for each value of complexity value.
See the V12.1 user guide for example using priority [just change that to complexity]
http://www.sparxsystems.com/enterprise_architect_user_guide/12.1/building_models/diagram_legends.html

The dialog box is showing here describing all the settings
http://www.sparxsystems.com/enterprise_architect_user_guide/12.1/building_models/add_a_legend.html

Couldn't be easier  ;)

88
General Board / Re: Sparx Cloud - User Access
« on: September 07, 2016, 06:52:58 am »
So you want single sign on with multiple organisations? Here is a thought but untested. As each organisation will have its own active directory and user base you'll find it difficult however not impossible. You should look into setting up federated Active Directory in Azure and pushing the user credentials up into Azure AD from each organisation. You should then set up the Sparx EA Cloud service and database to use the Azure AD. This way  you might  have a chance of succeeding with single sign on by using a single AD source.
There will probably be some challenges as each organisation will have its AD user base set up with different groups and processes and policies so managing these across different enterprises could be the biggest challenge.

Good luck and do let us know if you were successful.

89
Uml Process / Re: Specification Manager
« on: September 04, 2016, 06:44:16 am »
Quote
Next question can you save the specification manager view as a diagram?
No but check out the following
a) model views in the dashboard diagram although the items in the list will be read only.
b) view all items on diagram and view diagram as list - no tag values though.

90
General Board / Re: Round trip XSD. Updating Previous Import
« on: August 31, 2016, 11:03:59 am »
Oops didn't read that post too carefully did I? XSD vs XMI duh!

Thinking about that further I guess with the XSD not having Sparx EA GUIDs in it you could only match the elements by name. If the names change then it makes it rather difficult.  You need a way of matching up elements to merge the updates into the existing model.
If the names didn't change you could match the names and use some sql using a left or right outer join to merge the two sets of data after you imported them. using eap file you could use MS Access to write the SQL to merge.

Other than that don't have a lot of ideas without further info.



Pages: 1 ... 4 5 [6] 7 8 ... 34