Difference between revisions of "Code Discussion 2009-05-25"

From MPDLMediaWiki
Jump to navigation Jump to search
m
Line 15: Line 15:
**User does not have to struggle with XML transformation and coreservice methods
**User does not have to struggle with XML transformation and coreservice methods
**Less code
**Less code
===Suggestions===
* Constructor for retrieving object?





Revision as of 11:39, 25 May 2009

Previous topic[edit]

Previous topic 2009-04-18

Intelligent Value Objects[edit]

Example: User Groups[edit]

  • Example class diagram for an intelligent UserGroup VO

Intelligent vo classes.png

  • VO contains standard getters and setters
  • Additionally: Static inner factory class for calling coreservice methods and processing XML transformations
  • Additionally: object methods that call the factory methods
    • Easier handling of VO objects
  • Advantages:
    • User does not have to struggle with XML transformation and coreservice methods
    • Less code

Suggestions[edit]

  • Constructor for retrieving object?



Next topic[edit]

Next topic 2009-06-08