[eluser]Randy Casburn[/eluser]
[quote author="mambe churchill nanje" date="1215702631"][snip]... I realised Enterprise Architect didnt support MVC. or maybe it does, can you please help on that.... [snip]
[/quote]
Hello Mambe,
If I may make an analogy, this is somewhat like saying neither PHP nor CodeIgniter support user authentication. It is true that PHP has no pre-built authentication system native to the language, and CI has no pre-built authentication system native to the framework. These are available because someone needed them and built them to meet their specific needs.
Now with EA it is true there is no pre-built MVC design pattern. But much like a scripting language, programming language, or MVC framework, the tool is designed for you to build whatever you need to meet your specific requirements.
As an example, I've included two models that I created in about 15 minutes with EA. They are not completely accurate, but they are close. You'll notice references to CI_this or that. That's because I've used EA to import the entire CI library. So I have the entire class structure for CI available to me inside EA. To refer to a CI class, it is simply a drag and drop operation.
The first model is a simple MVC Design Pattern in a model. It represents what you've indicated doesn't exist inside EA. It does, if you put it there.
The second model is a more complicated model. It represents MVC with the repeated questions within this forum of the type "how do I call a model from a model" or "how do I call a controller from a controller". Done properly, these answers require an interface class, written once to address a many2many situation. I'm not sure the model is quite right because I really have not taken the time to think it through. But you'll see EA will support whatever you desire.
[I'll send the second image in another post]
I hope this is helpful.
Randy