A user account is required in order to edit this wiki, but we've had to disable public user registrations due to spam.
To request an account, ask an autoconfirmed user on Chat (such as one of these permanent autoconfirmed members).
Component Model Methodology: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
# Come with a design that satisfies all desired properties; | # Come with a design that satisfies all desired properties; | ||
# Extrude [[Component_Model#Building_Blocks | building blocks]] out of the design; | # Extrude [[Component_Model#Building_Blocks | building blocks]] out of the design; | ||
# Write [https://github.com/dglazkov/component-model specification] draft(s) for the building blocks; | |||
# Cultivate implementation feedback: | |||
#* Provide experimental implementation(s) for the building blocks; | |||
#* Seek feedback from the use case audiences; | |||
#* Incorporate feedback into specification. | |||
# Write a test suite. | |||
# Iterate until [[#Success_Criteria | success criteria]] is reached. | # Iterate until [[#Success_Criteria | success criteria]] is reached. | ||
Line 17: | Line 23: | ||
** satisfy all desired properties; | ** satisfy all desired properties; | ||
** follow the component model [[#Design_Priniciples | design principles]]. | ** follow the component model [[#Design_Priniciples | design principles]]. | ||
* The specification: | |||
** is a complete set of requirements for all building blocks and corner cases, discovered during implementation; | |||
* The test suite: | |||
** provides coverage for each requirement in the specification. | |||
=Design Principles= | =Design Principles= |
Latest revision as of 17:35, 23 August 2011
Here are the guidelines for understanding the problem of and developing specification for the Component Model.
Approach
- Capture requirements as use cases;
- Study use cases and extract a set of desired properties for these use cases;
- Come with a design that satisfies all desired properties;
- Extrude building blocks out of the design;
- Write specification draft(s) for the building blocks;
- Cultivate implementation feedback:
- Provide experimental implementation(s) for the building blocks;
- Seek feedback from the use case audiences;
- Incorporate feedback into specification.
- Write a test suite.
- Iterate until success criteria is reached.
Success criteria
- The use cases:
- reasonably cover a set of component model needs on the Web.
- The properties:
- completely describe the set of use cases;
- are orthogonal to each other.
- The building blocks:
- satisfy all desired properties;
- follow the component model design principles.
- The specification:
- is a complete set of requirements for all building blocks and corner cases, discovered during implementation;
- The test suite:
- provides coverage for each requirement in the specification.
Design Principles
- Reuse existing mechanisms as much as possible, gently extending them if necessary;
- Study popular patterns in existing Web frameworks and pave the cowpaths when appropriate;
- Encourage each building block to stand on its own merits.