Silverstripe CMS: Difference between revisions
Added Object Oriented Design Section |
Added Stability and Code Quality section |
||
| Line 31: | Line 31: | ||
In addition, at least two confused [[Design Pattern]] implementation have been identified: the singleton() method, which is not an an implementation of the [[Singleton pattern]] (but more like a global [http://www.martinfowler.com/eaaCatalog/registry.html Registry]), and Object "decorators". These are not, as the SilverStripe documentation [http://doc.silverstripe.org/doku.php?id=dataobjectdecorator claims], an implementation of the [[Decorator pattern]]. | In addition, at least two confused [[Design Pattern]] implementation have been identified: the singleton() method, which is not an an implementation of the [[Singleton pattern]] (but more like a global [http://www.martinfowler.com/eaaCatalog/registry.html Registry]), and Object "decorators". These are not, as the SilverStripe documentation [http://doc.silverstripe.org/doku.php?id=dataobjectdecorator claims], an implementation of the [[Decorator pattern]]. | ||
== Stability and Code Quality == | |||
Aside from issues inherent to the design choices made by the SilverStripe, some confusion exist with SilverStripe developers over when something is stable. The ModelAdmin component, part of the SilverStripe core, went from [http://open.silverstripe.com/ticket/2912 alpha at SilverStripe 2.3 RC1] to being included in the "stable" 2.3 release, even though many issues still existed (such as lack of validation and issues with the search functionality), and tests for ModelAdmin were [http://open.silverstripe.com/changeset/63555 never completed]. | |||
The other prominent example is a component called "User Defined Form". While originally released as part of a stable SilverStripe version, it was later extracted as a separate module and [http://doc.silverstripe.com/doku.php?id=modules:userforms&s=user%20defined%20form considered] "beta quality code". | |||
== History == | == History == | ||