Dr. Dobb's is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


Channels ▼
RSS

.NET

Lessons Learned


Plug-In Architecture

Early on we added code for plug-ins that extend the functionality of Micro Saint Sharp. Initially, we added this capability to include additional developers without having them step on each other's toes in the source-control database. But in the long run, it has been an asset that lets us have standard and premium versions of our application with just one set of binaries. It also has allowed tools to be created and shared with all the users of our tools.

We have developed plug-ins for animation (both 2D and 3D), importing and exporting data from Microsoft Visio, adding a human model to the simulation engine, interacting with Microsoft Excel, and optimization. Additionally, a number of our customers have written their own plug-ins to modify the simulation and add capabilities to their simulation models. The concept of developing plug-ins has also benefited the consulting side of our business. We can develop custom plug-ins that can be easily integrated with Micro Saint Sharp by adding the necessary DLLs to their application folder and launching the application.

Inheritable Forms

A common scenario for our company is a customer wants to have a custom tool based on Micro Saint Sharp. For example, a customer might want a personalized tool that simulates how a hospital operates. There are a number of inputs that might change in such a simulation—the number of doctors and nurses, for instance. In the old version of the software, we had a tedious way to create these custom tools, which often led to developers doing the same steps for each project over and over, increasing the likelihood of errors. In addition, there was no way for bug fixes or enhancements to get added into the custom tools we developed. With the new version, there is a base form that developers can extend to add or subtract functionality from Micro Saint Sharp.

The base form works by letting you make a custom tool by creating a form that extends either the simulation engine or graph-drawing form. They can make extensive changes to the GUI of Micro Saint Sharp or the functionality of the simulation engine.

Thanks to this new form, we save several weeks of developer time for every custom tool project. Now developers can spend more time adding functionality to their applications, which lets us provide better service to our clients.


Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.