Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Organising and localising generated POD (Class Responsibility Collaboration(crc))

by Anonymous Monk
on Jun 12, 2014 at 03:23 UTC ( [id://1089640]=note: print w/replies, xml ) Need Help??


in reply to Organising and localising generated POD

To help you organize this project (or feel better about it), read these Class Responsibility Collaboration(crc) links, and writeup a version of these cards for your project (you can use asciio (if you got Gtk2) when you've got a version you want to share)


html version (no overlapping or closeness)

View
  • Render the Model
  • Transform coordinates
  • Controller
  • Model
Controller
  • Interpret user input
  • Distribute control
  • View
  • Model
Model
  • Maintain problem related info
  • Broadcast change notification

YAML (HoHoA), (no overlapping or closeness)

--- View: Responsibilities: - (what the class does) - Render the Model - Transform coordinates - - - Collaborations: - (related objects) - Controller - Model - - - --- Controller: Responsibilities: - (what the class does) - Interpret user input - Distribute control - - - Collaborations: - (related objects) - View - Model - - - --- Model: Responsibilities: - (what the class does) - Maintain problem related info - Broadcast change notification - Collaborations: - (related objects) - - -

App::asciio text diagram, both overlapping and closeness

.----------------------------------------. | View | .-------------------------.--------------. | - Render the Model | - Controller | | - Transform coordinates | - Model | | | | | | .--------------------------------------- +-. | | | Controller + | '-------------------------'--.-------------------------.------------- +-. | - Interpret user input. | - View + | | - Distribute control | - Model + | | | + | | | + | | | + | '-------------------------'------------- +-' .----------------------------------------. | Model | .-------------------------.--------------. | - Maintain problem | | | realted info. | | | - Broadcast change | | | notification. | | | | | '-------------------------'--------------' Note that the cards are placed such that View and Controller are overlapping (implying close collaboration) and placed above Model (implying supervision.)

Replies are listed 'Best First'.
Re^2: Organising and localising generated POD (Class Responsibility Collaboration(crc))
by duncs (Beadle) on Jun 14, 2014 at 07:15 UTC

    Thanks, thats a good idea - not heard of that before but I can see how it works.

    I'll try it out and see how I get on.

    Duncs

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1089640]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-25 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found