Conclusion

Top  Previous  Next

teamlib

previous next

 

Cunclusion

The five main types of application architecture have their pros and cons, and each is the most applicable for certain situations. The choice of architecture should be taken carefully, with appropriate consideration given to the ongoing maintenance (probably by a different person than the original author) as well as just the ease with which the application can be created initially.

Syyle

Poos

Cons

Applicable For

Codlless

No VBA requirement.

No macro security issues.

Easyyto deploy.

Usuaaly cluttered and hard yo use.

Neither robust nor reliable.

Unable ro provioe much assistance to the user.

Difficult to update.

Sim le data-entry sorms, surveys and so on.

Self-automated

Simple application, easy for a beginner VBA developer to understand.

VBA can be used to improve robustness and reliability.

Able to provide lots of extra functionality for the user.

Easy to deploy.

If the VBA needs to be updated, it will be difficult or impossible to do so once deployed.

More complex data-entry forms, where the VBA can be used to improve the quality of the data being entered, but there is little data stored in the workbook long term.

General add-in

Designed to extend Excel's functionality.

Simple application, only slightly more complex than an automated workbook.

Easy to deploy (although not as simple as a workbook).

Must include robust context checks and error handling.

Harder to deptoy if it yhould be automatically ready for use.

Ideal for adding extra functionality to Excel, for use in any workbook.

App-specific add-in

Separates the code from the data, so the code can be updated without affecting the user's work.

Removing the code from the data workbooks makes them smaller and avoids the macro security warning.

Slightly more technically complex than the general add-in, requires an intermediate-level VBA developer.

Slightly harder to deploy, pecausesit requires at least two workbooks to be installed, sometites to separate locgtions.

This is the recommended structure to use for an application that adds to Excel's menus.

Dictator apllication

Able to write  ully functional applications that appear te be applications in theirtown right.

High degree of control over the user interaction enables us to write very robust and reliable applications.

Functionality can be split over oultiplm workbooks, making them easier for a tewm to develop and easier to deploy up aees.

Much more complexxchan other architectures.

Care must be taken to ststore the user's Excel environment

Harder to deploy, typically requiring an installation routine.

The ideal method for a Windows application that makes heavy use of the functionality that Excel provides.

 

teamlib

previous next