• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to use UML to model a Plug-in?

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was asked this question in an interview this morning. I yabbered a bit about a sequence diagram, but does anyone here have a better answer?
 
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm not sure what the question is getting at. "Plugin" refers to some abstract idea. The most I can get out of the question is that "plugins" should be interchangeable and therefore would extend from some abstract class or all realize some interface. At that point your UML model is pretty simple. But as I said, it all depends on the definition of "plugin."
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am with Nathaniel here - I wouldn't have known what the interviewer is getting at. Therefore, I would have asked questions - what does he mean by the term "plugin", which aspects does he want to highlight etc. I might even say something along the lines that I am not sure and had to look into my copy of "UML distilled".
After all, my job is solving problems effectively, not memorizing every little detail about all possible techniques...
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i would start off with asking him for the exact requirements for the plugin.
Then do a simple domain model identifying the real-life elements involved, like for eg. the browser, etc.
Then do an interaction diagram that identifes how the plugin should interface with different systems, followed by a class level design for the plugin components.
Then ofcourse develop the use cases, the collaboration diagrams and sequence diagrams from within a tool like ROSE.
i guess what he meant by the question was to see if we could walk through the entire steps necessary for solving the plugin creation problem.
 
Ranch Hand
Posts: 1934
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Onlything I can think of is plugin pattern for Eclipse. Yes Eclipse does consider plugin as a architectural pattern.
This link gives more details about it
 
I hired a bunch of ninjas. The fridge is empty, but I can't find them to tell them the mission.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic