Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Paging for search results & other clarifications

 
Sathya Sankar
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I need a few clarifications:
1. Should paging for search results be provided or is it ok to display all the results of the search in ascroll pane?
2. Can class hierarchy of Data class be changed? I'd like to draw out all the public methods of the Data class into an interface and make Data implement that interface. This way, I could have a RemoteData that also implements the interface providing all the public methods of the Data class. The RemoteData class is the data abstraction for remote clients.
3. The instructions for JCD states that "Your user interface should be designed with the expectation of future functionality enhancements, and it should establish a control scheme that will support this with minimal disruption to the users when this occurs".
What is meant by this?
Thanks.
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11865
194
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi gsatsan,
Welcome to JavaRanch. We don't have many rules, but one we do have is that you must have both a first name and a last name in your displayed name. This is specified in the JavaRanch naming policy. Please change your displayed name so that you have both a first and last name. You may change your displayed name here.
1. Should paging for search results be provided or is it ok to display all the results of the search in ascroll pane?

A scroll pane should be fine. I used one and got 100% for my GUI.
2. Can class hierarchy of Data class be changed? I'd like to draw out all the public methods of the Data class into an interface and make Data implement that interface. This way, I could have a RemoteData that also implements the interface providing all the public methods of the Data class. The RemoteData class is the data abstraction for remote clients.

I assume you are talking about FBNS since this doesnt apply to the other assignments.
I think that any changes to the Data class which might break an existing client would be wrong.
However since Data class does not currently extend or implement any explicit classes, adding your own interface will not break anything. So I think that this is OK.
The caveat is the statement that the provided classes are complete (with the exception of specific changes we have to make). Given that the classes are complete, I think we really should try to avoid any changes to them. You may have a valid reason for making your modification, so as long as it is well documented, you should be OK.
Note that adding new exceptions to the methods provided in Data class would, in my opinion, be very wrong, as this could break existing clients.
3. The instructions for JCD states that "Your user interface should be designed with the expectation of future functionality enhancements, and it should establish a control scheme that will support this with minimal disruption to the users when this occurs".
What is meant by this?

Take a look at this recent topic: FBN: Creating the user interface
Regards, Andrew
[ September 08, 2003: Message edited by: Andrew Monkhouse ]
 
Sathya Sankar
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Andrew - Thanks for the clarification. And I've changed my display name too
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11865
194
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Excellent, thankyou.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic