Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Should the GUI be written to handle a large number of records?  RSS feed

 
Paula Decker
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Although the database we downloaded contains a small number of records, should we plan on handling the possibility of > 500 records being returned? For example, in the real world if the user leaves the criteria fields blank and retrieves all of the records, should we limit this?

Thanks.

 
Omar Kalaldeh
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Paula,

I don't think you should put any limits, and according to the business requiremnt came with assignment I don't think number of records will reache 500, in fact many of my design issues were built accordding to this fact.

any way, in the assignment they have said you should show all search results in a table, so whether its 10 records or 100 records your handling will be the same, or you will violate an assignment requiremnt(a MUST).
 
Paula Decker
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Omar. Sounds good.
 
Sean Gildea
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Omar,

I dont recall anywhere in the URLyBird 1.2.2 spec that says I MUST not specify limits on number of records returned.

To be on the safe side of losing points though, I agree that it should be dynamically driven.
 
Omar Kalaldeh
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sean Gildea:
Omar,

I dont recall anywhere in the URLyBird 1.2.2 spec that says I MUST not specify limits on number of records returned.

To be on the safe side of losing points though, I agree that it should be dynamically driven.

Hi Sean,
when I mentioned the MUST I was referring to the assignment instruction
It must present search results in a JTable
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!