I think what Brian means is rather than:
var bookmarkManager = Browser.getBookmarkManager();
can't your client code just use (psudocode)
bookmarkManager = createObject("bookmarkManager");
bookmarkManager.doSomething();
ie forget using Browser when you need to do all this BookmarkManager stuff
Sorry Brian if I'm misrepresenting you!
Alan
________________________________
From: Henry <[email protected]>
To: CFCDev <[email protected]>
Sent: Tuesday, February 17, 2009 10:27:23 PM
Subject: [CFCDEV] Re: OO question, how should I model this?
On Feb 17, 2:22 pm, Brian Kotek <[email protected]> wrote:
> First, if the client code needs to do all these things to bookmarks, why
> can't it just interact with BookmarkManager directoy? Why does it have to go
> through the Browser object?
I guess u meant interact with BookmarkManager "directly"?
Wouldn't that be Solution1?
var bookmarkManager = Browser.getBookmarkManager();
Then the View can call all public methods of BookmarkManager without
going through Browser...
Regards,
Henry Ho
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CFCDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cfcdev?hl=en
-~----------~----~----~----~------~----~------~--~---