Tuesday 25 September 2012

Give a few general guidelines for component design


  • Apply the solid design principles
  • Design components to be highly cohesive - Do not add mixed and unrelated functionality 
  • Components should avoid internal details of other components to promote maintainable and adaptable code
  • Understand how components will communicate with each other
  • Keep crosscutting code abstracted from application specific logic - This refers to security, communications, and operational management such as logging and instrumentation
  • Apply the key principles of the component-based architectural style
    • Reusable
    • Replaceable
    • Extensible
    • Encapsulated
    • Independent
    • Not context specific

No comments:

Post a Comment