Changes between Version 3 and Version 4 of Bookmarks Project


Ignore:
Timestamp:
06/04/15 22:40:12 (9 years ago)
Author:
peter
Comment:

updated class diagram with more relationships and info in the classes

Legend:

Unmodified
Added
Removed
Modified
  • Bookmarks Project

    v3 v4  
    1616{{{#!plantuml 
    1717@startuml 
    18 class Bookmark { 
     18class Bookmark <<model>> { 
    1919+id 
    2020+uri 
     
    2626+exists 
    2727+collection: Bookmarks 
     28+TO_JSON() 
     29+update() 
    2830} 
    2931class Bookmarks { 
    3032+dbh 
    3133+base_uri 
     34+search() : Bookmarks::Search 
    3235} 
    33 class Bookmarks::List { 
     36class Bookmarks::List <<representation>> { 
    3437+bookmarks: Bookmarks 
    3538+search: Bookmarks::Search 
    36 +results 
    3739+title 
    3840} 
    39 class Bookmarks::Search { 
     41class Bookmarks::Search <<model>> { 
    4042+query 
    4143+tags 
    4244+limit 
    4345+offset 
     46+results 
    4447} 
    4548class Bookmarks::Controller { 
     49+dbname 
     50+bookmarks : Bookmarks 
     51+base_uri : URI 
     52+request : Plack::Request 
    4653} 
    4754class BookmarksApp { 
    4855} 
    4956 
    50 Bookmarks::List o- Bookmarks : bookmarks > 
    51 Bookmarks::List o- Bookmarks::Search : search > 
     57Bookmarks <- Bookmarks::List : bookmarks 
     58Bookmarks::List --> Bookmarks::Search : search 
    5259Bookmark - Bookmarks : collection > 
     60Bookmarks::Controller ..> Bookmarks::List 
     61Bookmarks::Controller --> Bookmarks : bookmarks 
     62BookmarksApp .> Bookmarks::Controller 
    5363 
    5464@enduml