anyone implemented the browsing of a catalog? how?
From: Lisa Kim (lisa.kim_at_stanford.edu)
Date: 01/16/04
- Next message: Donald Roby: "Re: OOA?"
- Previous message: Ken: "Re: Do Postconditions Include External State Changes?"
- Next in thread: H. S. Lahman: "Re: anyone implemented the browsing of a catalog? how?"
- Reply: H. S. Lahman: "Re: anyone implemented the browsing of a catalog? how?"
- Reply: AndyW: "Re: anyone implemented the browsing of a catalog? how?"
- Reply: Topmind: "Re: anyone implemented the browsing of a catalog? how?"
- Reply: Mikito Harakiri: "Re: anyone implemented the browsing of a catalog? how?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 16 Jan 2004 03:14:25 GMT
Imagine an Amazon-style catalog of products.
Imagine many different ways to view those products:
- searching the entire catalog for "potter"
- searching just books for "potter"
- browsing top-selling children's books
- browsing Oprah's recommendations or editor's picks
- browsing newest releases
- etc...
What are the classes here? I'm stumped on this, and been thinking of it
for a week, so I had to just ask the comp.object folks.
Same products, viewed many different ways. I can't tell if each different
way is just an instance of the View class, or if each different way is its
own class, inheriting from a Query class.
Catalog class?
A "Subset" class with many methods like topSellingChildrens(),
OprahRecommendations()?
A "SearchResult" class, where even a "browse" is just considered a search?
"Query" class that has all of these lookups stored in SQL, that connects
directly to a Database class?
Anyone have any good open-source projects to recommend studying - that
solved this problem already?
Is there a Pattern for this kind of thing?
Thanks for any advice.
- Next message: Donald Roby: "Re: OOA?"
- Previous message: Ken: "Re: Do Postconditions Include External State Changes?"
- Next in thread: H. S. Lahman: "Re: anyone implemented the browsing of a catalog? how?"
- Reply: H. S. Lahman: "Re: anyone implemented the browsing of a catalog? how?"
- Reply: AndyW: "Re: anyone implemented the browsing of a catalog? how?"
- Reply: Topmind: "Re: anyone implemented the browsing of a catalog? how?"
- Reply: Mikito Harakiri: "Re: anyone implemented the browsing of a catalog? how?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|